From 7f8f8a78fd019b69e518b6858bca312acc9bf159 Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Tue, 29 Sep 2020 10:02:22 -0700 Subject: [PATCH 01/28] Add communication service preparer --- .../tests/communication_service_preparer.py | 96 +++++++++++++++++++ .../test_communicatoin_identity_client.py | 58 +++++++---- 2 files changed, 133 insertions(+), 21 deletions(-) create mode 100644 sdk/communication/azure-communication-administration/tests/communication_service_preparer.py diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py new file mode 100644 index 000000000000..c1818cac9fad --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py @@ -0,0 +1,96 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import datetime +from os.path import dirname, realpath +import time + +try: + from unittest.mock import Mock +except ImportError: # python < 3.3 + from mock import Mock + +import json +import requests + +from devtools_testutils import AzureMgmtPreparer, ResourceGroupPreparer +from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM +from azure_devtools.scenario_tests.exceptions import AzureTestError +from azure.mgmt.communication import CommunicationServiceManagementClient + +class CommunicationResourceGroupPreparer(ResourceGroupPreparer): + def create_resource(self, name, **kwargs): + result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) + if self.is_live and self._need_creation: + expiry = datetime.datetime.now() + datetime.timedelta(days=1) + resource_group_params = dict(tags={'DeleteAfter': expiry.isoformat()}, location=self.location) + self.client.resource_groups.create_or_update(name, resource_group_params) + return result + +class CommunicationServicePreparer(AzureMgmtPreparer): + def __init__( + self, + schema=None, + name_prefix="communication", + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, + playback_fake_resource=None, + client_kwargs=None, + ): + super(CommunicationServicePreparer, self).__init__( + name_prefix, + random_name_length=24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs, + ) + self.resource_group_parameter_name = resource_group_parameter_name + self.schema = schema + self.index_name = None + self.service_name = "TEST-SERVICE-NAME" + + def _get_resource_group(self, **kwargs): + try: + return kwargs[self.resource_group_parameter_name] + except KeyError: + template = ( + "To create a communication service a resource group is required. Please add " + "decorator @{} in front of this preparer." + ) + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + + def create_resource(self, name, **kwargs): + if self.schema: + schema = json.loads(self.schema) + else: + schema = None + self.service_name = self.create_random_name() + self.endpoint = "https://{}.communication.azure.com".format(self.service_name) + + if not self.is_live: + return { + "api_key": "api-key", + } + + group_name = self._get_resource_group(**kwargs).name + + self.mgmt_client = self.create_mgmt_client(CommunicationServiceManagementClient, connection_verify=False) + + resource = self.mgmt_client.communication_service.begin_create_or_update( + group_name, self.service_name + ) + + api_key = resource + + return { + "api_key": api_key, + } + + def remove_resource(self, name, **kwargs): + if not self.is_live: + return + + group_name = self._get_resource_group(**kwargs).name + self.mgmt_client.services.delete(group_name, self.service_name) \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py index 3849c4c36e08..4248e7c468d7 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py @@ -11,45 +11,61 @@ CommunicationTestCase, BodyReplacerProcessor ) +from communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer +from devtools_testutils import AzureMgmtTestCase, ResourceGroupPreparer + class CommunicationIdentityClientTest(CommunicationTestCase): + def setUp(self): super(CommunicationIdentityClientTest, self).setUp() self.recording_processors.extend([ BodyReplacerProcessor(keys=["id", "token"]), URIIdentityReplacer()]) - self.identity_client = CommunicationIdentityClient.from_connection_string( - self.connection_str) @pytest.mark.live_test_only - def test_create_user(self): + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + def test_create_user(self, api_key): + print(api_key) + #print(api_key) + #raise Exception("fuck this shit") + self.identity_client = CommunicationIdentityClient.from_connection_string( + self.connection_str) user = self.identity_client.create_user() assert user.identifier is not None - @pytest.mark.live_test_only - def test_issue_token(self): - user = self.identity_client.create_user() + # # @pytest.mark.live_test_only + # @pytest.mark.skip + # def test_issue_token(self): + # user = self.identity_client.create_user() - token_response = self.identity_client.issue_token(user, scopes=["chat"]) + # token_response = self.identity_client.issue_token(user, scopes=["chat"]) - assert user.identifier is not None - assert token_response.token is not None + # assert user.identifier is not None + # assert token_response.token is not None - @pytest.mark.live_test_only - def test_revoke_tokens(self): - user = self.identity_client.create_user() + # # @pytest.mark.live_test_only + # @pytest.mark.skip + # def test_revoke_tokens(self): + # user = self.identity_client.create_user() - token_response = self.identity_client.issue_token(user, scopes=["chat"]) - self.identity_client.revoke_tokens(user) + # token_response = self.identity_client.issue_token(user, scopes=["chat"]) + # self.identity_client.revoke_tokens(user) - assert user.identifier is not None - assert token_response.token is not None + # assert user.identifier is not None + # assert token_response.token is not None - @pytest.mark.live_test_only - def test_delete_user(self): - user = self.identity_client.create_user() + # # @pytest.mark.live_test_only + # @pytest.mark.skip + # def test_delete_user(self): + # user = self.identity_client.create_user() - self.identity_client.delete_user(user) + # self.identity_client.delete_user(user) - assert user.identifier is not None + # assert user.identifier is not None + +if __name__ == "__main__": + import unittest + unittest.main() \ No newline at end of file From ac3295bce955dcb265a44e224ce4f0392ada0f2b Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Wed, 30 Sep 2020 11:59:32 -0700 Subject: [PATCH 02/28] Refactor dynamic resource creation testing code --- .../tests/communication_service_preparer.py | 58 ++++++++--------- .../test_communicatoin_identity_client.py | 62 ++++++++++--------- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py index c1818cac9fad..ef220829111b 100644 --- a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py @@ -4,23 +4,17 @@ # ------------------------------------ import datetime -from os.path import dirname, realpath -import time - -try: - from unittest.mock import Mock -except ImportError: # python < 3.3 - from mock import Mock - -import json -import requests +from azure.mgmt.communication import CommunicationServiceManagementClient +from azure.mgmt.communication.models import CommunicationServiceResource from devtools_testutils import AzureMgmtPreparer, ResourceGroupPreparer from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM from azure_devtools.scenario_tests.exceptions import AzureTestError -from azure.mgmt.communication import CommunicationServiceManagementClient class CommunicationResourceGroupPreparer(ResourceGroupPreparer): + """Communication Service Resource Group Preparer. + Creating and removing test resource groups on demand + """ def create_resource(self, name, **kwargs): result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) if self.is_live and self._need_creation: @@ -30,14 +24,16 @@ def create_resource(self, name, **kwargs): return result class CommunicationServicePreparer(AzureMgmtPreparer): + """Communication Service Preparer. + Creating and destroying test resources on demand + """ def __init__( - self, - schema=None, - name_prefix="communication", - resource_group_parameter_name=RESOURCE_GROUP_PARAM, - disable_recording=True, - playback_fake_resource=None, - client_kwargs=None, + self, + name_prefix="communication", + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, + playback_fake_resource=None, + client_kwargs=None, ): super(CommunicationServicePreparer, self).__init__( name_prefix, @@ -47,9 +43,8 @@ def __init__( client_kwargs=client_kwargs, ) self.resource_group_parameter_name = resource_group_parameter_name - self.schema = schema - self.index_name = None self.service_name = "TEST-SERVICE-NAME" + self.mgmt_client = None def _get_resource_group(self, **kwargs): try: @@ -62,30 +57,29 @@ def _get_resource_group(self, **kwargs): raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) def create_resource(self, name, **kwargs): - if self.schema: - schema = json.loads(self.schema) - else: - schema = None self.service_name = self.create_random_name() - self.endpoint = "https://{}.communication.azure.com".format(self.service_name) if not self.is_live: return { - "api_key": "api-key", + "connection_string": "connection_string", } group_name = self._get_resource_group(**kwargs).name - self.mgmt_client = self.create_mgmt_client(CommunicationServiceManagementClient, connection_verify=False) + self.mgmt_client = self.create_mgmt_client(CommunicationServiceManagementClient) resource = self.mgmt_client.communication_service.begin_create_or_update( - group_name, self.service_name - ) + group_name, + self.service_name, + CommunicationServiceResource(location="global", data_location="UnitedStates") + ).result() - api_key = resource + primary_connection_string = self.mgmt_client.communication_service.list_keys( + group_name, + resource.name).primary_connection_string return { - "api_key": api_key, + "connection_string": primary_connection_string, } def remove_resource(self, name, **kwargs): @@ -93,4 +87,4 @@ def remove_resource(self, name, **kwargs): return group_name = self._get_resource_group(**kwargs).name - self.mgmt_client.services.delete(group_name, self.service_name) \ No newline at end of file + self.mgmt_client.communication_service.begin_delete(group_name, self.service_name).wait() diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py index 4248e7c468d7..6e8fc5ea3b61 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py @@ -26,45 +26,51 @@ def setUp(self): @pytest.mark.live_test_only @CommunicationResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() - def test_create_user(self, api_key): - print(api_key) - #print(api_key) - #raise Exception("fuck this shit") - self.identity_client = CommunicationIdentityClient.from_connection_string( - self.connection_str) - user = self.identity_client.create_user() + def test_create_user(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string( + connection_string) + user = identity_client.create_user() assert user.identifier is not None - # # @pytest.mark.live_test_only - # @pytest.mark.skip - # def test_issue_token(self): - # user = self.identity_client.create_user() + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + def test_issue_token(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string( + connection_string) + user = identity_client.create_user() - # token_response = self.identity_client.issue_token(user, scopes=["chat"]) + token_response = identity_client.issue_token(user, scopes=["chat"]) - # assert user.identifier is not None - # assert token_response.token is not None + assert user.identifier is not None + assert token_response.token is not None - # # @pytest.mark.live_test_only - # @pytest.mark.skip - # def test_revoke_tokens(self): - # user = self.identity_client.create_user() + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + def test_revoke_tokens(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string( + connection_string) + user = identity_client.create_user() - # token_response = self.identity_client.issue_token(user, scopes=["chat"]) - # self.identity_client.revoke_tokens(user) + token_response = identity_client.issue_token(user, scopes=["chat"]) + identity_client.revoke_tokens(user) - # assert user.identifier is not None - # assert token_response.token is not None + assert user.identifier is not None + assert token_response.token is not None - # # @pytest.mark.live_test_only - # @pytest.mark.skip - # def test_delete_user(self): - # user = self.identity_client.create_user() + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + def test_delete_user(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string( + connection_string) + user = identity_client.create_user() - # self.identity_client.delete_user(user) + identity_client.delete_user(user) - # assert user.identifier is not None + assert user.identifier is not None if __name__ == "__main__": import unittest From 711b9838ee6c55775139a7a201a66056e91e824c Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Thu, 1 Oct 2020 11:54:37 -0700 Subject: [PATCH 03/28] Remove setup method of base test class --- .../tests/_shared/testcase.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/_shared/testcase.py b/sdk/communication/azure-communication-administration/tests/_shared/testcase.py index 2c60f4078f06..f53f6fbe7ce6 100644 --- a/sdk/communication/azure-communication-administration/tests/_shared/testcase.py +++ b/sdk/communication/azure-communication-administration/tests/_shared/testcase.py @@ -4,10 +4,8 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -import os import re from devtools_testutils import AzureTestCase -from azure.communication.administration._shared.utils import parse_connection_str from azure_devtools.scenario_tests import RecordingProcessor, ReplayableTest from azure_devtools.scenario_tests.utilities import is_text_payload @@ -68,15 +66,4 @@ class CommunicationTestCase(AzureTestCase): FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['x-azure-ref', 'x-ms-content-sha256', 'location'] def __init__(self, method_name, *args, **kwargs): - super(CommunicationTestCase, self).__init__(method_name, *args, **kwargs) - - def setUp(self): - super(CommunicationTestCase, self).setUp() - - if self.is_playback(): - self.connection_str = "endpoint=https://sanitized/;accesskey=fake===" - else: - self.connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') - endpoint, _ = parse_connection_str(self.connection_str) - self._resource_name = endpoint.split(".")[0] - self.scrubber.register_name_pair(self._resource_name, "sanitized") + super(CommunicationTestCase, self).__init__(method_name, *args, **kwargs) \ No newline at end of file From 0a4843446d494eee64106e408b4c1cb896ab0c89 Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Thu, 1 Oct 2020 11:55:47 -0700 Subject: [PATCH 04/28] Change fake conn str to valid format --- .../tests/communication_service_preparer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py index ef220829111b..3b48fc0a500c 100644 --- a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py @@ -61,7 +61,7 @@ def create_resource(self, name, **kwargs): if not self.is_live: return { - "connection_string": "connection_string", + "connection_string": "endpoint=https://communication27bb151c.communication.azure.com/;accesskey=fake===", } group_name = self._get_resource_group(**kwargs).name From cb2e0fc51a89742bc482b59ebef97987c42149d2 Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Thu, 1 Oct 2020 11:56:03 -0700 Subject: [PATCH 05/28] Remove unused import --- .../tests/test_communicatoin_identity_client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py index 6e8fc5ea3b61..c4cd4453e4f3 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py @@ -12,8 +12,6 @@ BodyReplacerProcessor ) from communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer -from devtools_testutils import AzureMgmtTestCase, ResourceGroupPreparer - class CommunicationIdentityClientTest(CommunicationTestCase): From 64fdead39112ae5c22fd36a576d90d2537d86fd2 Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Fri, 2 Oct 2020 09:48:00 -0700 Subject: [PATCH 06/28] Remove main test file --- .../tests/test_communicatoin_identity_client.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py index c4cd4453e4f3..753268be5572 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py @@ -69,7 +69,3 @@ def test_delete_user(self, connection_string): identity_client.delete_user(user) assert user.identifier is not None - -if __name__ == "__main__": - import unittest - unittest.main() \ No newline at end of file From 97c029a83cf488e7c3003283fee9bcbf56447f6c Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Fri, 2 Oct 2020 09:48:31 -0700 Subject: [PATCH 07/28] Reduce RG expiry durtion --- .../tests/communication_service_preparer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py index 3b48fc0a500c..3197664065b2 100644 --- a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py @@ -18,7 +18,7 @@ class CommunicationResourceGroupPreparer(ResourceGroupPreparer): def create_resource(self, name, **kwargs): result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) if self.is_live and self._need_creation: - expiry = datetime.datetime.now() + datetime.timedelta(days=1) + expiry = datetime.datetime.now() + datetime.timedelta(hours=2) resource_group_params = dict(tags={'DeleteAfter': expiry.isoformat()}, location=self.location) self.client.resource_groups.create_or_update(name, resource_group_params) return result From 7f972aefba5f90731205a6d8a8775cff60541a88 Mon Sep 17 00:00:00 2001 From: tural farhadov Date: Fri, 2 Oct 2020 09:48:58 -0700 Subject: [PATCH 08/28] Async test code change with resource preparer --- ...est_communicatoin_identity_client_async.py | 82 +++++++++++-------- 1 file changed, 48 insertions(+), 34 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py index 1ff86a4d2dde..eaa8dc93d5b4 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py @@ -9,54 +9,68 @@ from azure_devtools.scenario_tests import RecordingProcessor from helper import URIIdentityReplacer from _shared.asynctestcase import AsyncCommunicationTestCase -from _shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor +from _shared.testcase import BodyReplacerProcessor +from communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer class CommunicationIdentityClientTestAsync(AsyncCommunicationTestCase): - def setUp(self): super(CommunicationIdentityClientTestAsync, self).setUp() self.recording_processors.extend([ BodyReplacerProcessor(keys=["id", "token"]), - URIIdentityReplacer(), - ResponseReplacerProcessor(keys=[self._resource_name])]) - - self.identity_client = CommunicationIdentityClient.from_connection_string( - self.connection_str) + URIIdentityReplacer()]) @AsyncCommunicationTestCase.await_prepared_test + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() @pytest.mark.live_test_only - async def test_create_user(self): - async with self.identity_client: - user = await self.identity_client.create_user() + @pytest.mark.asyncio + async def test_create_user(self, connection_str): + identity_client = CommunicationIdentityClient.from_connection_string(connection_str) + async with identity_client: + user = await identity_client.create_user() assert user.identifier is not None - @AsyncCommunicationTestCase.await_prepared_test - @pytest.mark.live_test_only - async def test_issue_token(self): - async with self.identity_client: - user = await self.identity_client.create_user() - token_response = await self.identity_client.issue_token(user, scopes=["chat"]) + # @AsyncCommunicationTestCase.await_prepared_test + # @pytest.mark.live_test_only + # @CommunicationResourceGroupPreparer(random_name_enabled=True) + # @CommunicationServicePreparer() + # async def test_issue_token(self, connection_str): + # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) + # async with identity_client: + # user = await identity_client.create_user() + # token_response = await identity_client.issue_token(user, scopes=["chat"]) - assert user.identifier is not None - assert token_response.token is not None + # assert user.identifier is not None + # assert token_response.token is not None - @AsyncCommunicationTestCase.await_prepared_test - @pytest.mark.live_test_only - async def test_revoke_tokens(self): - async with self.identity_client: - user = await self.identity_client.create_user() - token_response = await self.identity_client.issue_token(user, scopes=["chat"]) - await self.identity_client.revoke_tokens(user) + # @AsyncCommunicationTestCase.await_prepared_test + # @pytest.mark.live_test_only + # @CommunicationResourceGroupPreparer(random_name_enabled=True) + # @CommunicationServicePreparer() + # async def test_revoke_tokens(self, connection_str): + # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) + # async with identity_client: + # user = await identity_client.create_user() + # token_response = await identity_client.issue_token(user, scopes=["chat"]) + # await identity_client.revoke_tokens(user) - assert user.identifier is not None - assert token_response.token is not None + # assert user.identifier is not None + # assert token_response.token is not None - @AsyncCommunicationTestCase.await_prepared_test - @pytest.mark.live_test_only - async def test_delete_user(self): - async with self.identity_client: - user = await self.identity_client.create_user() - await self.identity_client.delete_user(user) + # @AsyncCommunicationTestCase.await_prepared_test + # @pytest.mark.live_test_only + # @CommunicationResourceGroupPreparer(random_name_enabled=True) + # @CommunicationServicePreparer() + # async def test_delete_user(self, connection_str): + # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) + # async with identity_client: + # user = await identity_client.create_user() + # await identity_client.delete_user(user) - assert user.identifier is not None + # assert user.identifier is not None + + +if __name__ == "__main__": + import unittest + unittest.main() \ No newline at end of file From aeae711a93780b9694d1ff09d5efee7adc2183af Mon Sep 17 00:00:00 2001 From: turalf Date: Wed, 7 Oct 2020 10:33:42 -0700 Subject: [PATCH 09/28] Add chaching for resource-preparer --- .../tests/communication_service_preparer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py index 3197664065b2..951223552f3b 100644 --- a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py @@ -15,6 +15,10 @@ class CommunicationResourceGroupPreparer(ResourceGroupPreparer): """Communication Service Resource Group Preparer. Creating and removing test resource groups on demand """ + def __init__(self, **kwargs): + super(CommunicationResourceGroupPreparer, self).__init__(**kwargs) + self.set_cache(True) + def create_resource(self, name, **kwargs): result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) if self.is_live and self._need_creation: @@ -45,6 +49,7 @@ def __init__( self.resource_group_parameter_name = resource_group_parameter_name self.service_name = "TEST-SERVICE-NAME" self.mgmt_client = None + self.set_cache(True) def _get_resource_group(self, **kwargs): try: From f20059c5cffb75fb420024705b5f1f59b5d95e49 Mon Sep 17 00:00:00 2001 From: turalf Date: Wed, 7 Oct 2020 16:32:51 -0700 Subject: [PATCH 10/28] Move helper into shared --- .../tests/{ => _shared}/helper.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdk/communication/azure-communication-administration/tests/{ => _shared}/helper.py (100%) diff --git a/sdk/communication/azure-communication-administration/tests/helper.py b/sdk/communication/azure-communication-administration/tests/_shared/helper.py similarity index 100% rename from sdk/communication/azure-communication-administration/tests/helper.py rename to sdk/communication/azure-communication-administration/tests/_shared/helper.py From 1d3bbfd7d68ec691c4c877e10481223dc529f0fc Mon Sep 17 00:00:00 2001 From: turalf Date: Wed, 7 Oct 2020 16:34:39 -0700 Subject: [PATCH 11/28] Move preparer into shared --- .../tests/{ => _shared}/communication_service_preparer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sdk/communication/azure-communication-administration/tests/{ => _shared}/communication_service_preparer.py (98%) diff --git a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py similarity index 98% rename from sdk/communication/azure-communication-administration/tests/communication_service_preparer.py rename to sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py index 951223552f3b..bb33f57712b8 100644 --- a/sdk/communication/azure-communication-administration/tests/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py @@ -17,7 +17,7 @@ class CommunicationResourceGroupPreparer(ResourceGroupPreparer): """ def __init__(self, **kwargs): super(CommunicationResourceGroupPreparer, self).__init__(**kwargs) - self.set_cache(True) + # self.set_cache(True) def create_resource(self, name, **kwargs): result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) @@ -49,7 +49,7 @@ def __init__( self.resource_group_parameter_name = resource_group_parameter_name self.service_name = "TEST-SERVICE-NAME" self.mgmt_client = None - self.set_cache(True) + # self.set_cache(True) def _get_resource_group(self, **kwargs): try: From 3ac4e50ee14126eb6b4e015607c61343fa1e63cf Mon Sep 17 00:00:00 2001 From: turalf Date: Wed, 7 Oct 2020 16:35:16 -0700 Subject: [PATCH 12/28] Uncomment test code --- .../test_communicatoin_identity_client.py | 4 +- ...est_communicatoin_identity_client_async.py | 77 ++++++++----------- 2 files changed, 36 insertions(+), 45 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py index 753268be5572..58fdf8242417 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py @@ -6,12 +6,12 @@ # -------------------------------------------------------------------------- import pytest from azure.communication.administration import CommunicationIdentityClient -from helper import URIIdentityReplacer +from _shared.helper import URIIdentityReplacer from _shared.testcase import ( CommunicationTestCase, BodyReplacerProcessor ) -from communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer +from _shared.communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer class CommunicationIdentityClientTest(CommunicationTestCase): diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py index eaa8dc93d5b4..8788e1025b4a 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py @@ -7,10 +7,10 @@ import pytest from azure.communication.administration.aio import CommunicationIdentityClient from azure_devtools.scenario_tests import RecordingProcessor -from helper import URIIdentityReplacer +from _shared.helper import URIIdentityReplacer from _shared.asynctestcase import AsyncCommunicationTestCase from _shared.testcase import BodyReplacerProcessor -from communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer +from _shared.communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer class CommunicationIdentityClientTestAsync(AsyncCommunicationTestCase): def setUp(self): @@ -19,58 +19,49 @@ def setUp(self): BodyReplacerProcessor(keys=["id", "token"]), URIIdentityReplacer()]) - @AsyncCommunicationTestCase.await_prepared_test @CommunicationResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() @pytest.mark.live_test_only @pytest.mark.asyncio - async def test_create_user(self, connection_str): - identity_client = CommunicationIdentityClient.from_connection_string(connection_str) + async def test_create_user(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string(connection_string) async with identity_client: user = await identity_client.create_user() assert user.identifier is not None - # @AsyncCommunicationTestCase.await_prepared_test - # @pytest.mark.live_test_only - # @CommunicationResourceGroupPreparer(random_name_enabled=True) - # @CommunicationServicePreparer() - # async def test_issue_token(self, connection_str): - # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) - # async with identity_client: - # user = await identity_client.create_user() - # token_response = await identity_client.issue_token(user, scopes=["chat"]) - - # assert user.identifier is not None - # assert token_response.token is not None - - # @AsyncCommunicationTestCase.await_prepared_test - # @pytest.mark.live_test_only - # @CommunicationResourceGroupPreparer(random_name_enabled=True) - # @CommunicationServicePreparer() - # async def test_revoke_tokens(self, connection_str): - # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) - # async with identity_client: - # user = await identity_client.create_user() - # token_response = await identity_client.issue_token(user, scopes=["chat"]) - # await identity_client.revoke_tokens(user) + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + async def test_issue_token(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string(connection_string) + async with identity_client: + user = await identity_client.create_user() + token_response = await identity_client.issue_token(user, scopes=["chat"]) - # assert user.identifier is not None - # assert token_response.token is not None + assert user.identifier is not None + assert token_response.token is not None - # @AsyncCommunicationTestCase.await_prepared_test - # @pytest.mark.live_test_only - # @CommunicationResourceGroupPreparer(random_name_enabled=True) - # @CommunicationServicePreparer() - # async def test_delete_user(self, connection_str): - # identity_client = CommunicationIdentityClient.from_connection_string(connection_str) - # async with identity_client: - # user = await identity_client.create_user() - # await identity_client.delete_user(user) + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + async def test_revoke_tokens(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string(connection_string) + async with identity_client: + user = await identity_client.create_user() + token_response = await identity_client.issue_token(user, scopes=["chat"]) + await identity_client.revoke_tokens(user) - # assert user.identifier is not None + assert user.identifier is not None + assert token_response.token is not None + @pytest.mark.live_test_only + @CommunicationResourceGroupPreparer(random_name_enabled=True) + @CommunicationServicePreparer() + async def test_delete_user(self, connection_string): + identity_client = CommunicationIdentityClient.from_connection_string(connection_string) + async with identity_client: + user = await identity_client.create_user() + await identity_client.delete_user(user) -if __name__ == "__main__": - import unittest - unittest.main() \ No newline at end of file + assert user.identifier is not None From 7bd45af6508039bafd2df0f2d8bdc1ff000d9ca0 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 11:42:42 -0700 Subject: [PATCH 13/28] Remove CommunicationResourceGroupPreparer use common instead --- .../_shared/communication_service_preparer.py | 16 ---------------- .../test_communicatoin_identity_client.py | 12 ++++++------ .../test_communicatoin_identity_client_async.py | 11 ++++++----- 3 files changed, 12 insertions(+), 27 deletions(-) rename sdk/communication/azure-communication-administration/tests/{ => identity}/test_communicatoin_identity_client.py (88%) rename sdk/communication/azure-communication-administration/tests/{ => identity}/test_communicatoin_identity_client_async.py (89%) diff --git a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py index bb33f57712b8..cd17ee329767 100644 --- a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py @@ -11,22 +11,6 @@ from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM from azure_devtools.scenario_tests.exceptions import AzureTestError -class CommunicationResourceGroupPreparer(ResourceGroupPreparer): - """Communication Service Resource Group Preparer. - Creating and removing test resource groups on demand - """ - def __init__(self, **kwargs): - super(CommunicationResourceGroupPreparer, self).__init__(**kwargs) - # self.set_cache(True) - - def create_resource(self, name, **kwargs): - result = super(CommunicationResourceGroupPreparer, self).create_resource(name, **kwargs) - if self.is_live and self._need_creation: - expiry = datetime.datetime.now() + datetime.timedelta(hours=2) - resource_group_params = dict(tags={'DeleteAfter': expiry.isoformat()}, location=self.location) - self.client.resource_groups.create_or_update(name, resource_group_params) - return result - class CommunicationServicePreparer(AzureMgmtPreparer): """Communication Service Preparer. Creating and destroying test resources on demand diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py similarity index 88% rename from sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py rename to sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py index 58fdf8242417..3d254750f837 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py @@ -11,10 +11,10 @@ CommunicationTestCase, BodyReplacerProcessor ) -from _shared.communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer +from devtools_testutils import ResourceGroupPreparer +from _shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTest(CommunicationTestCase): - def setUp(self): super(CommunicationIdentityClientTest, self).setUp() self.recording_processors.extend([ @@ -22,7 +22,7 @@ def setUp(self): URIIdentityReplacer()]) @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() def test_create_user(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string( @@ -32,7 +32,7 @@ def test_create_user(self, connection_string): assert user.identifier is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() def test_issue_token(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string( @@ -45,7 +45,7 @@ def test_issue_token(self, connection_string): assert token_response.token is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() def test_revoke_tokens(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string( @@ -59,7 +59,7 @@ def test_revoke_tokens(self, connection_string): assert token_response.token is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() def test_delete_user(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string( diff --git a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py similarity index 89% rename from sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py rename to sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py index 8788e1025b4a..1e81ebca04fa 100644 --- a/sdk/communication/azure-communication-administration/tests/test_communicatoin_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py @@ -7,10 +7,11 @@ import pytest from azure.communication.administration.aio import CommunicationIdentityClient from azure_devtools.scenario_tests import RecordingProcessor +from devtools_testutils import ResourceGroupPreparer from _shared.helper import URIIdentityReplacer from _shared.asynctestcase import AsyncCommunicationTestCase from _shared.testcase import BodyReplacerProcessor -from _shared.communication_service_preparer import CommunicationServicePreparer, CommunicationResourceGroupPreparer +from _shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTestAsync(AsyncCommunicationTestCase): def setUp(self): @@ -19,7 +20,7 @@ def setUp(self): BodyReplacerProcessor(keys=["id", "token"]), URIIdentityReplacer()]) - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() @pytest.mark.live_test_only @pytest.mark.asyncio @@ -31,7 +32,7 @@ async def test_create_user(self, connection_string): assert user.identifier is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() async def test_issue_token(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) @@ -43,7 +44,7 @@ async def test_issue_token(self, connection_string): assert token_response.token is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() async def test_revoke_tokens(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) @@ -56,7 +57,7 @@ async def test_revoke_tokens(self, connection_string): assert token_response.token is not None @pytest.mark.live_test_only - @CommunicationResourceGroupPreparer(random_name_enabled=True) + @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() async def test_delete_user(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) From 6761bc16cdd00c94db31ef00730424a86a09f5c1 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 11:45:08 -0700 Subject: [PATCH 14/28] Add base testcase for sync pnm --- .../phone_number/phone_number_testcase.py | 20 +++++++++++++++++++ ...test_phone_number_administration_client.py | 8 +++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/test_phone_number_administration_client.py (98%) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py new file mode 100644 index 000000000000..41caa98f9908 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import os +from azure.communication.administration._shared.utils import parse_connection_str +from .._shared.testcase import CommunicationTestCase + +class PhoneNumberCommunicationTestCase(CommunicationTestCase): + def setUp(self): + super(PhoneNumberCommunicationTestCase, self).setUp() + + if self.is_playback(): + self.connection_str = "endpoint=https://sanitized/;accesskey=fake===" + else: + self.connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') + endpoint, _ = parse_connection_str(self.connection_str) + self._resource_name = endpoint.split(".")[0] + self.scrubber.register_name_pair(self._resource_name, "sanitized") diff --git a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py similarity index 98% rename from sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py rename to sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py index 2f09606584ae..c5f0781148dd 100644 --- a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py @@ -13,12 +13,10 @@ CreateSearchOptions ) from phone_number_helper import PhoneNumberUriReplacer -from _shared.testcase import ( - CommunicationTestCase, - BodyReplacerProcessor -) +from phone_number_testcase import PhoneNumberCommunicationTestCase +from .._shared.testcase import BodyReplacerProcessor -class PhoneNumberAdministrationClientTest(CommunicationTestCase): +class PhoneNumberAdministrationClientTest(PhoneNumberCommunicationTestCase): def setUp(self): super(PhoneNumberAdministrationClientTest, self).setUp() From 6fa98d11da21065e59903148c99148e68d8e099e Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 11:45:53 -0700 Subject: [PATCH 15/28] move phone_number_helper to phone_number folder --- .../tests/{ => phone_number}/phone_number_helper.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/phone_number_helper.py (100%) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number_helper.py b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_helper.py similarity index 100% rename from sdk/communication/azure-communication-administration/tests/phone_number_helper.py rename to sdk/communication/azure-communication-administration/tests/phone_number/phone_number_helper.py From 31e07bd87654c5f1c00cefc29449fbf50765274f Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 11:46:39 -0700 Subject: [PATCH 16/28] Add base pnm async testcase --- .../phone_number_testcase_async.py | 20 +++++++++++++++++++ ...hone_number_administration_client_async.py | 8 +++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/test_phone_number_administration_client_async.py (98%) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py new file mode 100644 index 000000000000..cba5446ab7e7 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import os +from azure.communication.administration._shared.utils import parse_connection_str +from .._shared.asynctestcase import AsyncCommunicationTestCase + +class AsyncPhoneNumberCommunicationTestCase(AsyncCommunicationTestCase): + def setUp(self): + super(PhoneNumberCommunicationTestCase, self).setUp() + + if self.is_playback(): + self.connection_str = "endpoint=https://sanitized/;accesskey=fake===" + else: + self.connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') + endpoint, _ = parse_connection_str(self.connection_str) + self._resource_name = endpoint.split(".")[0] + self.scrubber.register_name_pair(self._resource_name, "sanitized") diff --git a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py similarity index 98% rename from sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py rename to sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py index f831124390d0..25ed7087f42c 100644 --- a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py @@ -12,13 +12,11 @@ CreateSearchOptions ) from phone_number_helper import PhoneNumberUriReplacer -from _shared.asynctestcase import ( - AsyncCommunicationTestCase -) -from _shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor +from phone_number_testcase_async import PhoneNumberCommunicationTestCase +from .._shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor import os -class PhoneNumberAdministrationClientTestAsync(AsyncCommunicationTestCase): +class PhoneNumberAdministrationClientTestAsync(PhoneNumberCommunicationTestCase): def setUp(self): super(PhoneNumberAdministrationClientTestAsync, self).setUp() From e6d6bf76f2abb07bd5bb9d1972f0349fd9a69370 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 12:24:28 -0700 Subject: [PATCH 17/28] Add __init__ for test folders --- .../azure-communication-administration/tests/__init__.py | 6 ++++++ .../tests/identity/__init__.py | 6 ++++++ .../tests/phone_number/__init__.py | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 sdk/communication/azure-communication-administration/tests/__init__.py create mode 100644 sdk/communication/azure-communication-administration/tests/identity/__init__.py create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/__init__.py diff --git a/sdk/communication/azure-communication-administration/tests/__init__.py b/sdk/communication/azure-communication-administration/tests/__init__.py new file mode 100644 index 000000000000..841b812e10ba --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/__init__.py @@ -0,0 +1,6 @@ +# 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. +# -------------------------------------------------------------------------- \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/identity/__init__.py b/sdk/communication/azure-communication-administration/tests/identity/__init__.py new file mode 100644 index 000000000000..841b812e10ba --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/__init__.py @@ -0,0 +1,6 @@ +# 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. +# -------------------------------------------------------------------------- \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py b/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py new file mode 100644 index 000000000000..841b812e10ba --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py @@ -0,0 +1,6 @@ +# 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. +# -------------------------------------------------------------------------- \ No newline at end of file From 6dd5d8b498bf89b472d83f60006e7aac73127b25 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 12:26:00 -0700 Subject: [PATCH 18/28] Fix identity tests to refer to shared test folder --- .../tests/identity/test_communicatoin_identity_client.py | 6 +++--- .../identity/test_communicatoin_identity_client_async.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py index 3d254750f837..1238e553ab00 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py @@ -6,13 +6,13 @@ # -------------------------------------------------------------------------- import pytest from azure.communication.administration import CommunicationIdentityClient -from _shared.helper import URIIdentityReplacer -from _shared.testcase import ( +from .._shared.helper import URIIdentityReplacer +from .._shared.testcase import ( CommunicationTestCase, BodyReplacerProcessor ) from devtools_testutils import ResourceGroupPreparer -from _shared.communication_service_preparer import CommunicationServicePreparer +from .._shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTest(CommunicationTestCase): def setUp(self): diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py index 1e81ebca04fa..90e4f31c5f8f 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py @@ -8,10 +8,10 @@ from azure.communication.administration.aio import CommunicationIdentityClient from azure_devtools.scenario_tests import RecordingProcessor from devtools_testutils import ResourceGroupPreparer -from _shared.helper import URIIdentityReplacer -from _shared.asynctestcase import AsyncCommunicationTestCase -from _shared.testcase import BodyReplacerProcessor -from _shared.communication_service_preparer import CommunicationServicePreparer +from .._shared.helper import URIIdentityReplacer +from .._shared.asynctestcase import AsyncCommunicationTestCase +from .._shared.testcase import BodyReplacerProcessor +from .._shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTestAsync(AsyncCommunicationTestCase): def setUp(self): From a59ea3f765b67b75de0c726daaa591efae4fd794 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 12:26:40 -0700 Subject: [PATCH 19/28] Refactor base async phonenumber test class --- .../phone_number_testcase_async.py | 13 ++---- ...test_phone_number_administration_client.py | 4 +- ...hone_number_administration_client_async.py | 40 +++++++++---------- 3 files changed, 25 insertions(+), 32 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py index cba5446ab7e7..243b29ad7728 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py @@ -5,16 +5,9 @@ # -------------------------------------------------------------------------- import os from azure.communication.administration._shared.utils import parse_connection_str +from .phone_number_testcase import PhoneNumberCommunicationTestCase from .._shared.asynctestcase import AsyncCommunicationTestCase -class AsyncPhoneNumberCommunicationTestCase(AsyncCommunicationTestCase): +class AsyncPhoneNumberCommunicationTestCase(PhoneNumberCommunicationTestCase, AsyncCommunicationTestCase): def setUp(self): - super(PhoneNumberCommunicationTestCase, self).setUp() - - if self.is_playback(): - self.connection_str = "endpoint=https://sanitized/;accesskey=fake===" - else: - self.connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') - endpoint, _ = parse_connection_str(self.connection_str) - self._resource_name = endpoint.split(".")[0] - self.scrubber.register_name_pair(self._resource_name, "sanitized") + super(AsyncPhoneNumberCommunicationTestCase, self).setUp() diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py index c5f0781148dd..b2ec1923eb98 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py @@ -12,8 +12,8 @@ NumberUpdateCapabilities, CreateSearchOptions ) -from phone_number_helper import PhoneNumberUriReplacer -from phone_number_testcase import PhoneNumberCommunicationTestCase +from .phone_number_helper import PhoneNumberUriReplacer +from .phone_number_testcase import PhoneNumberCommunicationTestCase from .._shared.testcase import BodyReplacerProcessor class PhoneNumberAdministrationClientTest(PhoneNumberCommunicationTestCase): diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py index 25ed7087f42c..f8774172b676 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py @@ -11,12 +11,12 @@ NumberUpdateCapabilities, CreateSearchOptions ) -from phone_number_helper import PhoneNumberUriReplacer -from phone_number_testcase_async import PhoneNumberCommunicationTestCase +from .phone_number_helper import PhoneNumberUriReplacer +from .phone_number_testcase_async import AsyncPhoneNumberCommunicationTestCase from .._shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor import os -class PhoneNumberAdministrationClientTestAsync(PhoneNumberCommunicationTestCase): +class PhoneNumberAdministrationClientTestAsync(AsyncPhoneNumberCommunicationTestCase): def setUp(self): super(PhoneNumberAdministrationClientTestAsync, self).setUp() @@ -123,7 +123,7 @@ def setUp(self): self.capabilities_id = "capabilities_id" self.release_id = "release_id" - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_list_all_phone_numbers(self): async with self._phone_number_administration_client: @@ -134,7 +134,7 @@ async def test_list_all_phone_numbers(self): items.append(item) assert len(items) > 0 - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_all_area_codes(self): async with self._phone_number_administration_client: @@ -145,7 +145,7 @@ async def test_get_all_area_codes(self): ) assert area_codes.primary_area_codes - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_capabilities_update(self): async with self._phone_number_administration_client: @@ -154,7 +154,7 @@ async def test_get_capabilities_update(self): ) assert capability_response.capabilities_update_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_update_capabilities(self): update = NumberUpdateCapabilities(add=iter(["InboundCalling"])) @@ -169,7 +169,7 @@ async def test_update_capabilities(self): ) assert capability_response.capabilities_update_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_list_all_supported_countries(self): async with self._phone_number_administration_client: @@ -180,7 +180,7 @@ async def test_list_all_supported_countries(self): self.assertGreater(len(items), 0) assert items[0].localized_name - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_number_configuration(self): async with self._phone_number_administration_client: @@ -189,7 +189,7 @@ async def test_get_number_configuration(self): ) assert phone_number_response.pstn_configuration - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_configure_number(self): pstnConfig = PstnConfiguration( @@ -203,7 +203,7 @@ async def test_configure_number(self): ) assert not configure_number_response - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_list_phone_plan_groups(self): async with self._phone_number_administration_client: @@ -217,7 +217,7 @@ async def test_list_phone_plan_groups(self): assert len(items) > 0 assert items[0].phone_plan_group_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_list_phone_plans(self): async with self._phone_number_administration_client: @@ -232,7 +232,7 @@ async def test_list_phone_plans(self): assert len(items) > 0 assert items[0].phone_plan_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_phone_plan_location_options(self): async with self._phone_number_administration_client: @@ -243,7 +243,7 @@ async def test_get_phone_plan_location_options(self): ) assert location_options_response.location_options.label_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_release_by_id(self): async with self._phone_number_administration_client: @@ -252,7 +252,7 @@ async def test_get_release_by_id(self): ) assert phone_number_release_response.release_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_list_all_releases(self): async with self._phone_number_administration_client: @@ -264,7 +264,7 @@ async def test_list_all_releases(self): self.assertGreater(len(items), 0) assert items[0].id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_release_phone_numbers(self): async with self._phone_number_administration_client: @@ -273,7 +273,7 @@ async def test_release_phone_numbers(self): ) assert releases_response.release_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_get_search_by_id(self): async with self._phone_number_administration_client: @@ -282,7 +282,7 @@ async def test_get_search_by_id(self): ) assert phone_number_search_response.search_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_create_search(self): searchOptions = CreateSearchOptions( @@ -298,7 +298,7 @@ async def test_create_search(self): ) assert search_response.search_id - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_cancel_search(self): async with self._phone_number_administration_client: @@ -307,7 +307,7 @@ async def test_cancel_search(self): ) assert not cancel_search_response - @AsyncCommunicationTestCase.await_prepared_test + @AsyncPhoneNumberCommunicationTestCase.await_prepared_test @pytest.mark.live_test_only async def test_purchase_search(self): async with self._phone_number_administration_client: From d84818e2d469dcfaca441f0ee642c146150a7759 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 13:17:41 -0700 Subject: [PATCH 20/28] Make decorator consisitent across all async tests utm --- .../test_communicatoin_identity_client_async.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py index 90e4f31c5f8f..8bea1277e3d7 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py @@ -24,6 +24,7 @@ def setUp(self): @CommunicationServicePreparer() @pytest.mark.live_test_only @pytest.mark.asyncio + @AsyncCommunicationTestCase.await_prepared_test async def test_create_user(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) async with identity_client: @@ -31,9 +32,11 @@ async def test_create_user(self, connection_string): assert user.identifier is not None - @pytest.mark.live_test_only @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() + @pytest.mark.live_test_only + @pytest.mark.asyncio + @AsyncCommunicationTestCase.await_prepared_test async def test_issue_token(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) async with identity_client: @@ -43,9 +46,11 @@ async def test_issue_token(self, connection_string): assert user.identifier is not None assert token_response.token is not None - @pytest.mark.live_test_only @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() + @pytest.mark.live_test_only + @pytest.mark.asyncio + @AsyncCommunicationTestCase.await_prepared_test async def test_revoke_tokens(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) async with identity_client: @@ -56,9 +61,11 @@ async def test_revoke_tokens(self, connection_string): assert user.identifier is not None assert token_response.token is not None - @pytest.mark.live_test_only @ResourceGroupPreparer(random_name_enabled=True) @CommunicationServicePreparer() + @pytest.mark.live_test_only + @pytest.mark.asyncio + @AsyncCommunicationTestCase.await_prepared_test async def test_delete_user(self, connection_string): identity_client = CommunicationIdentityClient.from_connection_string(connection_string) async with identity_client: From f6f7423e3cfe2dbd4cfb62202bcd56cef2459ea5 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 13:20:57 -0700 Subject: [PATCH 21/28] Replace fake resource value --- .../tests/_shared/communication_service_preparer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py index cd17ee329767..3b783f0e29f0 100644 --- a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py @@ -50,7 +50,7 @@ def create_resource(self, name, **kwargs): if not self.is_live: return { - "connection_string": "endpoint=https://communication27bb151c.communication.azure.com/;accesskey=fake===", + "connection_string": "endpoint=https://fake-resource.communication.azure.com/;accesskey=fake===", } group_name = self._get_resource_group(**kwargs).name From c4b840d8e84b0a8735b836cb8cb251d63a23c69a Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 13:22:25 -0700 Subject: [PATCH 22/28] Fix type in test file names --- ...n_identity_client.py => test_communication_identity_client.py} | 0 ...lient_async.py => test_communication_identity_client_async.py} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename sdk/communication/azure-communication-administration/tests/identity/{test_communicatoin_identity_client.py => test_communication_identity_client.py} (100%) rename sdk/communication/azure-communication-administration/tests/identity/{test_communicatoin_identity_client_async.py => test_communication_identity_client_async.py} (100%) diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py b/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client.py similarity index 100% rename from sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client.py rename to sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client.py diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client_async.py similarity index 100% rename from sdk/communication/azure-communication-administration/tests/identity/test_communicatoin_identity_client_async.py rename to sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client_async.py From b22f98603e24c7da2cd3f4d7005a0b62811465a3 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 13:25:49 -0700 Subject: [PATCH 23/28] Remove commented cache setting code --- .../tests/_shared/communication_service_preparer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py index 3b783f0e29f0..7e203744c57b 100644 --- a/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py +++ b/sdk/communication/azure-communication-administration/tests/_shared/communication_service_preparer.py @@ -33,7 +33,6 @@ def __init__( self.resource_group_parameter_name = resource_group_parameter_name self.service_name = "TEST-SERVICE-NAME" self.mgmt_client = None - # self.set_cache(True) def _get_resource_group(self, **kwargs): try: From ae2c1762696bf43a6e759dcc263eef72b8b13429 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 13:39:48 -0700 Subject: [PATCH 24/28] Add livetest recording files --- ...tion_identity_client.test_create_user.yaml | 41 +++ ...tion_identity_client.test_delete_user.yaml | 77 ++++++ ...ion_identity_client.test_issue_token.yaml} | 26 +- ...n_identity_client.test_revoke_tokens.yaml} | 38 +-- ...dentity_client_async.test_create_user.yaml | 29 ++ ...dentity_client_async.test_delete_user.yaml | 53 ++++ ...dentity_client_async.test_issue_token.yaml | 60 +++++ ...ntity_client_async.test_revoke_tokens.yaml | 88 ++++++ ...toin_identity_client.test_create_user.yaml | 12 +- ...toin_identity_client.test_delete_user.yaml | 24 +- ...toin_identity_client.test_issue_token.yaml | 82 ++++++ ...in_identity_client.test_revoke_tokens.yaml | 120 +++++++++ ...dentity_client_async.test_create_user.yaml | 14 +- ...dentity_client_async.test_delete_user.yaml | 53 ++++ ...dentity_client_async.test_issue_token.yaml | 30 +-- ...ntity_client_async.test_revoke_tokens.yaml | 44 +-- ...inistration_client.test_cancel_search.yaml | 10 +- ...stration_client.test_configure_number.yaml | 20 +- ...inistration_client.test_create_search.yaml | 16 +- ...ration_client.test_get_all_area_codes.yaml | 13 +- ...n_client.test_get_capabilities_update.yaml | 10 +- ..._client.test_get_number_configuration.yaml | 14 +- ....test_get_phone_plan_location_options.yaml | 35 +++ ...tration_client.test_get_release_by_id.yaml | 10 +- ...stration_client.test_get_search_by_id.yaml | 16 +- ...on_client.test_list_all_phone_numbers.yaml | 10 +- ...tration_client.test_list_all_releases.yaml | 10 +- ...ent.test_list_all_supported_countries.yaml | 10 +- ...on_client.test_list_phone_plan_groups.yaml | 10 +- ...stration_client.test_list_phone_plans.yaml | 10 +- ...istration_client.test_purchase_search.yaml | 12 +- ...ion_client.test_release_phone_numbers.yaml | 10 +- ...ation_client.test_update_capabilities.yaml | 13 +- ...ation_client_async.test_cancel_search.yaml | 12 +- ...on_client_async.test_configure_number.yaml | 20 +- ...ation_client_async.test_create_search.yaml | 16 +- ..._client_async.test_get_all_area_codes.yaml | 13 +- ...nt_async.test_get_capabilities_update.yaml | 10 +- ...t_async.test_get_number_configuration.yaml | 32 +++ ....test_get_phone_plan_location_options.yaml | 27 ++ ...n_client_async.test_get_release_by_id.yaml | 10 +- ...on_client_async.test_get_search_by_id.yaml | 16 +- ...ent_async.test_list_all_phone_numbers.yaml | 10 +- ...n_client_async.test_list_all_releases.yaml | 10 +- ...ync.test_list_all_supported_countries.yaml | 10 +- ...ent_async.test_list_phone_plan_groups.yaml | 10 +- ...on_client_async.test_list_phone_plans.yaml | 10 +- ...ion_client_async.test_purchase_search.yaml | 12 +- ...ient_async.test_release_phone_numbers.yaml | 10 +- ...client_async.test_update_capabilities.yaml | 13 +- ...dentity_client_async.test_delete_user.yaml | 53 ---- ....test_get_phone_plan_location_options.yaml | 250 ------------------ ...t_async.test_get_number_configuration.yaml | 61 ----- ....test_get_phone_plan_location_options.yaml | 240 ----------------- 54 files changed, 979 insertions(+), 886 deletions(-) create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml rename sdk/communication/azure-communication-administration/tests/{recordings/test_communicatoin_identity_client.test_issue_token.yaml => identity/recordings/test_communication_identity_client.test_issue_token.yaml} (67%) rename sdk/communication/azure-communication-administration/tests/{recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml => identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml} (66%) create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml rename sdk/communication/azure-communication-administration/tests/{ => identity}/recordings/test_communicatoin_identity_client.test_create_user.yaml (67%) rename sdk/communication/azure-communication-administration/tests/{ => identity}/recordings/test_communicatoin_identity_client.test_delete_user.yaml (64%) create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml rename sdk/communication/azure-communication-administration/tests/{ => identity}/recordings/test_communicatoin_identity_client_async.test_create_user.yaml (51%) create mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml rename sdk/communication/azure-communication-administration/tests/{ => identity}/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml (52%) rename sdk/communication/azure-communication-administration/tests/{ => identity}/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml (50%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_cancel_search.yaml (72%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_configure_number.yaml (55%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_create_search.yaml (63%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml (69%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml (77%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml (69%) create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml (78%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml (65%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml (74%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_list_all_releases.yaml (74%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml (78%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml (76%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml (75%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_purchase_search.yaml (63%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml (82%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client.test_update_capabilities.yaml (69%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml (58%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_configure_number.yaml (53%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_create_search.yaml (61%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml (68%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml (75%) create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml (76%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml (63%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml (72%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml (71%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml (76%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml (75%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml (75%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml (59%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml (79%) rename sdk/communication/azure-communication-administration/tests/{ => phone_number}/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml (67%) delete mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml new file mode 100644 index 000000000000..cc2111d06703 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 08 Oct 2020 20:28:44 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication27b5151c.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 20:28:44 GMT + ms-cv: + - yskyUU3C806s2PnU70FTfw.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 68ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml new file mode 100644 index 000000000000..fa8628a88094 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml @@ -0,0 +1,77 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 08 Oct 2020 20:29:50 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication279d151b.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 20:29:49 GMT + ms-cv: + - A2EI6CL3P0i04hLyHIM4Ow.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 18ms + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 08 Oct 2020 20:29:50 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://communication279d151b.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + date: + - Thu, 08 Oct 2020 20:29:50 GMT + ms-cv: + - BgXYUtD160ioV6zKLbo3YQ.0 + strict-transport-security: + - max-age=2592000 + x-processing-time: + - 937ms + status: + code: 204 + message: No Content +version: 1 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/identity/recordings/test_communication_identity_client.test_issue_token.yaml similarity index 67% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_issue_token.yaml index fb964f65453d..900c0c0a7b4a 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_issue_token.yaml @@ -11,13 +11,13 @@ interactions: Content-Length: - '0' Date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:31:04 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communication28c71533.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:31:03 GMT ms-cv: - - yRWeRDZM3kG7EUXuSU6PRg.0 + - KoFGvp5Vx0ahn87bUK7i9g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 16ms + - 29ms status: code: 200 message: OK @@ -52,30 +52,30 @@ interactions: Content-Type: - application/json Date: - - Tue, 29 Sep 2020 17:47:52 GMT + - Thu, 08 Oct 2020 20:31:04 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + uri: https://communication28c71533.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:51.1213055+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:31:03.448899+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:31:03 GMT ms-cv: - - dd0lZwCvoE6n7W5SIYKdKQ.0 + - iOGmhpuDCEK6X/wj0dWf2w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 29ms + - 36ms 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/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml similarity index 66% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml index 518a9de87e74..8691c058283b 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml @@ -11,13 +11,13 @@ interactions: Content-Length: - '0' Date: - - Tue, 29 Sep 2020 17:47:52 GMT + - Thu, 08 Oct 2020 20:32:08 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communication54301609.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:32:08 GMT ms-cv: - - 13CtSCvWOkSCBqLSCMPsLg.0 + - b/8nAte68E+2bO9vqVWOfQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 39ms + - 49ms status: code: 200 message: OK @@ -52,30 +52,30 @@ interactions: Content-Type: - application/json Date: - - Tue, 29 Sep 2020 17:47:52 GMT + - Thu, 08 Oct 2020 20:32:09 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + uri: https://communication54301609.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:51.4855261+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:32:08.0811644+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:32:08 GMT ms-cv: - - rVSMb7bnp0m2VtkzCPQTkQ.0 + - w8ruWe2MfkGiex5QO4VipA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 61ms + - 39ms status: code: 200 message: OK @@ -93,13 +93,13 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Tue, 29 Sep 2020 17:47:52 GMT + - Thu, 08 Oct 2020 20:32:09 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: PATCH - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + uri: https://communication54301609.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 response: body: string: '' @@ -107,13 +107,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 20:32:08 GMT ms-cv: - - oF7mN2y00ESLDHxwtfOskw.0 + - xWR8bZY1YECCt76esufEHg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 9ms + - 10ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml new file mode 100644 index 000000000000..3bfdfbad7474 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:33:14 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicationb0051799.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:33:14 GMT + ms-cv: ihhWrYtVrE+Sk7JELBbyhw.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 17ms + status: + code: 200 + message: OK + url: https://communicationb0051799.communication.azure.com/identities?api-version=2020-07-20-preview2 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml new file mode 100644 index 000000000000..fa58a4c7d8f4 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml @@ -0,0 +1,53 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:34:18 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicationafed1798.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:34:18 GMT + ms-cv: LbEvoWg1mUCfiK6tbIjKMg.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 18ms + status: + code: 200 + message: OK + url: https://communicationafed1798.communication.azure.com/identities?api-version=2020-07-20-preview2 +- request: + body: '' + headers: + Date: + - Thu, 08 Oct 2020 20:34:19 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://communicationafed1798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + response: + body: + string: '' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + date: Thu, 08 Oct 2020 20:34:18 GMT + ms-cv: aVrEEt5CJ0eK8FPKq217mg.0 + strict-transport-security: max-age=2592000 + x-processing-time: 691ms + status: + code: 204 + message: No Content + url: https://communicationafed1798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml new file mode 100644 index 000000000000..10990176fff8 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml @@ -0,0 +1,60 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:35:24 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicationb11717b0.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:35:24 GMT + ms-cv: FKV3dSgE8kSnRREVag7ptQ.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 85ms + status: + code: 200 + message: OK + url: https://communicationb11717b0.communication.azure.com/identities?api-version=2020-07-20-preview2 +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + Date: + - Thu, 08 Oct 2020 20:35:24 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicationb11717b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:35:23.8641285+00:00"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:35:24 GMT + ms-cv: NU8uHE1Vj0abYa2HA3ULdA.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 33ms + status: + code: 200 + message: OK + url: https://communicationb11717b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml new file mode 100644 index 000000000000..c6bbdf0d2334 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml @@ -0,0 +1,88 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:36:29 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicatione17a1886.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:36:28 GMT + ms-cv: hSI3h4dFs0SEcyBP98YVKQ.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 81ms + status: + code: 200 + message: OK + url: https://communicatione17a1886.communication.azure.com/identities?api-version=2020-07-20-preview2 +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + Date: + - Thu, 08 Oct 2020 20:36:29 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicatione17a1886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:36:28.6505114+00:00"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:36:28 GMT + ms-cv: FfDOZdjZfU6RgYgmAqYdag.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 31ms + status: + code: 200 + message: OK + url: https://communicatione17a1886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 +- request: + body: '{}' + headers: + Content-Length: + - '2' + Content-Type: + - application/merge-patch+json + Date: + - Thu, 08 Oct 2020 20:36:29 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: PATCH + uri: https://communicatione17a1886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + response: + body: + string: '' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + date: Thu, 08 Oct 2020 20:36:29 GMT + ms-cv: /cIh9eWlCEq+ofGXHGTE9Q.0 + strict-transport-security: max-age=2592000 + x-processing-time: 9ms + status: + code: 204 + message: No Content + url: https://communicatione17a1886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 +version: 1 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/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml similarity index 67% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml index e94f02384c4d..850ff307e2d3 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml @@ -11,13 +11,13 @@ interactions: Content-Length: - '0' Date: - - Tue, 29 Sep 2020 17:47:50 GMT + - Thu, 08 Oct 2020 19:27:23 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communication27bb151c.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:50 GMT + - Thu, 08 Oct 2020 19:27:23 GMT ms-cv: - - CoE2LmTaiE+T/aECFj99Zg.0 + - 35/wZGn0EkyDgAwJnUDzuQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 16ms + - 69ms 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/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml similarity index 64% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml index e7ac6b50b564..bf4d4296cf44 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml @@ -11,13 +11,13 @@ interactions: Content-Length: - '0' Date: - - Tue, 29 Sep 2020 17:47:50 GMT + - Thu, 08 Oct 2020 19:28:28 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communication27a3151b.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 29 Sep 2020 17:47:50 GMT + - Thu, 08 Oct 2020 19:28:28 GMT ms-cv: - - FCvz8qTbwEuo51Sfsgj8Hg.0 + - Y1+6vEYM00GgtyaVOHUTow.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 16ms + - 52ms status: code: 200 message: OK @@ -50,13 +50,13 @@ interactions: Content-Length: - '0' Date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 19:28:28 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + uri: https://communication27a3151b.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 response: body: string: '' @@ -64,13 +64,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Tue, 29 Sep 2020 17:47:51 GMT + - Thu, 08 Oct 2020 19:28:29 GMT ms-cv: - - /Xzcq087nEObSeLTbe71Lw.0 + - vatkR7XqN0i4Ivui0YdoCw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 842ms + - 707ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml new file mode 100644 index 000000000000..8af1b500c03a --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml @@ -0,0 +1,82 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 08 Oct 2020 19:29:33 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication28cd1533.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 19:29:33 GMT + ms-cv: + - GEkh7fSXIEylC6Rc7QqOgA.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 17ms + status: + code: 200 + message: OK +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + Date: + - Thu, 08 Oct 2020 19:29:33 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication28cd1533.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T19:29:32.4489628+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 19:29:33 GMT + ms-cv: + - ifTRod9fqkCh5+olqGSeAw.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 41ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml new file mode 100644 index 000000000000..ae501fd6208e --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml @@ -0,0 +1,120 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 08 Oct 2020 19:30:38 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication54361609.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 19:30:37 GMT + ms-cv: + - k4KFdB5HKUWS2BKnurQZ7A.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 89ms + status: + code: 200 + message: OK +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + Date: + - Thu, 08 Oct 2020 19:30:38 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communication54361609.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T19:30:37.7015819+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 19:30:37 GMT + ms-cv: + - QOffTipHQUGxN+0f5i6JIg.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-processing-time: + - 36ms + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/merge-patch+json + Date: + - Thu, 08 Oct 2020 19:30:38 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: PATCH + uri: https://communication54361609.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview1, 2020-07-20-preview2 + date: + - Thu, 08 Oct 2020 19:30:37 GMT + ms-cv: + - YIDTTda76Uemf8SEHtZn6w.0 + strict-transport-security: + - max-age=2592000 + x-processing-time: + - 11ms + status: + code: 204 + message: No Content +version: 1 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/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml similarity index 51% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_create_user.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml index 758e65453f90..e28793170b8e 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/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml @@ -5,25 +5,25 @@ interactions: Accept: - application/json Date: - - Tue, 29 Sep 2020 17:47:52 GMT + - Thu, 08 Oct 2020 20:09:44 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communicationb00b1799.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Tue, 29 Sep 2020 17:47:51 GMT - ms-cv: Fgg/naICR0SWfiXHYMnVzg.0 + date: Thu, 08 Oct 2020 20:09:44 GMT + ms-cv: Gjvc2ml/3U6BKUbK0TNLGQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 23ms + x-processing-time: 18ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + url: https://communicationb00b1799.communication.azure.com/identities?api-version=2020-07-20-preview2 version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml new file mode 100644 index 000000000000..9750dcc361d2 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml @@ -0,0 +1,53 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:10:48 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://communicationaff31798.communication.azure.com/identities?api-version=2020-07-20-preview2 + response: + body: '{"id": "sanitized"}' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:10:48 GMT + ms-cv: TPynDbrpCEaBwGZiNQPorQ.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-processing-time: 57ms + status: + code: 200 + message: OK + url: https://communicationaff31798.communication.azure.com/identities?api-version=2020-07-20-preview2 +- request: + body: '' + headers: + Date: + - Thu, 08 Oct 2020 20:10:49 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://communicationaff31798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + response: + body: + string: '' + headers: + api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 + date: Thu, 08 Oct 2020 20:10:49 GMT + ms-cv: aedokVcFD0OwQ1WIU8A5OA.0 + strict-transport-security: max-age=2592000 + x-processing-time: 783ms + status: + code: 204 + message: No Content + url: https://communicationaff31798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 +version: 1 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/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml similarity index 52% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml index 3966d10cb2ff..22dda000a877 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/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml @@ -5,27 +5,27 @@ interactions: Accept: - application/json Date: - - Tue, 29 Sep 2020 17:47:53 GMT + - Thu, 08 Oct 2020 20:11:54 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communicationb11d17b0.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: ykEFqlAYvES0gdtBUkdluw.0 + date: Thu, 08 Oct 2020 20:11:53 GMT + ms-cv: VJP67ZDFw0Wh6z6yLXHlkA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 17ms + x-processing-time: 66ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + url: https://communicationb11d17b0.communication.azure.com/identities?api-version=2020-07-20-preview2 - request: body: '{"scopes": ["chat"]}' headers: @@ -36,25 +36,25 @@ interactions: Content-Type: - application/json Date: - - Tue, 29 Sep 2020 17:47:53 GMT + - Thu, 08 Oct 2020 20:11:54 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + uri: https://communicationb11d17b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:52.9441915+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:11:53.5198003+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: 6tglideZmkSZjkqgD1FQOg.0 + date: Thu, 08 Oct 2020 20:11:53 GMT + ms-cv: Vp52dqwbT0iMQEncCmXVCA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 24ms + x-processing-time: 64ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + url: https://communicationb11d17b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 version: 1 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/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml similarity index 50% rename from sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml rename to sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml index 0e6105db511e..39b1d8eda36d 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/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml @@ -5,27 +5,27 @@ interactions: Accept: - application/json Date: - - Tue, 29 Sep 2020 17:47:53 GMT + - Thu, 08 Oct 2020 20:12:58 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + uri: https://communicatione1801886.communication.azure.com/identities?api-version=2020-07-20-preview2 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: uRSOsnLbfkq34EcscODY+Q.0 + date: Thu, 08 Oct 2020 20:12:57 GMT + ms-cv: s3JSpdKPekuhASnN6MnDLQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 16ms + x-processing-time: 18ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 + url: https://communicatione1801886.communication.azure.com/identities?api-version=2020-07-20-preview2 - request: body: '{"scopes": ["chat"]}' headers: @@ -36,27 +36,27 @@ interactions: Content-Type: - application/json Date: - - Tue, 29 Sep 2020 17:47:54 GMT + - Thu, 08 Oct 2020 20:12:58 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST - uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + uri: https://communicatione1801886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:53.2009848+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:12:57.7863484+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: x3L3l1+yv0mV76sVFQmHAQ.0 + date: Thu, 08 Oct 2020 20:12:58 GMT + ms-cv: ldQTvPjESUyWMVMvUfJOyQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 25ms + x-processing-time: 23ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 + url: https://communicatione1801886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 - request: body: '{}' headers: @@ -65,24 +65,24 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Tue, 29 Sep 2020 17:47:54 GMT + - Thu, 08 Oct 2020 20:12:58 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: PATCH - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + uri: https://communicatione1801886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 response: body: string: '' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: /Q2xdsdd5kaMhjyamP46Og.0 + date: Thu, 08 Oct 2020 20:12:58 GMT + ms-cv: uMHcJH0+gE+2pec5/ozA7g.0 strict-transport-security: max-age=2592000 - x-processing-time: 8ms + x-processing-time: 9ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 + url: https://communicatione1801886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 version: 1 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/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml similarity index 72% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml index 16e182f33468..6b5dd6d3237a 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml @@ -11,9 +11,9 @@ interactions: Content-Length: - '0' Date: - - Mon, 28 Sep 2020 21:07:45 GMT + - Thu, 08 Oct 2020 20:36:59 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Mon, 28 Sep 2020 21:07:46 GMT + - Thu, 08 Oct 2020 20:37:00 GMT ms-cv: - - QzclZYQsuk2dhRGLgFRISw.0 + - HVsaom/of0WDz9oaQEqvXQ.0 x-processing-time: - - 1272ms + - 587ms status: code: 202 message: Accepted 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/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml similarity index 55% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml index 8f491bb6ab4a..c84767c5713d 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: 'b''{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": - "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}, "phoneNumber": "+1area_code_for_search4864953"}''' + body: '{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId"}, "phoneNumber": "sanitized"}' headers: Accept: - '*/*' @@ -10,13 +10,13 @@ interactions: Connection: - keep-alive Content-Length: - - '168' + - '126' Content-Type: - application/json Date: - - Mon, 28 Sep 2020 20:52:31 GMT + - Thu, 08 Oct 2020 20:37:00 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: PATCH @@ -28,12 +28,12 @@ interactions: content-length: - '0' date: - - Mon, 28 Sep 2020 20:52:31 GMT + - Thu, 08 Oct 2020 20:37:02 GMT ms-cv: - - WNXx3LNakU6tV8xeGv33uA.0 + - vx1CfabAmESL2vnVmouMyA.0 x-processing-time: - - 337ms + - 1295ms status: - code: 202 - message: Accepted + code: 200 + message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml similarity index 63% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml index 05ee0bd63076..0c4e58ad745f 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml @@ -1,8 +1,8 @@ interactions: - request: - body: 'b''b\''{"displayName": "testsearch20200014", "description": "testsearch20200014", - "phonePlanIds": ["phone_plan_id"], "areaCode": "area_code_for_search", "quantity": - 1}\''''' + body: '{"displayName": "testsearch20200014", "description": "testsearch20200014", + "phonePlanIds": "sanitized", "areaCode": "area_code_for_search", "quantity": + 1}' headers: Accept: - application/json @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 20:58:50 GMT + - Thu, 08 Oct 2020 20:37:02 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -28,13 +28,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:58:51 GMT + - Thu, 08 Oct 2020 20:37:03 GMT ms-cv: - - zBQqWRmiSEyC+AsrLoxytg.0 + - 0td3E5AV+k+sJjO5v9obEQ.0 transfer-encoding: - chunked x-processing-time: - - 1555ms + - 1513ms status: code: 201 message: Created 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/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml similarity index 69% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml index ac47214be402..2b20314c5d9d 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml @@ -13,26 +13,27 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 20:52:31 GMT + - Thu, 08 Oct 2020 20:37:03 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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}' + body: '{"primaryAreaCodes": ["area_code_for_search"], "secondaryAreaCodes": [], + "nextLink": null}' headers: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:31 GMT + - Thu, 08 Oct 2020 20:37:04 GMT ms-cv: - - s1K8bpPuzUG5W6OtrZE6hw.0 + - 1v77P2xTE0u31LwUZvhgVw.0 transfer-encoding: - chunked x-processing-time: - - 570ms + - 521ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml similarity index 77% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml index daf8996d7d83..97669071f177 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:32 GMT + - Thu, 08 Oct 2020 20:37:04 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -23,13 +23,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:32 GMT + - Thu, 08 Oct 2020 20:37:04 GMT ms-cv: - - T6S8W/xhekOa5x30VjpWOw.0 + - TBUWm9qY/E6T4ASa9fLIHw.0 transfer-encoding: - chunked x-processing-time: - - 562ms + - 403ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml similarity index 69% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml index d5fc206076d1..f2bce6b2c90d 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"phoneNumber": "+1area_code_for_search4864953"}''' + body: '{"phoneNumber": "sanitized"}' headers: Accept: - application/json @@ -13,27 +13,27 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 20:52:33 GMT + - Thu, 08 Oct 2020 20:37:05 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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"}}' + "ApplicationId"}}' headers: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:32 GMT + - Thu, 08 Oct 2020 20:37:05 GMT ms-cv: - - ISrlnWt250eHg9H0U7B6gA.0 + - iHVwXnvt40ehfqSvctLT5Q.0 transfer-encoding: - chunked x-processing-time: - - 436ms + - 581ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml new file mode 100644 index 000000000000..3f37b66a8f4d --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 08 Oct 2020 20:37:05 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + 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: '{}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Thu, 08 Oct 2020 20:37:05 GMT + ms-cv: + - n85E+IVvXEmGQTOy+W+r2g.0 + transfer-encoding: + - chunked + x-processing-time: + - 312ms + 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/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml similarity index 78% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml index 7f9cbf2b510a..485a715740c3 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:35 GMT + - Thu, 08 Oct 2020 20:37:06 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:35 GMT + - Thu, 08 Oct 2020 20:37:06 GMT ms-cv: - - aDDYFuvWA0C5m8vxbQZa7g.0 + - VHYL/BrotUaUkuwIaQM9Iw.0 transfer-encoding: - chunked x-processing-time: - - 350ms + - 202ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml similarity index 65% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml index ffde5892579c..afbb51c533e0 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml @@ -9,30 +9,30 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:36 GMT + - Thu, 08 Oct 2020 20:37:06 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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": + "2020-10-02T21:39:32.6878583+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}' + [], "status": "Success", "phoneNumbers": "sanitized", "reservationExpiryDate": + "2020-10-02T21:55:47.9734151+00:00"}' headers: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:36 GMT + - Thu, 08 Oct 2020 20:37:06 GMT ms-cv: - - rR2LYefRZUqEC64QM4XUtA.0 + - VPalTwC2ZkmTWrYCXfVGSw.0 transfer-encoding: - chunked x-processing-time: - - 540ms + - 287ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml similarity index 74% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml index e2dc5adaffd9..905888fb13c7 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:36 GMT + - Thu, 08 Oct 2020 20:37:07 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:36 GMT + - Thu, 08 Oct 2020 20:37:07 GMT ms-cv: - - ZrnIo+1IWUm2rr4BXwpD9Q.0 + - ZlZbgm0VJUCctp4AMsFSmA.0 transfer-encoding: - chunked x-processing-time: - - 621ms + - 290ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml similarity index 74% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml index 5a2fdf532df1..a746611898e4 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:37 GMT + - Thu, 08 Oct 2020 20:37:07 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:37 GMT + - Thu, 08 Oct 2020 20:37:07 GMT ms-cv: - - O7UjJU4tlkuR+ohvj2AJWw.0 + - y6JarLqpQ0Sm+eMhC/8DSw.0 transfer-encoding: - chunked x-processing-time: - - 507ms + - 278ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml similarity index 78% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml index b3b529132fe2..d7002df22a9c 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:38 GMT + - Thu, 08 Oct 2020 20:37:08 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:39 GMT + - Thu, 08 Oct 2020 20:37:08 GMT ms-cv: - - lTXki58ix0GoWp1Q+s7suw.0 + - Ji7oQRll8EOh6bLg/RgvqQ.0 transfer-encoding: - chunked x-processing-time: - - 747ms + - 575ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml similarity index 76% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml index c64cf8f9b087..f689defc1286 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:39 GMT + - Thu, 08 Oct 2020 20:37:08 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:40 GMT + - Thu, 08 Oct 2020 20:37:09 GMT ms-cv: - - CV4dPbtIc0KVqCsKbegUFw.0 + - MLSnOcD8tkaSeqFu0HCUJA.0 transfer-encoding: - chunked x-processing-time: - - 600ms + - 586ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml similarity index 75% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml index 4161b96c1d4e..df3232b0f72d 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive Date: - - Mon, 28 Sep 2020 20:52:40 GMT + - Thu, 08 Oct 2020 20:37:09 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:40 GMT + - Thu, 08 Oct 2020 20:37:09 GMT ms-cv: - - hM4twEJ1hkelj8JvXL9vbA.0 + - tGWLj2SX20aQhb97biBvQA.0 transfer-encoding: - chunked x-processing-time: - - 545ms + - 277ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml similarity index 63% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml index b0c435a51250..69b757a4d896 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml @@ -11,13 +11,13 @@ interactions: Content-Length: - '0' Date: - - Mon, 28 Sep 2020 21:05:56 GMT + - Thu, 08 Oct 2020 20:37:09 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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 + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id/purchase?api-version=2020-07-20-preview1 response: body: string: '' @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Mon, 28 Sep 2020 21:05:56 GMT + - Thu, 08 Oct 2020 20:37:09 GMT ms-cv: - - xwaQWMyPXkmZISlt39/8sQ.0 + - jCLNiyH5nE2Qp9duue58YQ.0 x-processing-time: - - 1104ms + - 259ms status: code: 202 message: Accepted 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/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml similarity index 82% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml index 6523c0d0d697..ba848dec15cb 100644 --- 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/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json Date: - - Fri, 02 Oct 2020 22:26:28 GMT + - Thu, 08 Oct 2020 20:37:10 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 02 Oct 2020 22:26:27 GMT + - Thu, 08 Oct 2020 20:37:11 GMT ms-cv: - - NlxnpgC8uU2r3FctCKo4VA.0 + - BCnQJrFjD0Cnc69qGESknQ.0 transfer-encoding: - chunked x-processing-time: - - 735ms + - 1010ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml similarity index 69% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml index 2841aff8d502..7d44f1cabf00 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml @@ -1,7 +1,6 @@ interactions: - request: - body: 'b''{"phoneNumberCapabilitiesUpdate": {"+1area_code_for_search4864953": - {"add": []}}}''' + body: '{"phoneNumberCapabilitiesUpdate": "sanitized"}' headers: Accept: - application/json @@ -14,9 +13,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 20:52:41 GMT + - Thu, 08 Oct 2020 20:37:11 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -27,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 20:52:42 GMT + - Thu, 08 Oct 2020 20:37:11 GMT ms-cv: - - 2wG6ECtNVUWh9yTw1e0F1Q.0 + - rlsGoqCo+0K0i+iUgeR8mA.0 transfer-encoding: - chunked x-processing-time: - - 882ms + - 527ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml similarity index 58% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml index b1c09cffa120..994ca2a8e78d 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml @@ -3,21 +3,21 @@ interactions: body: '' headers: Date: - - Mon, 28 Sep 2020 22:29:32 GMT + - Thu, 08 Oct 2020 20:37:12 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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 + 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 22:29:33 GMT - ms-cv: Br5JTlNBNE66iA7S70L1xg.0 - x-processing-time: 894ms + date: Thu, 08 Oct 2020 20:37:11 GMT + ms-cv: Zo1jMCcAU02bm5oGMXZqHQ.0 + x-processing-time: 270ms status: code: 202 message: Accepted 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/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml similarity index 53% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml index 54437a5a0e4d..e93811bab289 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml @@ -1,16 +1,16 @@ interactions: - request: - body: 'b''{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": - "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}, "phoneNumber": "+1area_code_for_search4866306"}''' + body: '{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId"}, "phoneNumber": "sanitized"}' headers: Content-Length: - - '168' + - '126' Content-Type: - application/json Date: - - Mon, 28 Sep 2020 23:36:20 GMT + - Thu, 08 Oct 2020 20:37:12 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: PATCH @@ -20,11 +20,11 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 28 Sep 2020 23:36:22 GMT - ms-cv: DaWW0P2dX0uW3zxujdXNZQ.0 - x-processing-time: 2855ms + date: Thu, 08 Oct 2020 20:37:12 GMT + ms-cv: Re53P7HT5keTJzvAu93Wsg.0 + x-processing-time: 280ms status: - code: 202 - message: Accepted + code: 200 + message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml similarity index 61% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml index e22e20d79e0c..abc2e3d67007 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml @@ -1,8 +1,8 @@ interactions: - request: - body: 'b''b\''{"displayName": "testsearch20200014", "description": "testsearch20200014", - "phonePlanIds": ["phone_plan_id"], "areaCode": "area_code_for_search", "quantity": - 1}\''''' + body: '{"displayName": "testsearch20200014", "description": "testsearch20200014", + "phonePlanIds": "sanitized", "areaCode": "area_code_for_search", "quantity": + 1}' headers: Accept: - application/json @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 23:41:10 GMT + - Thu, 08 Oct 2020 20:37:12 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -22,10 +22,10 @@ interactions: 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 + date: Thu, 08 Oct 2020 20:37:13 GMT + ms-cv: T6Kl5CH+FUevlBBqo8DmBg.0 transfer-encoding: chunked - x-processing-time: 2452ms + x-processing-time: 702ms status: code: 201 message: Created 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml similarity index 68% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml index c7b1ea1b95c0..bfc82e66b8d9 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml @@ -9,21 +9,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 23:36:23 GMT + - Thu, 08 Oct 2020 20:37:13 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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}' + body: '{"primaryAreaCodes": ["area_code_for_search"], "secondaryAreaCodes": [], + "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Mon, 28 Sep 2020 23:36:24 GMT - ms-cv: xH2LI3yX8Uq7vldnjshP0g.0 + date: Thu, 08 Oct 2020 20:37:13 GMT + ms-cv: 45HBIeQ55kWc80tMVgaeag.0 transfer-encoding: chunked - x-processing-time: 762ms + x-processing-time: 181ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml similarity index 75% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml index 5bb55438d9d3..490ddbd4c056 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:24 GMT + - Thu, 08 Oct 2020 20:37:14 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -17,10 +17,10 @@ interactions: "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 + date: Thu, 08 Oct 2020 20:37:13 GMT + ms-cv: Hc4elzu63kq/ws9ppNf7qQ.0 transfer-encoding: chunked - x-processing-time: 936ms + x-processing-time: 278ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml new file mode 100644 index 000000000000..c246d4cb830c --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml @@ -0,0 +1,32 @@ +interactions: +- request: + body: '{"phoneNumber": "sanitized"}' + headers: + Accept: + - application/json + Content-Length: + - '31' + Content-Type: + - application/json + Date: + - Thu, 08 Oct 2020 20:37:14 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + 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"}}' + headers: + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:37:14 GMT + ms-cv: IjtZNgMHiEWBE7w1r3J43g.0 + transfer-encoding: chunked + x-processing-time: 115ms + 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml new file mode 100644 index 000000000000..0c2f4b52b39d --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Thu, 08 Oct 2020 20:37:14 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) + 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: '{}' + headers: + content-type: application/json; charset=utf-8 + date: Thu, 08 Oct 2020 20:37:14 GMT + ms-cv: P957BPp3g0u2oZSL5Pkw6g.0 + transfer-encoding: chunked + x-processing-time: 298ms + 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml similarity index 76% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml index 8c436e502d75..0723ddf2366e 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:42 GMT + - Thu, 08 Oct 2020 20:37:15 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -18,10 +18,10 @@ interactions: "phoneNumberReleaseStatusDetails": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Mon, 28 Sep 2020 23:36:42 GMT - ms-cv: yVEMC2mXsEyHauZmq0ZFPA.0 + date: Thu, 08 Oct 2020 20:37:14 GMT + ms-cv: /nriBoQhekCezTordg/TJg.0 transfer-encoding: chunked - x-processing-time: 459ms + x-processing-time: 448ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml similarity index 63% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml index 2ca06363cb93..bb79d775f7ff 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml @@ -5,25 +5,25 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:43 GMT + - Thu, 08 Oct 2020 20:37:15 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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": + "2020-10-02T21:39:32.6878583+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"}' + [], "status": "Success", "phoneNumbers": "sanitized", "reservationExpiryDate": + "2020-10-02T21:55:47.9734151+00:00"}' headers: content-type: application/json; charset=utf-8 - date: Mon, 28 Sep 2020 23:36:43 GMT - ms-cv: P1zGoqpgT06fkeq8C6+pcw.0 + date: Thu, 08 Oct 2020 20:37:15 GMT + ms-cv: qs9rMItdPk2M69GsyurYwQ.0 transfer-encoding: chunked - x-processing-time: 742ms + x-processing-time: 267ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml similarity index 72% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml index d7800f27b062..030a237168f8 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:44 GMT + - Thu, 08 Oct 2020 20:37:16 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -16,10 +16,10 @@ interactions: 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 + date: Thu, 08 Oct 2020 20:37:15 GMT + ms-cv: 359ZRHUA9Eiz9M+Ll3kmeA.0 transfer-encoding: chunked - x-processing-time: 595ms + x-processing-time: 424ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml similarity index 71% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml index aa78b029dece..b6e24e020733 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:44 GMT + - Thu, 08 Oct 2020 20:37:16 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -16,10 +16,10 @@ interactions: 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 + date: Thu, 08 Oct 2020 20:37:16 GMT + ms-cv: lOtlq3tjaE2uUv6arBPFRw.0 transfer-encoding: chunked - x-processing-time: 706ms + x-processing-time: 280ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml similarity index 76% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml index c97cec973db3..aec8941a7300 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:45 GMT + - Thu, 08 Oct 2020 20:37:17 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -18,10 +18,10 @@ interactions: "US"}], "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Mon, 28 Sep 2020 23:36:46 GMT - ms-cv: CVi9HTPzcEeEqH7obRf9tA.0 + date: Thu, 08 Oct 2020 20:37:16 GMT + ms-cv: wgaK3Y6KikeLqCVGKxE3GA.0 transfer-encoding: chunked - x-processing-time: 901ms + x-processing-time: 413ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml similarity index 75% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml index 1138d9616585..d48e0331fd0e 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:47 GMT + - Thu, 08 Oct 2020 20:37:17 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -16,10 +16,10 @@ interactions: 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 + date: Thu, 08 Oct 2020 20:37:17 GMT + ms-cv: yrk3rS2pe0GPZRjEz15Rqg.0 transfer-encoding: chunked - x-processing-time: 519ms + x-processing-time: 657ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml similarity index 75% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml index 23f015234396..7de6f7d9929e 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json Date: - - Mon, 28 Sep 2020 23:36:48 GMT + - Thu, 08 Oct 2020 20:37:18 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: GET @@ -16,10 +16,10 @@ interactions: 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 + date: Thu, 08 Oct 2020 20:37:18 GMT + ms-cv: tzgs1w7OcUmyeseRl/qLGQ.0 transfer-encoding: chunked - x-processing-time: 583ms + x-processing-time: 232ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml similarity index 59% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml index 57b89ebc1547..91f37b4cddcb 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml @@ -3,21 +3,21 @@ interactions: body: '' headers: Date: - - Mon, 28 Sep 2020 23:23:44 GMT + - Thu, 08 Oct 2020 20:37:18 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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 + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id/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 + date: Thu, 08 Oct 2020 20:37:18 GMT + ms-cv: UUpvArEVWEiqxc0z8oQcRw.0 + x-processing-time: 265ms status: code: 202 message: Accepted 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/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml similarity index 79% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml index 555ece0bf35d..030fef023c15 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json Date: - - Fri, 02 Oct 2020 22:24:33 GMT + - Thu, 08 Oct 2020 20:37:19 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -20,10 +20,10 @@ interactions: body: '{"releaseId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 02 Oct 2020 22:24:32 GMT - ms-cv: m6zSFyuKqkaYNOWKqeSZRg.0 + date: Thu, 08 Oct 2020 20:37:19 GMT + ms-cv: zSjcVee8n0yvF3M8QSQWTw.0 transfer-encoding: chunked - x-processing-time: 606ms + x-processing-time: 561ms status: code: 200 message: OK 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/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml similarity index 67% rename from sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml rename to sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml index d851620517bd..73d755e7bd91 100644 --- 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/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml @@ -1,7 +1,6 @@ interactions: - request: - body: 'b''{"phoneNumberCapabilitiesUpdate": {"+1area_code_for_search4866306": - {"add": []}}}''' + body: '{"phoneNumberCapabilitiesUpdate": "sanitized"}' headers: Accept: - application/json @@ -10,9 +9,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 28 Sep 2020 23:36:48 GMT + - Thu, 08 Oct 2020 20:37:19 GMT User-Agent: - - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: - 'true' method: POST @@ -21,10 +20,10 @@ interactions: body: '{"capabilitiesUpdateId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Mon, 28 Sep 2020 23:36:49 GMT - ms-cv: 6rr7snA3ek6iPySfBZZvHw.0 + date: Thu, 08 Oct 2020 20:37:20 GMT + ms-cv: /tw7eaZEUkSyCshOI5+PGA.0 transfer-encoding: chunked - x-processing-time: 1177ms + x-processing-time: 601ms 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 deleted file mode 100644 index 427b594f355c..000000000000 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml +++ /dev/null @@ -1,53 +0,0 @@ -interactions: -- request: - body: '' - headers: - Accept: - - application/json - Date: - - 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: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - 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: 18ms - status: - code: 200 - message: OK - url: https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2 -- request: - body: '' - headers: - Date: - - 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: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 - response: - body: - string: '' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Tue, 29 Sep 2020 17:47:53 GMT - ms-cv: 5OBTE6WyAkKVivRuMfMaQg.0 - strict-transport-security: max-age=2592000 - x-processing-time: 712ms - status: - code: 204 - message: No Content - url: https://sanitized.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 -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 deleted file mode 100644 index 912a36aa9f0a..000000000000 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml +++ /dev/null @@ -1,250 +0,0 @@ -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_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 deleted file mode 100644 index 28d480278262..000000000000 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml +++ /dev/null @@ -1,61 +0,0 @@ -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 deleted file mode 100644 index 647556757ed4..000000000000 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml +++ /dev/null @@ -1,240 +0,0 @@ -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 From 52e28735523537bd0007a5cd1974dfe2d7171ad1 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 8 Oct 2020 16:19:29 -0700 Subject: [PATCH 25/28] Refresh recording files --- ...e_number_administration_client.test_cancel_search.yaml | 8 ++++---- ...umber_administration_client.test_configure_number.yaml | 8 ++++---- ...e_number_administration_client.test_create_search.yaml | 8 ++++---- ...ber_administration_client.test_get_all_area_codes.yaml | 8 ++++---- ...dministration_client.test_get_capabilities_update.yaml | 8 ++++---- ...ministration_client.test_get_number_configuration.yaml | 8 ++++---- ...ation_client.test_get_phone_plan_location_options.yaml | 8 ++++---- ...mber_administration_client.test_get_release_by_id.yaml | 8 ++++---- ...umber_administration_client.test_get_search_by_id.yaml | 8 ++++---- ...administration_client.test_list_all_phone_numbers.yaml | 8 ++++---- ...mber_administration_client.test_list_all_releases.yaml | 8 ++++---- ...stration_client.test_list_all_supported_countries.yaml | 8 ++++---- ...administration_client.test_list_phone_plan_groups.yaml | 8 ++++---- ...umber_administration_client.test_list_phone_plans.yaml | 8 ++++---- ...number_administration_client.test_purchase_search.yaml | 8 ++++---- ..._administration_client.test_release_phone_numbers.yaml | 8 ++++---- ...er_administration_client.test_update_capabilities.yaml | 8 ++++---- ...er_administration_client_async.test_cancel_search.yaml | 6 +++--- ...administration_client_async.test_configure_number.yaml | 8 ++++---- ...er_administration_client_async.test_create_search.yaml | 8 ++++---- ...ministration_client_async.test_get_all_area_codes.yaml | 8 ++++---- ...tration_client_async.test_get_capabilities_update.yaml | 8 ++++---- ...ration_client_async.test_get_number_configuration.yaml | 8 ++++---- ...client_async.test_get_phone_plan_location_options.yaml | 8 ++++---- ...dministration_client_async.test_get_release_by_id.yaml | 8 ++++---- ...administration_client_async.test_get_search_by_id.yaml | 8 ++++---- ...stration_client_async.test_list_all_phone_numbers.yaml | 8 ++++---- ...dministration_client_async.test_list_all_releases.yaml | 8 ++++---- ...on_client_async.test_list_all_supported_countries.yaml | 8 ++++---- ...stration_client_async.test_list_phone_plan_groups.yaml | 8 ++++---- ...administration_client_async.test_list_phone_plans.yaml | 8 ++++---- ..._administration_client_async.test_purchase_search.yaml | 8 ++++---- ...istration_client_async.test_release_phone_numbers.yaml | 8 ++++---- ...inistration_client_async.test_update_capabilities.yaml | 8 ++++---- 34 files changed, 135 insertions(+), 135 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml index 6b5dd6d3237a..c8be9b0777e1 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:36:59 GMT + - Thu, 08 Oct 2020 23:18:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 20:37:00 GMT + - Thu, 08 Oct 2020 23:18:46 GMT ms-cv: - - HVsaom/of0WDz9oaQEqvXQ.0 + - QPgYGxL4REm8kEBwMSVDtQ.0 x-processing-time: - - 587ms + - 662ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml index c84767c5713d..361e2902d1cd 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:00 GMT + - Thu, 08 Oct 2020 23:18:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,11 +28,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 20:37:02 GMT + - Thu, 08 Oct 2020 23:18:47 GMT ms-cv: - - vx1CfabAmESL2vnVmouMyA.0 + - wYG+HOygx0yQYOkOCVAl0Q.0 x-processing-time: - - 1295ms + - 1253ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml index 0c4e58ad745f..5bea36efa5f5 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:02 GMT + - Thu, 08 Oct 2020 23:18:48 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,13 +28,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:03 GMT + - Thu, 08 Oct 2020 23:18:49 GMT ms-cv: - - 0td3E5AV+k+sJjO5v9obEQ.0 + - oskdghHO0kGrLhc7sSsKGA.0 transfer-encoding: - chunked x-processing-time: - - 1513ms + - 1489ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml index 2b20314c5d9d..56d976d396b3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:03 GMT + - Thu, 08 Oct 2020 23:18:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:04 GMT + - Thu, 08 Oct 2020 23:18:50 GMT ms-cv: - - 1v77P2xTE0u31LwUZvhgVw.0 + - TLa+yv0JJEGqQVZ6kZCUAg.0 transfer-encoding: - chunked x-processing-time: - - 521ms + - 171ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml index 97669071f177..15590b675a97 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:04 GMT + - Thu, 08 Oct 2020 23:18:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -23,13 +23,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:04 GMT + - Thu, 08 Oct 2020 23:18:50 GMT ms-cv: - - TBUWm9qY/E6T4ASa9fLIHw.0 + - N4guwFDsjkWcbNEuKK3NVA.0 transfer-encoding: - chunked x-processing-time: - - 403ms + - 295ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml index f2bce6b2c90d..50baa0996678 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:05 GMT + - Thu, 08 Oct 2020 23:18:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:05 GMT + - Thu, 08 Oct 2020 23:18:51 GMT ms-cv: - - iHVwXnvt40ehfqSvctLT5Q.0 + - fGANFO0IDEe3/1PgZ+nOiw.0 transfer-encoding: - chunked x-processing-time: - - 581ms + - 866ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml index 3f37b66a8f4d..b73e2543a7ea 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:05 GMT + - Thu, 08 Oct 2020 23:18:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:05 GMT + - Thu, 08 Oct 2020 23:18:52 GMT ms-cv: - - n85E+IVvXEmGQTOy+W+r2g.0 + - mzDmmUPJ1k6i1RDv62svCQ.0 transfer-encoding: - chunked x-processing-time: - - 312ms + - 295ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml index 485a715740c3..0aa6cfb9c391 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:06 GMT + - Thu, 08 Oct 2020 23:18:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:06 GMT + - Thu, 08 Oct 2020 23:18:52 GMT ms-cv: - - VHYL/BrotUaUkuwIaQM9Iw.0 + - O8TSmX/GKUqOiLJUM9oPyQ.0 transfer-encoding: - chunked x-processing-time: - - 202ms + - 506ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml index afbb51c533e0..6c18f0997dc9 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:06 GMT + - Thu, 08 Oct 2020 23:18:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:06 GMT + - Thu, 08 Oct 2020 23:18:53 GMT ms-cv: - - VPalTwC2ZkmTWrYCXfVGSw.0 + - cRiX9CLb/kS7Di1X9TlFlA.0 transfer-encoding: - chunked x-processing-time: - - 287ms + - 627ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml index 905888fb13c7..e8834d997061 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:07 GMT + - Thu, 08 Oct 2020 23:18:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:07 GMT + - Thu, 08 Oct 2020 23:18:54 GMT ms-cv: - - ZlZbgm0VJUCctp4AMsFSmA.0 + - ylpBp6SINUy1Q/mLCgCdYQ.0 transfer-encoding: - chunked x-processing-time: - - 290ms + - 742ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml index a746611898e4..588b9306ee85 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:07 GMT + - Thu, 08 Oct 2020 23:18:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:07 GMT + - Thu, 08 Oct 2020 23:18:54 GMT ms-cv: - - y6JarLqpQ0Sm+eMhC/8DSw.0 + - iopHtx4DUEGmD2lpc0TwDw.0 transfer-encoding: - chunked x-processing-time: - - 278ms + - 288ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml index d7002df22a9c..7234b3352ffb 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:08 GMT + - Thu, 08 Oct 2020 23:18:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:08 GMT + - Thu, 08 Oct 2020 23:18:55 GMT ms-cv: - - Ji7oQRll8EOh6bLg/RgvqQ.0 + - pF7rrJCx8EOgQ4sXby8rfA.0 transfer-encoding: - chunked x-processing-time: - - 575ms + - 756ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml index f689defc1286..80588e608cf5 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:08 GMT + - Thu, 08 Oct 2020 23:18:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:09 GMT + - Thu, 08 Oct 2020 23:18:55 GMT ms-cv: - - MLSnOcD8tkaSeqFu0HCUJA.0 + - P+H+6YPr60ausQxUORgJFw.0 transfer-encoding: - chunked x-processing-time: - - 586ms + - 357ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml index df3232b0f72d..b4365b56ad59 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 20:37:09 GMT + - Thu, 08 Oct 2020 23:18:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:09 GMT + - Thu, 08 Oct 2020 23:18:56 GMT ms-cv: - - tGWLj2SX20aQhb97biBvQA.0 + - HyT/aI14hki5Mxj3+/UwmA.0 transfer-encoding: - chunked x-processing-time: - - 277ms + - 272ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml index 69b757a4d896..f7295db246cb 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:37:09 GMT + - Thu, 08 Oct 2020 23:18:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 20:37:09 GMT + - Thu, 08 Oct 2020 23:18:56 GMT ms-cv: - - jCLNiyH5nE2Qp9duue58YQ.0 + - Ux/vvvKdKEiQoUKGDYJJAg.0 x-processing-time: - - 259ms + - 282ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml index ba848dec15cb..1866fc156c47 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:10 GMT + - Thu, 08 Oct 2020 23:18:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:11 GMT + - Thu, 08 Oct 2020 23:18:57 GMT ms-cv: - - BCnQJrFjD0Cnc69qGESknQ.0 + - oZSXdz1/Ik6qkOkW9rdkEA.0 transfer-encoding: - chunked x-processing-time: - - 1010ms + - 589ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml index 7d44f1cabf00..b7feaf8f6387 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:11 GMT + - Thu, 08 Oct 2020 23:18:58 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:37:11 GMT + - Thu, 08 Oct 2020 23:18:58 GMT ms-cv: - - rlsGoqCo+0K0i+iUgeR8mA.0 + - VJhJZH7Dr06impv/Papixw.0 transfer-encoding: - chunked x-processing-time: - - 527ms + - 547ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml index 994ca2a8e78d..23ae02b76472 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Thu, 08 Oct 2020 20:37:12 GMT + - Thu, 08 Oct 2020 23:18:58 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,8 +15,8 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 20:37:11 GMT - ms-cv: Zo1jMCcAU02bm5oGMXZqHQ.0 + date: Thu, 08 Oct 2020 23:18:58 GMT + ms-cv: zcpvlOBEhk+BvgjD+pIhfA.0 x-processing-time: 270ms status: code: 202 diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml index e93811bab289..cde2a282b32e 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml @@ -8,7 +8,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:12 GMT + - Thu, 08 Oct 2020 23:18:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,9 +20,9 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 20:37:12 GMT - ms-cv: Re53P7HT5keTJzvAu93Wsg.0 - x-processing-time: 280ms + date: Thu, 08 Oct 2020 23:18:58 GMT + ms-cv: jPLlYuEzxEaRszzTRSx66g.0 + x-processing-time: 290ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml index abc2e3d67007..01b5525f7ee2 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:12 GMT + - Thu, 08 Oct 2020 23:18:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,10 +22,10 @@ interactions: body: '{"searchId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:13 GMT - ms-cv: T6Kl5CH+FUevlBBqo8DmBg.0 + date: Thu, 08 Oct 2020 23:18:59 GMT + ms-cv: f4/Hnku4IESysdISeXW8cw.0 transfer-encoding: chunked - x-processing-time: 702ms + x-processing-time: 736ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml index bfc82e66b8d9..ea670673530b 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:13 GMT + - Thu, 08 Oct 2020 23:19:00 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:13 GMT - ms-cv: 45HBIeQ55kWc80tMVgaeag.0 + date: Thu, 08 Oct 2020 23:19:00 GMT + ms-cv: 8Fp9LJbOzku8AlqChjfQ/g.0 transfer-encoding: chunked - x-processing-time: 181ms + x-processing-time: 203ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml index 490ddbd4c056..eec3ba70921f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:14 GMT + - Thu, 08 Oct 2020 23:19:00 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -17,10 +17,10 @@ interactions: "capabilitiesUpdateStatus": "Complete", "phoneNumberCapabilitiesUpdates": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:13 GMT - ms-cv: Hc4elzu63kq/ws9ppNf7qQ.0 + date: Thu, 08 Oct 2020 23:19:00 GMT + ms-cv: yHyU+hfRiEiG9Y4LP9Cppw.0 transfer-encoding: chunked - x-processing-time: 278ms + x-processing-time: 272ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml index c246d4cb830c..b120b461ef0f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:14 GMT + - Thu, 08 Oct 2020 23:19:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "ApplicationId"}}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:14 GMT - ms-cv: IjtZNgMHiEWBE7w1r3J43g.0 + date: Thu, 08 Oct 2020 23:19:00 GMT + ms-cv: jz/Vruah1kujhKAp0eXXew.0 transfer-encoding: chunked - x-processing-time: 115ms + x-processing-time: 152ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml index 0c2f4b52b39d..465e27372c23 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:14 GMT + - Thu, 08 Oct 2020 23:19:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:14 GMT - ms-cv: P957BPp3g0u2oZSL5Pkw6g.0 + date: Thu, 08 Oct 2020 23:19:01 GMT + ms-cv: xi9ixEeAqE+hXSbPAvVwRA.0 transfer-encoding: chunked - x-processing-time: 298ms + x-processing-time: 303ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml index 0723ddf2366e..8ee428a2e4ff 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:15 GMT + - Thu, 08 Oct 2020 23:19:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "phoneNumberReleaseStatusDetails": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:14 GMT - ms-cv: /nriBoQhekCezTordg/TJg.0 + date: Thu, 08 Oct 2020 23:19:01 GMT + ms-cv: JbgHrF+aZ0eATenmNC3kBQ.0 transfer-encoding: chunked - x-processing-time: 448ms + x-processing-time: 198ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml index bb79d775f7ff..e112ce949aab 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:15 GMT + - Thu, 08 Oct 2020 23:19:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: "2020-10-02T21:55:47.9734151+00:00"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:15 GMT - ms-cv: qs9rMItdPk2M69GsyurYwQ.0 + date: Thu, 08 Oct 2020 23:19:01 GMT + ms-cv: r5h/b0g770iSBd2rOYlAoQ.0 transfer-encoding: chunked - x-processing-time: 267ms + x-processing-time: 339ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml index 030a237168f8..b569e8c4af7e 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:16 GMT + - Thu, 08 Oct 2020 23:19:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phoneNumbers": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:15 GMT - ms-cv: 359ZRHUA9Eiz9M+Ll3kmeA.0 + date: Thu, 08 Oct 2020 23:19:02 GMT + ms-cv: Hxq6ytIECEGv7WldKeG9kg.0 transfer-encoding: chunked - x-processing-time: 424ms + x-processing-time: 512ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml index b6e24e020733..95f6d5a578e0 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:16 GMT + - Thu, 08 Oct 2020 23:19:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"entities": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:16 GMT - ms-cv: lOtlq3tjaE2uUv6arBPFRw.0 + date: Thu, 08 Oct 2020 23:19:03 GMT + ms-cv: 0+xYhRZecEyq48cROHpG8A.0 transfer-encoding: chunked - x-processing-time: 280ms + x-processing-time: 583ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml index aec8941a7300..686c8949f37e 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:17 GMT + - Thu, 08 Oct 2020 23:19:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "US"}], "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:16 GMT - ms-cv: wgaK3Y6KikeLqCVGKxE3GA.0 + date: Thu, 08 Oct 2020 23:19:03 GMT + ms-cv: s6SDnXTjuEChF6Q0pkkOVw.0 transfer-encoding: chunked - x-processing-time: 413ms + x-processing-time: 433ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml index d48e0331fd0e..db61caf783ae 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:17 GMT + - Thu, 08 Oct 2020 23:19:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlanGroups": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:17 GMT - ms-cv: yrk3rS2pe0GPZRjEz15Rqg.0 + date: Thu, 08 Oct 2020 23:19:04 GMT + ms-cv: 2kZ31s/8nk6TtvotpRzjKA.0 transfer-encoding: chunked - x-processing-time: 657ms + x-processing-time: 289ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml index 7de6f7d9929e..8784e5a956d7 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:37:18 GMT + - Thu, 08 Oct 2020 23:19:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlans": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:18 GMT - ms-cv: tzgs1w7OcUmyeseRl/qLGQ.0 + date: Thu, 08 Oct 2020 23:19:04 GMT + ms-cv: nCI7MVBGLU2+1reN4ayeKw.0 transfer-encoding: chunked - x-processing-time: 232ms + x-processing-time: 290ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml index 91f37b4cddcb..9b9ec8e4e8da 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Thu, 08 Oct 2020 20:37:18 GMT + - Thu, 08 Oct 2020 23:19:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 20:37:18 GMT - ms-cv: UUpvArEVWEiqxc0z8oQcRw.0 - x-processing-time: 265ms + date: Thu, 08 Oct 2020 23:19:05 GMT + ms-cv: Bqpb8hOHN0OWBtil+66n+g.0 + x-processing-time: 286ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml index 030fef023c15..5cf1cc6d39f4 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:19 GMT + - Thu, 08 Oct 2020 23:19:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"releaseId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:19 GMT - ms-cv: zSjcVee8n0yvF3M8QSQWTw.0 + date: Thu, 08 Oct 2020 23:19:05 GMT + ms-cv: t+haXBy/7kWvUmMupyLIIw.0 transfer-encoding: chunked - x-processing-time: 561ms + x-processing-time: 596ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml index 73d755e7bd91..0c0c0798714c 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:37:19 GMT + - Thu, 08 Oct 2020 23:19:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"capabilitiesUpdateId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:37:20 GMT - ms-cv: /tw7eaZEUkSyCshOI5+PGA.0 + date: Thu, 08 Oct 2020 23:19:06 GMT + ms-cv: vME3f4INek+pGCuXwBAnVQ.0 transfer-encoding: chunked - x-processing-time: 601ms + x-processing-time: 553ms status: code: 200 message: OK From 1956579668ce08dd579d81d3b2232de428142b10 Mon Sep 17 00:00:00 2001 From: turalf Date: Fri, 9 Oct 2020 16:51:24 -0700 Subject: [PATCH 26/28] Update recording files --- ...e_number_administration_client.test_cancel_search.yaml | 8 ++++---- ...umber_administration_client.test_configure_number.yaml | 8 ++++---- ...e_number_administration_client.test_create_search.yaml | 8 ++++---- ...ber_administration_client.test_get_all_area_codes.yaml | 8 ++++---- ...dministration_client.test_get_capabilities_update.yaml | 8 ++++---- ...ministration_client.test_get_number_configuration.yaml | 8 ++++---- ...ation_client.test_get_phone_plan_location_options.yaml | 8 ++++---- ...mber_administration_client.test_get_release_by_id.yaml | 8 ++++---- ...umber_administration_client.test_get_search_by_id.yaml | 8 ++++---- ...administration_client.test_list_all_phone_numbers.yaml | 8 ++++---- ...mber_administration_client.test_list_all_releases.yaml | 8 ++++---- ...stration_client.test_list_all_supported_countries.yaml | 8 ++++---- ...administration_client.test_list_phone_plan_groups.yaml | 8 ++++---- ...umber_administration_client.test_list_phone_plans.yaml | 8 ++++---- ...number_administration_client.test_purchase_search.yaml | 8 ++++---- ..._administration_client.test_release_phone_numbers.yaml | 8 ++++---- ...er_administration_client.test_update_capabilities.yaml | 8 ++++---- ...er_administration_client_async.test_cancel_search.yaml | 8 ++++---- ...administration_client_async.test_configure_number.yaml | 8 ++++---- ...er_administration_client_async.test_create_search.yaml | 8 ++++---- ...ministration_client_async.test_get_all_area_codes.yaml | 8 ++++---- ...tration_client_async.test_get_capabilities_update.yaml | 8 ++++---- ...ration_client_async.test_get_number_configuration.yaml | 8 ++++---- ...client_async.test_get_phone_plan_location_options.yaml | 8 ++++---- ...dministration_client_async.test_get_release_by_id.yaml | 8 ++++---- ...administration_client_async.test_get_search_by_id.yaml | 8 ++++---- ...stration_client_async.test_list_all_phone_numbers.yaml | 8 ++++---- ...dministration_client_async.test_list_all_releases.yaml | 8 ++++---- ...on_client_async.test_list_all_supported_countries.yaml | 8 ++++---- ...stration_client_async.test_list_phone_plan_groups.yaml | 8 ++++---- ...administration_client_async.test_list_phone_plans.yaml | 8 ++++---- ..._administration_client_async.test_purchase_search.yaml | 8 ++++---- ...istration_client_async.test_release_phone_numbers.yaml | 8 ++++---- ...inistration_client_async.test_update_capabilities.yaml | 8 ++++---- 34 files changed, 136 insertions(+), 136 deletions(-) diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml index c8be9b0777e1..6b1f9971ea32 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 23:18:46 GMT + - Fri, 09 Oct 2020 23:49:30 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 23:18:46 GMT + - Fri, 09 Oct 2020 23:49:30 GMT ms-cv: - - QPgYGxL4REm8kEBwMSVDtQ.0 + - EBm7hBdcUE6xfC2T6v9/PQ.0 x-processing-time: - - 662ms + - 479ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml index 361e2902d1cd..b8b4317c61a3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:46 GMT + - Fri, 09 Oct 2020 23:49:31 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,11 +28,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 23:18:47 GMT + - Fri, 09 Oct 2020 23:49:31 GMT ms-cv: - - wYG+HOygx0yQYOkOCVAl0Q.0 + - UERMwrwKXk+Qgj0b5VM2QQ.0 x-processing-time: - - 1253ms + - 719ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml index 5bea36efa5f5..c30ad54be319 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:48 GMT + - Fri, 09 Oct 2020 23:49:32 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,13 +28,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:49 GMT + - Fri, 09 Oct 2020 23:49:33 GMT ms-cv: - - oskdghHO0kGrLhc7sSsKGA.0 + - vA3ljGLPzEi/XSGigdFpwA.0 transfer-encoding: - chunked x-processing-time: - - 1489ms + - 1156ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml index 56d976d396b3..e1e8717d3d66 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:50 GMT + - Fri, 09 Oct 2020 23:49:33 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:50 GMT + - Fri, 09 Oct 2020 23:49:33 GMT ms-cv: - - TLa+yv0JJEGqQVZ6kZCUAg.0 + - HlMiJ0eoVUOU3xQQ9H0tqw.0 transfer-encoding: - chunked x-processing-time: - - 171ms + - 175ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml index 15590b675a97..f8e2fdad3701 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:50 GMT + - Fri, 09 Oct 2020 23:49:34 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -23,13 +23,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:50 GMT + - Fri, 09 Oct 2020 23:49:33 GMT ms-cv: - - N4guwFDsjkWcbNEuKK3NVA.0 + - QGgLSbS51UGdtaV3UFKo+g.0 transfer-encoding: - chunked x-processing-time: - - 295ms + - 394ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml index 50baa0996678..fc3bc8c8d5c2 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:50 GMT + - Fri, 09 Oct 2020 23:49:34 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:51 GMT + - Fri, 09 Oct 2020 23:49:34 GMT ms-cv: - - fGANFO0IDEe3/1PgZ+nOiw.0 + - oKQLE+1i6k6R/RuMLiEJ6w.0 transfer-encoding: - chunked x-processing-time: - - 866ms + - 571ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml index b73e2543a7ea..03bc83e98c33 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:51 GMT + - Fri, 09 Oct 2020 23:49:35 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:52 GMT + - Fri, 09 Oct 2020 23:49:35 GMT ms-cv: - - mzDmmUPJ1k6i1RDv62svCQ.0 + - xKWmIhIj0Uytas8UWAOE6g.0 transfer-encoding: - chunked x-processing-time: - - 295ms + - 347ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml index 0aa6cfb9c391..3233e9fd5d89 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:52 GMT + - Fri, 09 Oct 2020 23:49:36 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:52 GMT + - Fri, 09 Oct 2020 23:49:36 GMT ms-cv: - - O8TSmX/GKUqOiLJUM9oPyQ.0 + - XASMzFit00ilAEQLKtRA/g.0 transfer-encoding: - chunked x-processing-time: - - 506ms + - 495ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml index 6c18f0997dc9..8b6a5212f916 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:53 GMT + - Fri, 09 Oct 2020 23:49:36 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:53 GMT + - Fri, 09 Oct 2020 23:49:36 GMT ms-cv: - - cRiX9CLb/kS7Di1X9TlFlA.0 + - 2WJa+2ekrE2weK0XIseuhw.0 transfer-encoding: - chunked x-processing-time: - - 627ms + - 324ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml index e8834d997061..7d6b624f2e00 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:53 GMT + - Fri, 09 Oct 2020 23:49:37 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:54 GMT + - Fri, 09 Oct 2020 23:49:37 GMT ms-cv: - - ylpBp6SINUy1Q/mLCgCdYQ.0 + - TZJRFNFzvUmPiJk1G5qZcA.0 transfer-encoding: - chunked x-processing-time: - - 742ms + - 288ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml index 588b9306ee85..fbbca05ddf4c 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:54 GMT + - Fri, 09 Oct 2020 23:49:37 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:54 GMT + - Fri, 09 Oct 2020 23:49:37 GMT ms-cv: - - iopHtx4DUEGmD2lpc0TwDw.0 + - TDFbcUu/gU2W8XeveZauDA.0 transfer-encoding: - chunked x-processing-time: - - 288ms + - 403ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml index 7234b3352ffb..47b8081cee15 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:55 GMT + - Fri, 09 Oct 2020 23:49:38 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:55 GMT + - Fri, 09 Oct 2020 23:49:38 GMT ms-cv: - - pF7rrJCx8EOgQ4sXby8rfA.0 + - Ng+I2py8qUCag+Vo4ULOWw.0 transfer-encoding: - chunked x-processing-time: - - 756ms + - 477ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml index 80588e608cf5..2e83c9e4fbe7 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:56 GMT + - Fri, 09 Oct 2020 23:49:38 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:55 GMT + - Fri, 09 Oct 2020 23:49:38 GMT ms-cv: - - P+H+6YPr60ausQxUORgJFw.0 + - DOco/rjuH063NJcaqZ+x7w.0 transfer-encoding: - chunked x-processing-time: - - 357ms + - 252ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml index b4365b56ad59..5b673cdda63b 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Thu, 08 Oct 2020 23:18:56 GMT + - Fri, 09 Oct 2020 23:49:39 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:56 GMT + - Fri, 09 Oct 2020 23:49:38 GMT ms-cv: - - HyT/aI14hki5Mxj3+/UwmA.0 + - uUpCnsJqHU2Z8UVRx462SQ.0 transfer-encoding: - chunked x-processing-time: - - 272ms + - 312ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml index f7295db246cb..c6887c3b27b0 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 23:18:56 GMT + - Fri, 09 Oct 2020 23:49:39 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Thu, 08 Oct 2020 23:18:56 GMT + - Fri, 09 Oct 2020 23:49:39 GMT ms-cv: - - Ux/vvvKdKEiQoUKGDYJJAg.0 + - Jy2Qf0KSI0K2AkCNPMBJ+A.0 x-processing-time: - - 282ms + - 288ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml index 1866fc156c47..6e4827e35ab3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:57 GMT + - Fri, 09 Oct 2020 23:49:40 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:57 GMT + - Fri, 09 Oct 2020 23:49:41 GMT ms-cv: - - oZSXdz1/Ik6qkOkW9rdkEA.0 + - GilNWn4jUUOP+ExPdzKdrg.0 transfer-encoding: - chunked x-processing-time: - - 589ms + - 1122ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml index b7feaf8f6387..58c4c0a4e2ae 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:58 GMT + - Fri, 09 Oct 2020 23:49:41 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 23:18:58 GMT + - Fri, 09 Oct 2020 23:49:42 GMT ms-cv: - - VJhJZH7Dr06impv/Papixw.0 + - rm9igJjfn0SgJzc0wqrnkA.0 transfer-encoding: - chunked x-processing-time: - - 547ms + - 614ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml index 23ae02b76472..475835422e6c 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Thu, 08 Oct 2020 23:18:58 GMT + - Fri, 09 Oct 2020 23:49:42 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 23:18:58 GMT - ms-cv: zcpvlOBEhk+BvgjD+pIhfA.0 - x-processing-time: 270ms + date: Fri, 09 Oct 2020 23:49:41 GMT + ms-cv: OHa0cRLxQ066NVyeHoaf4Q.0 + x-processing-time: 294ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml index cde2a282b32e..6e5642d5e4c6 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml @@ -8,7 +8,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:59 GMT + - Fri, 09 Oct 2020 23:49:42 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,9 +20,9 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 23:18:58 GMT - ms-cv: jPLlYuEzxEaRszzTRSx66g.0 - x-processing-time: 290ms + date: Fri, 09 Oct 2020 23:49:42 GMT + ms-cv: gRhANwpvLEKb5lhJ/Ah0Lg.0 + x-processing-time: 299ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml index 01b5525f7ee2..e684f6c7fa8b 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:18:59 GMT + - Fri, 09 Oct 2020 23:49:43 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,10 +22,10 @@ interactions: body: '{"searchId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:18:59 GMT - ms-cv: f4/Hnku4IESysdISeXW8cw.0 + date: Fri, 09 Oct 2020 23:49:44 GMT + ms-cv: cIaKnh45VECLPGkkuCknKw.0 transfer-encoding: chunked - x-processing-time: 736ms + x-processing-time: 1382ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml index ea670673530b..8b34aa7f8bb8 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:19:00 GMT + - Fri, 09 Oct 2020 23:49:44 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:00 GMT - ms-cv: 8Fp9LJbOzku8AlqChjfQ/g.0 + date: Fri, 09 Oct 2020 23:49:45 GMT + ms-cv: n6ai7XmkpU+fg5/uTqfXoQ.0 transfer-encoding: chunked - x-processing-time: 203ms + x-processing-time: 785ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml index eec3ba70921f..da53f057ef9a 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:00 GMT + - Fri, 09 Oct 2020 23:49:45 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -17,10 +17,10 @@ interactions: "capabilitiesUpdateStatus": "Complete", "phoneNumberCapabilitiesUpdates": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:00 GMT - ms-cv: yHyU+hfRiEiG9Y4LP9Cppw.0 + date: Fri, 09 Oct 2020 23:49:46 GMT + ms-cv: X4eUjcAH5EyabVu5emlCug.0 transfer-encoding: chunked - x-processing-time: 272ms + x-processing-time: 1026ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml index b120b461ef0f..dab0ae825ebc 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:19:01 GMT + - Fri, 09 Oct 2020 23:49:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "ApplicationId"}}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:00 GMT - ms-cv: jz/Vruah1kujhKAp0eXXew.0 + date: Fri, 09 Oct 2020 23:49:46 GMT + ms-cv: 8HyhbKB6pkOHFFIGVkmAYw.0 transfer-encoding: chunked - x-processing-time: 152ms + x-processing-time: 93ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml index 465e27372c23..d84f5b33b27e 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:01 GMT + - Fri, 09 Oct 2020 23:49:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:01 GMT - ms-cv: xi9ixEeAqE+hXSbPAvVwRA.0 + date: Fri, 09 Oct 2020 23:49:46 GMT + ms-cv: knThOuj5e0WdIfieKu85bw.0 transfer-encoding: chunked - x-processing-time: 303ms + x-processing-time: 765ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml index 8ee428a2e4ff..c0d4e8406020 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:01 GMT + - Fri, 09 Oct 2020 23:49:47 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "phoneNumberReleaseStatusDetails": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:01 GMT - ms-cv: JbgHrF+aZ0eATenmNC3kBQ.0 + date: Fri, 09 Oct 2020 23:49:48 GMT + ms-cv: BdzJfkojc0mhYW2YmTJWMw.0 transfer-encoding: chunked - x-processing-time: 198ms + x-processing-time: 765ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml index e112ce949aab..e4d05715184d 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:02 GMT + - Fri, 09 Oct 2020 23:49:48 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: "2020-10-02T21:55:47.9734151+00:00"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:01 GMT - ms-cv: r5h/b0g770iSBd2rOYlAoQ.0 + date: Fri, 09 Oct 2020 23:49:48 GMT + ms-cv: CtVBv5JtoUiVeOTW5t9cQg.0 transfer-encoding: chunked - x-processing-time: 339ms + x-processing-time: 279ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml index b569e8c4af7e..de0ec33bca35 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:02 GMT + - Fri, 09 Oct 2020 23:49:49 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phoneNumbers": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:02 GMT - ms-cv: Hxq6ytIECEGv7WldKeG9kg.0 + date: Fri, 09 Oct 2020 23:49:50 GMT + ms-cv: fD4P0X2isUOKxyncx5wQcA.0 transfer-encoding: chunked - x-processing-time: 512ms + x-processing-time: 2278ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml index 95f6d5a578e0..cfb8ea39248f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:03 GMT + - Fri, 09 Oct 2020 23:49:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"entities": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:03 GMT - ms-cv: 0+xYhRZecEyq48cROHpG8A.0 + date: Fri, 09 Oct 2020 23:49:52 GMT + ms-cv: NpAHxImylUObiCLnzx8pXA.0 transfer-encoding: chunked - x-processing-time: 583ms + x-processing-time: 1217ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml index 686c8949f37e..30a66a7b25db 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:04 GMT + - Fri, 09 Oct 2020 23:49:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "US"}], "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:03 GMT - ms-cv: s6SDnXTjuEChF6Q0pkkOVw.0 + date: Fri, 09 Oct 2020 23:49:53 GMT + ms-cv: /RhDHALFPEqfTTq0A0ODZw.0 transfer-encoding: chunked - x-processing-time: 433ms + x-processing-time: 901ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml index db61caf783ae..0176b588947d 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:04 GMT + - Fri, 09 Oct 2020 23:49:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlanGroups": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:04 GMT - ms-cv: 2kZ31s/8nk6TtvotpRzjKA.0 + date: Fri, 09 Oct 2020 23:49:54 GMT + ms-cv: Knv/tELZE0CgwtmbV+bBGw.0 transfer-encoding: chunked - x-processing-time: 289ms + x-processing-time: 994ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml index 8784e5a956d7..7c07763fe45a 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 23:19:04 GMT + - Fri, 09 Oct 2020 23:49:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlans": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:04 GMT - ms-cv: nCI7MVBGLU2+1reN4ayeKw.0 + date: Fri, 09 Oct 2020 23:49:55 GMT + ms-cv: QykMETuu8ESxTWlJh3Z+Tg.0 transfer-encoding: chunked - x-processing-time: 290ms + x-processing-time: 924ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml index 9b9ec8e4e8da..3303ef328a30 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Thu, 08 Oct 2020 23:19:05 GMT + - Fri, 09 Oct 2020 23:49:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 08 Oct 2020 23:19:05 GMT - ms-cv: Bqpb8hOHN0OWBtil+66n+g.0 - x-processing-time: 286ms + date: Fri, 09 Oct 2020 23:49:56 GMT + ms-cv: zZ7/NEI2OEKrxuy02C0hNg.0 + x-processing-time: 883ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml index 5cf1cc6d39f4..1a5fd72a20ba 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:19:05 GMT + - Fri, 09 Oct 2020 23:49:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"releaseId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:05 GMT - ms-cv: t+haXBy/7kWvUmMupyLIIw.0 + date: Fri, 09 Oct 2020 23:49:58 GMT + ms-cv: 9ooDrX8q2kSifc3gUoRQFg.0 transfer-encoding: chunked - x-processing-time: 596ms + x-processing-time: 1221ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml index 0c0c0798714c..6b33609fa786 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml +++ b/sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 23:19:06 GMT + - Fri, 09 Oct 2020 23:49:58 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"capabilitiesUpdateId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 23:19:06 GMT - ms-cv: vME3f4INek+pGCuXwBAnVQ.0 + date: Fri, 09 Oct 2020 23:50:04 GMT + ms-cv: +dGdK6Wlik+RUiT1hvSMGA.0 transfer-encoding: chunked - x-processing-time: 553ms + x-processing-time: 5839ms status: code: 200 message: OK From 4f8fa0946264a2b3a1b3e926d4609f0ffa1e971b Mon Sep 17 00:00:00 2001 From: turalf Date: Mon, 12 Oct 2020 15:45:53 -0700 Subject: [PATCH 27/28] Reorganize the test folder structure --- .../tests/__init__.py | 6 - .../tests/identity/__init__.py | 6 - ...toin_identity_client.test_create_user.yaml | 41 ------ ...toin_identity_client.test_delete_user.yaml | 77 ----------- ...toin_identity_client.test_issue_token.yaml | 82 ------------ ...in_identity_client.test_revoke_tokens.yaml | 120 ------------------ ...dentity_client_async.test_create_user.yaml | 29 ----- ...dentity_client_async.test_delete_user.yaml | 53 -------- ...dentity_client_async.test_issue_token.yaml | 60 --------- ...ntity_client_async.test_revoke_tokens.yaml | 88 ------------- .../tests/phone_number/__init__.py | 6 - .../{phone_number => }/phone_number_helper.py | 0 .../phone_number_testcase.py | 2 +- .../phone_number_testcase_async.py | 4 +- ...tion_identity_client.test_create_user.yaml | 8 +- ...tion_identity_client.test_delete_user.yaml | 16 +-- ...tion_identity_client.test_issue_token.yaml | 18 +-- ...on_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 ++-- ...inistration_client.test_cancel_search.yaml | 8 +- ...stration_client.test_configure_number.yaml | 8 +- ...inistration_client.test_create_search.yaml | 8 +- ...ration_client.test_get_all_area_codes.yaml | 8 +- ...n_client.test_get_capabilities_update.yaml | 8 +- ..._client.test_get_number_configuration.yaml | 8 +- ....test_get_phone_plan_location_options.yaml | 8 +- ...tration_client.test_get_release_by_id.yaml | 8 +- ...stration_client.test_get_search_by_id.yaml | 8 +- ...on_client.test_list_all_phone_numbers.yaml | 8 +- ...tration_client.test_list_all_releases.yaml | 8 +- ...ent.test_list_all_supported_countries.yaml | 8 +- ...on_client.test_list_phone_plan_groups.yaml | 8 +- ...stration_client.test_list_phone_plans.yaml | 8 +- ...istration_client.test_purchase_search.yaml | 8 +- ...ion_client.test_release_phone_numbers.yaml | 8 +- ...ation_client.test_update_capabilities.yaml | 8 +- ...ation_client_async.test_cancel_search.yaml | 8 +- ...on_client_async.test_configure_number.yaml | 8 +- ...ation_client_async.test_create_search.yaml | 8 +- ..._client_async.test_get_all_area_codes.yaml | 8 +- ...nt_async.test_get_capabilities_update.yaml | 8 +- ...t_async.test_get_number_configuration.yaml | 8 +- ....test_get_phone_plan_location_options.yaml | 8 +- ...n_client_async.test_get_release_by_id.yaml | 8 +- ...on_client_async.test_get_search_by_id.yaml | 8 +- ...ent_async.test_list_all_phone_numbers.yaml | 8 +- ...n_client_async.test_list_all_releases.yaml | 8 +- ...ync.test_list_all_supported_countries.yaml | 8 +- ...ent_async.test_list_phone_plan_groups.yaml | 8 +- ...on_client_async.test_list_phone_plans.yaml | 8 +- ...ion_client_async.test_purchase_search.yaml | 8 +- ...ient_async.test_release_phone_numbers.yaml | 8 +- ...client_async.test_update_capabilities.yaml | 8 +- .../test_communication_identity_client.py | 6 +- ...est_communication_identity_client_async.py | 8 +- ...test_phone_number_administration_client.py | 6 +- ...hone_number_administration_client_async.py | 6 +- 60 files changed, 220 insertions(+), 788 deletions(-) delete mode 100644 sdk/communication/azure-communication-administration/tests/__init__.py delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/__init__.py delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml delete mode 100644 sdk/communication/azure-communication-administration/tests/phone_number/__init__.py rename sdk/communication/azure-communication-administration/tests/{phone_number => }/phone_number_helper.py (100%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/phone_number_testcase.py (94%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/phone_number_testcase_async.py (82%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client.test_create_user.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client.test_delete_user.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client.test_issue_token.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client.test_revoke_tokens.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client_async.test_create_user.yaml (84%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client_async.test_delete_user.yaml (83%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client_async.test_issue_token.yaml (84%) rename sdk/communication/azure-communication-administration/tests/{identity => }/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml (84%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_cancel_search.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_configure_number.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_create_search.yaml (89%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml (89%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml (90%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_list_all_releases.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_purchase_search.yaml (85%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client.test_update_capabilities.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml (82%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_configure_number.yaml (85%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_create_search.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml (87%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml (85%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml (88%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml (84%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml (84%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml (86%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml (82%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml (85%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml (85%) rename sdk/communication/azure-communication-administration/tests/{identity => }/test_communication_identity_client.py (94%) rename sdk/communication/azure-communication-administration/tests/{identity => }/test_communication_identity_client_async.py (92%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/test_phone_number_administration_client.py (98%) rename sdk/communication/azure-communication-administration/tests/{phone_number => }/test_phone_number_administration_client_async.py (98%) diff --git a/sdk/communication/azure-communication-administration/tests/__init__.py b/sdk/communication/azure-communication-administration/tests/__init__.py deleted file mode 100644 index 841b812e10ba..000000000000 --- a/sdk/communication/azure-communication-administration/tests/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -# coding: utf-8 -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/identity/__init__.py b/sdk/communication/azure-communication-administration/tests/identity/__init__.py deleted file mode 100644 index 841b812e10ba..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -# coding: utf-8 -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml deleted file mode 100644 index 850ff307e2d3..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_create_user.yaml +++ /dev/null @@ -1,41 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: - - Thu, 08 Oct 2020 19:27:23 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication27bb151c.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:27:23 GMT - ms-cv: - - 35/wZGn0EkyDgAwJnUDzuQ.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 69ms - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml deleted file mode 100644 index bf4d4296cf44..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_delete_user.yaml +++ /dev/null @@ -1,77 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: - - Thu, 08 Oct 2020 19:28:28 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication27a3151b.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:28:28 GMT - ms-cv: - - Y1+6vEYM00GgtyaVOHUTow.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 52ms - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: - - Thu, 08 Oct 2020 19:28:28 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://communication27a3151b.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - date: - - Thu, 08 Oct 2020 19:28:29 GMT - ms-cv: - - vatkR7XqN0i4Ivui0YdoCw.0 - strict-transport-security: - - max-age=2592000 - x-processing-time: - - 707ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml deleted file mode 100644 index 8af1b500c03a..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_issue_token.yaml +++ /dev/null @@ -1,82 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: - - Thu, 08 Oct 2020 19:29:33 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication28cd1533.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:29:33 GMT - ms-cv: - - GEkh7fSXIEylC6Rc7QqOgA.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 17ms - status: - code: 200 - message: OK -- request: - body: '{"scopes": ["chat"]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - Date: - - Thu, 08 Oct 2020 19:29:33 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication28cd1533.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T19:29:32.4489628+00:00"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:29:33 GMT - ms-cv: - - ifTRod9fqkCh5+olqGSeAw.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 41ms - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml deleted file mode 100644 index ae501fd6208e..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml +++ /dev/null @@ -1,120 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: - - Thu, 08 Oct 2020 19:30:38 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication54361609.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:30:37 GMT - ms-cv: - - k4KFdB5HKUWS2BKnurQZ7A.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 89ms - status: - code: 200 - message: OK -- request: - body: '{"scopes": ["chat"]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - Date: - - Thu, 08 Oct 2020 19:30:38 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communication54361609.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T19:30:37.7015819+00:00"}' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - content-type: - - application/json; charset=utf-8 - date: - - Thu, 08 Oct 2020 19:30:37 GMT - ms-cv: - - QOffTipHQUGxN+0f5i6JIg.0 - strict-transport-security: - - max-age=2592000 - transfer-encoding: - - chunked - x-processing-time: - - 36ms - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/merge-patch+json - Date: - - Thu, 08 Oct 2020 19:30:38 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://communication54361609.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview1, 2020-07-20-preview2 - date: - - Thu, 08 Oct 2020 19:30:37 GMT - ms-cv: - - YIDTTda76Uemf8SEHtZn6w.0 - strict-transport-security: - - max-age=2592000 - x-processing-time: - - 11ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml deleted file mode 100644 index e28793170b8e..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_create_user.yaml +++ /dev/null @@ -1,29 +0,0 @@ -interactions: -- request: - body: '' - headers: - Accept: - - application/json - Date: - - Thu, 08 Oct 2020 20:09:44 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicationb00b1799.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:09:44 GMT - ms-cv: Gjvc2ml/3U6BKUbK0TNLGQ.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 18ms - status: - code: 200 - message: OK - url: https://communicationb00b1799.communication.azure.com/identities?api-version=2020-07-20-preview2 -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml deleted file mode 100644 index 9750dcc361d2..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml +++ /dev/null @@ -1,53 +0,0 @@ -interactions: -- request: - body: '' - headers: - Accept: - - application/json - Date: - - Thu, 08 Oct 2020 20:10:48 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicationaff31798.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:10:48 GMT - ms-cv: TPynDbrpCEaBwGZiNQPorQ.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 57ms - status: - code: 200 - message: OK - url: https://communicationaff31798.communication.azure.com/identities?api-version=2020-07-20-preview2 -- request: - body: '' - headers: - Date: - - Thu, 08 Oct 2020 20:10:49 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://communicationaff31798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 - response: - body: - string: '' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Thu, 08 Oct 2020 20:10:49 GMT - ms-cv: aedokVcFD0OwQ1WIU8A5OA.0 - strict-transport-security: max-age=2592000 - x-processing-time: 783ms - status: - code: 204 - message: No Content - url: https://communicationaff31798.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml deleted file mode 100644 index 22dda000a877..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml +++ /dev/null @@ -1,60 +0,0 @@ -interactions: -- request: - body: '' - headers: - Accept: - - application/json - Date: - - Thu, 08 Oct 2020 20:11:54 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicationb11d17b0.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:11:53 GMT - ms-cv: VJP67ZDFw0Wh6z6yLXHlkA.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 66ms - status: - code: 200 - message: OK - url: https://communicationb11d17b0.communication.azure.com/identities?api-version=2020-07-20-preview2 -- request: - body: '{"scopes": ["chat"]}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - Date: - - Thu, 08 Oct 2020 20:11:54 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicationb11d17b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:11:53.5198003+00:00"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:11:53 GMT - ms-cv: Vp52dqwbT0iMQEncCmXVCA.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 64ms - status: - code: 200 - message: OK - url: https://communicationb11d17b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml deleted file mode 100644 index 39b1d8eda36d..000000000000 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml +++ /dev/null @@ -1,88 +0,0 @@ -interactions: -- request: - body: '' - headers: - Accept: - - application/json - Date: - - Thu, 08 Oct 2020 20:12:58 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicatione1801886.communication.azure.com/identities?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:12:57 GMT - ms-cv: s3JSpdKPekuhASnN6MnDLQ.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 18ms - status: - code: 200 - message: OK - url: https://communicatione1801886.communication.azure.com/identities?api-version=2020-07-20-preview2 -- request: - body: '{"scopes": ["chat"]}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - Date: - - Thu, 08 Oct 2020 20:12:58 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://communicatione1801886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 - response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:12:57.7863484+00:00"}' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:12:58 GMT - ms-cv: ldQTvPjESUyWMVMvUfJOyQ.0 - strict-transport-security: max-age=2592000 - transfer-encoding: chunked - x-processing-time: 23ms - status: - code: 200 - message: OK - url: https://communicatione1801886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 -- request: - body: '{}' - headers: - Content-Length: - - '2' - Content-Type: - - application/merge-patch+json - Date: - - Thu, 08 Oct 2020 20:12:58 GMT - User-Agent: - - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://communicatione1801886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 - response: - body: - string: '' - headers: - api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Thu, 08 Oct 2020 20:12:58 GMT - ms-cv: uMHcJH0+gE+2pec5/ozA7g.0 - strict-transport-security: max-age=2592000 - x-processing-time: 9ms - status: - code: 204 - message: No Content - url: https://communicatione1801886.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2 -version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py b/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py deleted file mode 100644 index 841b812e10ba..000000000000 --- a/sdk/communication/azure-communication-administration/tests/phone_number/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -# coding: utf-8 -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_helper.py b/sdk/communication/azure-communication-administration/tests/phone_number_helper.py similarity index 100% rename from sdk/communication/azure-communication-administration/tests/phone_number/phone_number_helper.py rename to sdk/communication/azure-communication-administration/tests/phone_number_helper.py diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py b/sdk/communication/azure-communication-administration/tests/phone_number_testcase.py similarity index 94% rename from sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py rename to sdk/communication/azure-communication-administration/tests/phone_number_testcase.py index 41caa98f9908..985cf17ad64d 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number_testcase.py @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------- import os from azure.communication.administration._shared.utils import parse_connection_str -from .._shared.testcase import CommunicationTestCase +from _shared.testcase import CommunicationTestCase class PhoneNumberCommunicationTestCase(CommunicationTestCase): def setUp(self): diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py b/sdk/communication/azure-communication-administration/tests/phone_number_testcase_async.py similarity index 82% rename from sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py rename to sdk/communication/azure-communication-administration/tests/phone_number_testcase_async.py index 243b29ad7728..310f713989ea 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/phone_number_testcase_async.py +++ b/sdk/communication/azure-communication-administration/tests/phone_number_testcase_async.py @@ -5,8 +5,8 @@ # -------------------------------------------------------------------------- import os from azure.communication.administration._shared.utils import parse_connection_str -from .phone_number_testcase import PhoneNumberCommunicationTestCase -from .._shared.asynctestcase import AsyncCommunicationTestCase +from phone_number_testcase import PhoneNumberCommunicationTestCase +from _shared.asynctestcase import AsyncCommunicationTestCase class AsyncPhoneNumberCommunicationTestCase(PhoneNumberCommunicationTestCase, AsyncCommunicationTestCase): def setUp(self): diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_create_user.yaml similarity index 88% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_create_user.yaml index cc2111d06703..d3bddee6b0ae 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_create_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_create_user.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:28:44 GMT + - Sat, 10 Oct 2020 02:12:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:28:44 GMT + - Sat, 10 Oct 2020 02:12:50 GMT ms-cv: - - yskyUU3C806s2PnU70FTfw.0 + - QLKE+FLVdUq7AXq6kOHFAA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 68ms + - 31ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_delete_user.yaml similarity index 87% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_delete_user.yaml index fa8628a88094..3469024ccacf 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_delete_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_delete_user.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:29:50 GMT + - Sat, 10 Oct 2020 02:13:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:29:49 GMT + - Sat, 10 Oct 2020 02:13:54 GMT ms-cv: - - A2EI6CL3P0i04hLyHIM4Ow.0 + - 1trS7q04w0Ku0dWvPBHBvg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 18ms + - 61ms status: code: 200 message: OK @@ -50,7 +50,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:29:50 GMT + - Sat, 10 Oct 2020 02:13:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -64,13 +64,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Thu, 08 Oct 2020 20:29:50 GMT + - Sat, 10 Oct 2020 02:13:55 GMT ms-cv: - - BgXYUtD160ioV6zKLbo3YQ.0 + - HURY7bvoM0qfD9WxGE7Xfg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 937ms + - 751ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_issue_token.yaml similarity index 87% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_issue_token.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_issue_token.yaml index 900c0c0a7b4a..352feffbfc1e 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_issue_token.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_issue_token.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:31:04 GMT + - Sat, 10 Oct 2020 02:14:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:31:03 GMT + - Sat, 10 Oct 2020 02:14:59 GMT ms-cv: - - KoFGvp5Vx0ahn87bUK7i9g.0 + - Pww8CtkKzUeaJne5eGvDBA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 29ms + - 33ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:31:04 GMT + - Sat, 10 Oct 2020 02:14:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://communication28c71533.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:31:03.448899+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-11T02:14:58.7723626+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:31:03 GMT + - Sat, 10 Oct 2020 02:14:59 GMT ms-cv: - - iOGmhpuDCEK6X/wj0dWf2w.0 + - F0sn/mygTU+RwCNm6UCPGg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 36ms + - 89ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml similarity index 87% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml index 8691c058283b..bfd05d711ad6 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 08 Oct 2020 20:32:08 GMT + - Sat, 10 Oct 2020 02:16:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:32:08 GMT + - Sat, 10 Oct 2020 02:16:03 GMT ms-cv: - - b/8nAte68E+2bO9vqVWOfQ.0 + - 9NG1Eyqc106l9cRQZMyQzA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 49ms + - 64ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:32:09 GMT + - Sat, 10 Oct 2020 02:16:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://communication54301609.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:32:08.0811644+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-11T02:16:02.5280344+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Thu, 08 Oct 2020 20:32:08 GMT + - Sat, 10 Oct 2020 02:16:03 GMT ms-cv: - - w8ruWe2MfkGiex5QO4VipA.0 + - gf6yJ+GdtECin3sgBqW1iA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 39ms + - 56ms status: code: 200 message: OK @@ -93,7 +93,7 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Thu, 08 Oct 2020 20:32:09 GMT + - Sat, 10 Oct 2020 02:16:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -107,13 +107,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Thu, 08 Oct 2020 20:32:08 GMT + - Sat, 10 Oct 2020 02:16:03 GMT ms-cv: - - xWR8bZY1YECCt76esufEHg.0 + - pbUen5/Vn0+Fh4+Ytaw5GA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 10ms + - 11ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_create_user.yaml similarity index 84% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_create_user.yaml index 3bfdfbad7474..11dbefad3015 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_create_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_create_user.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:33:14 GMT + - Sat, 10 Oct 2020 02:17:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:33:14 GMT - ms-cv: ihhWrYtVrE+Sk7JELBbyhw.0 + date: Sat, 10 Oct 2020 02:17:06 GMT + ms-cv: I/B0tnLzmUiNRQgIBs/8zg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 17ms + x-processing-time: 81ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml similarity index 83% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml index fa58a4c7d8f4..96d079207fd9 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_delete_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:34:18 GMT + - Sat, 10 Oct 2020 02:18:11 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:34:18 GMT - ms-cv: LbEvoWg1mUCfiK6tbIjKMg.0 + date: Sat, 10 Oct 2020 02:18:11 GMT + ms-cv: CJ1ZMZbXj0uRUGa+cq45WQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 18ms + x-processing-time: 17ms status: code: 200 message: OK @@ -30,7 +30,7 @@ interactions: body: '' headers: Date: - - Thu, 08 Oct 2020 20:34:19 GMT + - Sat, 10 Oct 2020 02:18:11 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:34:18 GMT - ms-cv: aVrEEt5CJ0eK8FPKq217mg.0 + date: Sat, 10 Oct 2020 02:18:12 GMT + ms-cv: T3lvNo5Gb02jYNwbJn6+4w.0 strict-transport-security: max-age=2592000 - x-processing-time: 691ms + x-processing-time: 1059ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_issue_token.yaml similarity index 84% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_issue_token.yaml index 10990176fff8..ba22cb9a2dec 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_issue_token.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_issue_token.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:35:24 GMT + - Sat, 10 Oct 2020 02:19:16 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:35:24 GMT - ms-cv: FKV3dSgE8kSnRREVag7ptQ.0 + date: Sat, 10 Oct 2020 02:19:15 GMT + ms-cv: 9j5vUmTjck6jsH5KjHoaqg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 85ms + x-processing-time: 18ms status: code: 200 message: OK @@ -36,7 +36,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:35:24 GMT + - Sat, 10 Oct 2020 02:19:16 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -44,15 +44,15 @@ interactions: method: POST uri: https://communicationb11717b0.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:35:23.8641285+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-11T02:19:15.9183485+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:35:24 GMT - ms-cv: NU8uHE1Vj0abYa2HA3ULdA.0 + date: Sat, 10 Oct 2020 02:19:16 GMT + ms-cv: ZPOHH33XdkiFvqU+wRoB/w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 33ms + x-processing-time: 29ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml similarity index 84% rename from sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml index c6bbdf0d2334..17fed32552fa 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 08 Oct 2020 20:36:29 GMT + - Sat, 10 Oct 2020 02:20:20 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:36:28 GMT - ms-cv: hSI3h4dFs0SEcyBP98YVKQ.0 + date: Sat, 10 Oct 2020 02:20:20 GMT + ms-cv: yhOUupFgTkyv/edU+U0rNw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 81ms + x-processing-time: 16ms status: code: 200 message: OK @@ -36,7 +36,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 20:36:29 GMT + - Sat, 10 Oct 2020 02:20:21 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -44,15 +44,15 @@ interactions: method: POST uri: https://communicatione17a1886.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-09T20:36:28.6505114+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-11T02:20:20.2897544+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 08 Oct 2020 20:36:28 GMT - ms-cv: FfDOZdjZfU6RgYgmAqYdag.0 + date: Sat, 10 Oct 2020 02:20:20 GMT + ms-cv: DNfxv8Fauk2weDU7PqlXAQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 31ms + x-processing-time: 25ms status: code: 200 message: OK @@ -65,7 +65,7 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Thu, 08 Oct 2020 20:36:29 GMT + - Sat, 10 Oct 2020 02:20:21 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) 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, 08 Oct 2020 20:36:29 GMT - ms-cv: /cIh9eWlCEq+ofGXHGTE9Q.0 + date: Sat, 10 Oct 2020 02:20:20 GMT + ms-cv: WER6t+c/C02eVHc63q7wLw.0 strict-transport-security: max-age=2592000 - x-processing-time: 9ms + x-processing-time: 10ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_cancel_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml index 6b1f9971ea32..1e2a13a13b20 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 09 Oct 2020 23:49:30 GMT + - Sat, 10 Oct 2020 02:20:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Fri, 09 Oct 2020 23:49:30 GMT + - Sat, 10 Oct 2020 02:20:51 GMT ms-cv: - - EBm7hBdcUE6xfC2T6v9/PQ.0 + - DW7FajXWBkOVglGZi8w07Q.0 x-processing-time: - - 479ms + - 556ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_configure_number.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml index b8b4317c61a3..ed3918b5ae86 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:31 GMT + - Sat, 10 Oct 2020 02:20:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,11 +28,11 @@ interactions: content-length: - '0' date: - - Fri, 09 Oct 2020 23:49:31 GMT + - Sat, 10 Oct 2020 02:20:53 GMT ms-cv: - - UERMwrwKXk+Qgj0b5VM2QQ.0 + - IUVOp9xP9kmu4ATrmLBfsw.0 x-processing-time: - - 719ms + - 657ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 89% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_create_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml index c30ad54be319..f1c0146371f7 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:32 GMT + - Sat, 10 Oct 2020 02:20:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -28,13 +28,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:33 GMT + - Sat, 10 Oct 2020 02:20:54 GMT ms-cv: - - vA3ljGLPzEi/XSGigdFpwA.0 + - oP2Gcu9PuEOAjDZgB58T7Q.0 transfer-encoding: - chunked x-processing-time: - - 1156ms + - 1475ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 89% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml index e1e8717d3d66..dcdf06fc8ef4 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:33 GMT + - Sat, 10 Oct 2020 02:20:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:33 GMT + - Sat, 10 Oct 2020 02:20:55 GMT ms-cv: - - HlMiJ0eoVUOU3xQQ9H0tqw.0 + - U8yvCboQLkaGeO0j5SolRw.0 transfer-encoding: - chunked x-processing-time: - - 175ms + - 467ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml index f8e2fdad3701..1d0caa14531a 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:34 GMT + - Sat, 10 Oct 2020 02:20:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -23,13 +23,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:33 GMT + - Sat, 10 Oct 2020 02:20:54 GMT ms-cv: - - QGgLSbS51UGdtaV3UFKo+g.0 + - 7QJaEaTu0EGH93bHngSG1g.0 transfer-encoding: - chunked x-processing-time: - - 394ms + - 274ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml index fc3bc8c8d5c2..bb3de7b3441f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:34 GMT + - Sat, 10 Oct 2020 02:20:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -27,13 +27,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:34 GMT + - Sat, 10 Oct 2020 02:20:55 GMT ms-cv: - - oKQLE+1i6k6R/RuMLiEJ6w.0 + - gmxbri7rmU6CqVyX2m/kSA.0 transfer-encoding: - chunked x-processing-time: - - 571ms + - 345ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml index 03bc83e98c33..adb0c16e8a75 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:35 GMT + - Sat, 10 Oct 2020 02:20:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:35 GMT + - Sat, 10 Oct 2020 02:20:56 GMT ms-cv: - - xKWmIhIj0Uytas8UWAOE6g.0 + - SWsAxe+vn0GF5Ffizlybqg.0 transfer-encoding: - chunked x-processing-time: - - 347ms + - 363ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml index 3233e9fd5d89..226dfb00a56f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:36 GMT + - Sat, 10 Oct 2020 02:20:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:36 GMT + - Sat, 10 Oct 2020 02:20:56 GMT ms-cv: - - XASMzFit00ilAEQLKtRA/g.0 + - AKJkjt3WB0+N3umK9iZGJQ.0 transfer-encoding: - chunked x-processing-time: - - 495ms + - 217ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 90% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml index 8b6a5212f916..e12375978746 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:36 GMT + - Sat, 10 Oct 2020 02:20:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:36 GMT + - Sat, 10 Oct 2020 02:20:57 GMT ms-cv: - - 2WJa+2ekrE2weK0XIseuhw.0 + - TE1awVYhAEexWJhoVl3mDw.0 transfer-encoding: - chunked x-processing-time: - - 324ms + - 516ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml index 7d6b624f2e00..dd6cebae84a3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:37 GMT + - Sat, 10 Oct 2020 02:20:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:37 GMT + - Sat, 10 Oct 2020 02:20:57 GMT ms-cv: - - TZJRFNFzvUmPiJk1G5qZcA.0 + - 4enCAZkq1UaVoBzlm6dERw.0 transfer-encoding: - chunked x-processing-time: - - 288ms + - 488ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_releases.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml index fbbca05ddf4c..3dec9e597728 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:37 GMT + - Sat, 10 Oct 2020 02:20:58 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:37 GMT + - Sat, 10 Oct 2020 02:20:58 GMT ms-cv: - - TDFbcUu/gU2W8XeveZauDA.0 + - HEzEhfO/E0eRWI661YSOdw.0 transfer-encoding: - chunked x-processing-time: - - 403ms + - 626ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml index 47b8081cee15..00543561e60c 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:38 GMT + - Sat, 10 Oct 2020 02:20:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -24,13 +24,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:38 GMT + - Sat, 10 Oct 2020 02:20:59 GMT ms-cv: - - Ng+I2py8qUCag+Vo4ULOWw.0 + - 72JW5GqLk0ih/GrpgDn3xw.0 transfer-encoding: - chunked x-processing-time: - - 477ms + - 519ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml index 2e83c9e4fbe7..d8a99d1940a0 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:38 GMT + - Sat, 10 Oct 2020 02:20:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:38 GMT + - Sat, 10 Oct 2020 02:21:00 GMT ms-cv: - - DOco/rjuH063NJcaqZ+x7w.0 + - rPpJxCzir0eohyDFSE+FYw.0 transfer-encoding: - chunked x-processing-time: - - 252ms + - 576ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml index 5b673cdda63b..3887d3b61751 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive Date: - - Fri, 09 Oct 2020 23:49:39 GMT + - Sat, 10 Oct 2020 02:21:00 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,13 +22,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:38 GMT + - Sat, 10 Oct 2020 02:21:00 GMT ms-cv: - - uUpCnsJqHU2Z8UVRx462SQ.0 + - qdGAj/sHv0KYqHctxSYd6A.0 transfer-encoding: - chunked x-processing-time: - - 312ms + - 300ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 85% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_purchase_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml index c6887c3b27b0..fb1eaa6448f7 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 09 Oct 2020 23:49:39 GMT + - Sat, 10 Oct 2020 02:21:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Fri, 09 Oct 2020 23:49:39 GMT + - Sat, 10 Oct 2020 02:21:01 GMT ms-cv: - - Jy2Qf0KSI0K2AkCNPMBJ+A.0 + - O6R9+6lzSEK12k1Awk1E+Q.0 x-processing-time: - - 288ms + - 257ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml index 6e4827e35ab3..93dbbd8e2cfd 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:40 GMT + - Sat, 10 Oct 2020 02:21:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:41 GMT + - Sat, 10 Oct 2020 02:21:01 GMT ms-cv: - - GilNWn4jUUOP+ExPdzKdrg.0 + - E0nSh9NvQE+M0euiVHCmyg.0 transfer-encoding: - chunked x-processing-time: - - 1122ms + - 583ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client.test_update_capabilities.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml index 58c4c0a4e2ae..08f9f25a569a 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:41 GMT + - Sat, 10 Oct 2020 02:21:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -26,13 +26,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 09 Oct 2020 23:49:42 GMT + - Sat, 10 Oct 2020 02:21:02 GMT ms-cv: - - rm9igJjfn0SgJzc0wqrnkA.0 + - LQky+WQAKUeTfE/4lTMm7A.0 transfer-encoding: - chunked x-processing-time: - - 614ms + - 511ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 82% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml index 475835422e6c..bafc70a3ce1f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Fri, 09 Oct 2020 23:49:42 GMT + - Sat, 10 Oct 2020 02:21:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 09 Oct 2020 23:49:41 GMT - ms-cv: OHa0cRLxQ066NVyeHoaf4Q.0 - x-processing-time: 294ms + date: Sat, 10 Oct 2020 02:21:02 GMT + ms-cv: S0C//fSJm0WSuLAGwi42LA.0 + x-processing-time: 265ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 85% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_configure_number.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml index 6e5642d5e4c6..0688764e1673 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -8,7 +8,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:42 GMT + - Sat, 10 Oct 2020 02:21:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,9 +20,9 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 09 Oct 2020 23:49:42 GMT - ms-cv: gRhANwpvLEKb5lhJ/Ah0Lg.0 - x-processing-time: 299ms + date: Sat, 10 Oct 2020 02:21:03 GMT + ms-cv: taNkxvFkekSmhx7fbVz81Q.0 + x-processing-time: 404ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_create_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml index e684f6c7fa8b..a68059b811f5 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:43 GMT + - Sat, 10 Oct 2020 02:21:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -22,10 +22,10 @@ interactions: body: '{"searchId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:44 GMT - ms-cv: cIaKnh45VECLPGkkuCknKw.0 + date: Sat, 10 Oct 2020 02:21:04 GMT + ms-cv: RI2FgkAsnU6ZIlo95iZD8Q.0 transfer-encoding: chunked - x-processing-time: 1382ms + x-processing-time: 913ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 87% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml index 8b34aa7f8bb8..b51c22af2bab 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:44 GMT + - Sat, 10 Oct 2020 02:21:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:45 GMT - ms-cv: n6ai7XmkpU+fg5/uTqfXoQ.0 + date: Sat, 10 Oct 2020 02:21:05 GMT + ms-cv: I53JrROCrkSUACOjmyWRsQ.0 transfer-encoding: chunked - x-processing-time: 785ms + x-processing-time: 207ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml index da53f057ef9a..386f90e27463 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:45 GMT + - Sat, 10 Oct 2020 02:21:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -17,10 +17,10 @@ interactions: "capabilitiesUpdateStatus": "Complete", "phoneNumberCapabilitiesUpdates": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:46 GMT - ms-cv: X4eUjcAH5EyabVu5emlCug.0 + date: Sat, 10 Oct 2020 02:21:05 GMT + ms-cv: q8VKe/j4hEmPFQFlGBSx5A.0 transfer-encoding: chunked - x-processing-time: 1026ms + x-processing-time: 298ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml index dab0ae825ebc..3f4673ba9e4c 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:46 GMT + - Sat, 10 Oct 2020 02:21:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -21,10 +21,10 @@ interactions: "ApplicationId"}}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:46 GMT - ms-cv: 8HyhbKB6pkOHFFIGVkmAYw.0 + date: Sat, 10 Oct 2020 02:21:05 GMT + ms-cv: XdJTvKs4skGpyVev2IjJMQ.0 transfer-encoding: chunked - x-processing-time: 93ms + x-processing-time: 183ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 85% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml index d84f5b33b27e..139d6ea559e0 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:46 GMT + - Sat, 10 Oct 2020 02:21:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:46 GMT - ms-cv: knThOuj5e0WdIfieKu85bw.0 + date: Sat, 10 Oct 2020 02:21:06 GMT + ms-cv: axw5l9pmu0WUpVBNnGlKTw.0 transfer-encoding: chunked - x-processing-time: 765ms + x-processing-time: 291ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml index c0d4e8406020..36f7f97e09ee 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:47 GMT + - Sat, 10 Oct 2020 02:21:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "phoneNumberReleaseStatusDetails": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:48 GMT - ms-cv: BdzJfkojc0mhYW2YmTJWMw.0 + date: Sat, 10 Oct 2020 02:21:06 GMT + ms-cv: hTIL6w4K+kKpJD/7UX86qA.0 transfer-encoding: chunked - x-processing-time: 765ms + x-processing-time: 184ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 88% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml index e4d05715184d..1388e70652f9 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:48 GMT + - Sat, 10 Oct 2020 02:21:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: "2020-10-02T21:55:47.9734151+00:00"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:48 GMT - ms-cv: CtVBv5JtoUiVeOTW5t9cQg.0 + date: Sat, 10 Oct 2020 02:21:06 GMT + ms-cv: KwuxOCXq3UiR9T6nZAR1dg.0 transfer-encoding: chunked - x-processing-time: 279ms + x-processing-time: 285ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 84% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml index de0ec33bca35..7c096b322212 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:49 GMT + - Sat, 10 Oct 2020 02:21:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phoneNumbers": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:50 GMT - ms-cv: fD4P0X2isUOKxyncx5wQcA.0 + date: Sat, 10 Oct 2020 02:21:07 GMT + ms-cv: 5fxLGNaR30eSY8ZpHa2Gvg.0 transfer-encoding: chunked - x-processing-time: 2278ms + x-processing-time: 388ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 84% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml index cfb8ea39248f..0b1d2f0cb580 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:51 GMT + - Sat, 10 Oct 2020 02:21:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"entities": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:52 GMT - ms-cv: NpAHxImylUObiCLnzx8pXA.0 + date: Sat, 10 Oct 2020 02:21:07 GMT + ms-cv: Gz9tWco3c0uHd7aSpT3jTA.0 transfer-encoding: chunked - x-processing-time: 1217ms + x-processing-time: 280ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml index 30a66a7b25db..65b536aaae70 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:52 GMT + - Sat, 10 Oct 2020 02:21:08 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -18,10 +18,10 @@ interactions: "US"}], "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:53 GMT - ms-cv: /RhDHALFPEqfTTq0A0ODZw.0 + date: Sat, 10 Oct 2020 02:21:08 GMT + ms-cv: gF9777XWbESPdcNTvBiS3A.0 transfer-encoding: chunked - x-processing-time: 901ms + x-processing-time: 425ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml index 0176b588947d..f7b576ae26f3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:53 GMT + - Sat, 10 Oct 2020 02:21:08 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlanGroups": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:54 GMT - ms-cv: Knv/tELZE0CgwtmbV+bBGw.0 + date: Sat, 10 Oct 2020 02:21:08 GMT + ms-cv: Vw2Iqu08skG2v/O74FY9yw.0 transfer-encoding: chunked - x-processing-time: 994ms + x-processing-time: 275ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 86% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml index 7c07763fe45a..d0ba51d8a1aa 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Fri, 09 Oct 2020 23:49:54 GMT + - Sat, 10 Oct 2020 02:21:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -16,10 +16,10 @@ interactions: body: '{"phonePlans": "sanitized", "nextLink": null}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:55 GMT - ms-cv: QykMETuu8ESxTWlJh3Z+Tg.0 + date: Sat, 10 Oct 2020 02:21:08 GMT + ms-cv: LYylBTuge0eRsiK0bkQK4Q.0 transfer-encoding: chunked - x-processing-time: 924ms + x-processing-time: 347ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 82% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml index 3303ef328a30..27bc4646cbb3 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -3,7 +3,7 @@ interactions: body: '' headers: Date: - - Fri, 09 Oct 2020 23:49:56 GMT + - Sat, 10 Oct 2020 02:21:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 09 Oct 2020 23:49:56 GMT - ms-cv: zZ7/NEI2OEKrxuy02C0hNg.0 - x-processing-time: 883ms + date: Sat, 10 Oct 2020 02:21:09 GMT + ms-cv: Wlw8BZbhUEKUs4LIyPXejA.0 + x-processing-time: 257ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 85% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml index 1a5fd72a20ba..c50055ecdc0f 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:57 GMT + - Sat, 10 Oct 2020 02:21:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"releaseId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:49:58 GMT - ms-cv: 9ooDrX8q2kSifc3gUoRQFg.0 + date: Sat, 10 Oct 2020 02:21:09 GMT + ms-cv: euIs+uths0yhC+BHIvQaTA.0 transfer-encoding: chunked - x-processing-time: 1221ms + x-processing-time: 592ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/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 similarity index 85% rename from sdk/communication/azure-communication-administration/tests/phone_number/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml rename to sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml index 6b33609fa786..661fef209e12 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/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 @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 09 Oct 2020 23:49:58 GMT + - Sat, 10 Oct 2020 02:21:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Linux-5.4.0-48-generic-x86_64-with-glibc2.29) x-ms-return-client-request-id: @@ -20,10 +20,10 @@ interactions: body: '{"capabilitiesUpdateId": "sanitized"}' headers: content-type: application/json; charset=utf-8 - date: Fri, 09 Oct 2020 23:50:04 GMT - ms-cv: +dGdK6Wlik+RUiT1hvSMGA.0 + date: Sat, 10 Oct 2020 02:21:10 GMT + ms-cv: ImNidcA74kiZ6Vx2XZs9bA.0 transfer-encoding: chunked - x-processing-time: 5839ms + x-processing-time: 556ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client.py b/sdk/communication/azure-communication-administration/tests/test_communication_identity_client.py similarity index 94% rename from sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client.py rename to sdk/communication/azure-communication-administration/tests/test_communication_identity_client.py index 1238e553ab00..3d254750f837 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_communication_identity_client.py @@ -6,13 +6,13 @@ # -------------------------------------------------------------------------- import pytest from azure.communication.administration import CommunicationIdentityClient -from .._shared.helper import URIIdentityReplacer -from .._shared.testcase import ( +from _shared.helper import URIIdentityReplacer +from _shared.testcase import ( CommunicationTestCase, BodyReplacerProcessor ) from devtools_testutils import ResourceGroupPreparer -from .._shared.communication_service_preparer import CommunicationServicePreparer +from _shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTest(CommunicationTestCase): def setUp(self): diff --git a/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client_async.py b/sdk/communication/azure-communication-administration/tests/test_communication_identity_client_async.py similarity index 92% rename from sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client_async.py rename to sdk/communication/azure-communication-administration/tests/test_communication_identity_client_async.py index 8bea1277e3d7..f710e546a33e 100644 --- a/sdk/communication/azure-communication-administration/tests/identity/test_communication_identity_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/test_communication_identity_client_async.py @@ -8,10 +8,10 @@ from azure.communication.administration.aio import CommunicationIdentityClient from azure_devtools.scenario_tests import RecordingProcessor from devtools_testutils import ResourceGroupPreparer -from .._shared.helper import URIIdentityReplacer -from .._shared.asynctestcase import AsyncCommunicationTestCase -from .._shared.testcase import BodyReplacerProcessor -from .._shared.communication_service_preparer import CommunicationServicePreparer +from _shared.helper import URIIdentityReplacer +from _shared.asynctestcase import AsyncCommunicationTestCase +from _shared.testcase import BodyReplacerProcessor +from _shared.communication_service_preparer import CommunicationServicePreparer class CommunicationIdentityClientTestAsync(AsyncCommunicationTestCase): def setUp(self): diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py similarity index 98% rename from sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py rename to sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py index b2ec1923eb98..5964fadd3b20 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py @@ -12,9 +12,9 @@ NumberUpdateCapabilities, CreateSearchOptions ) -from .phone_number_helper import PhoneNumberUriReplacer -from .phone_number_testcase import PhoneNumberCommunicationTestCase -from .._shared.testcase import BodyReplacerProcessor +from phone_number_helper import PhoneNumberUriReplacer +from phone_number_testcase import PhoneNumberCommunicationTestCase +from _shared.testcase import BodyReplacerProcessor class PhoneNumberAdministrationClientTest(PhoneNumberCommunicationTestCase): diff --git a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py similarity index 98% rename from sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py rename to sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py index f8774172b676..06104811e6bb 100644 --- a/sdk/communication/azure-communication-administration/tests/phone_number/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py @@ -11,9 +11,9 @@ NumberUpdateCapabilities, CreateSearchOptions ) -from .phone_number_helper import PhoneNumberUriReplacer -from .phone_number_testcase_async import AsyncPhoneNumberCommunicationTestCase -from .._shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor +from phone_number_helper import PhoneNumberUriReplacer +from phone_number_testcase_async import AsyncPhoneNumberCommunicationTestCase +from _shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor import os class PhoneNumberAdministrationClientTestAsync(AsyncPhoneNumberCommunicationTestCase): From 09d641ca4076c8e77c507de3d9850f7125b8795b Mon Sep 17 00:00:00 2001 From: turalf Date: Mon, 12 Oct 2020 16:52:36 -0700 Subject: [PATCH 28/28] Add mgmt pacakge to the dev reqs --- .../azure-communication-administration/dev_requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/communication/azure-communication-administration/dev_requirements.txt b/sdk/communication/azure-communication-administration/dev_requirements.txt index 311dd4e24ad9..df27e5d69812 100644 --- a/sdk/communication/azure-communication-administration/dev_requirements.txt +++ b/sdk/communication/azure-communication-administration/dev_requirements.txt @@ -2,4 +2,5 @@ -e ../../../tools/azure-devtools ../../core/azure-core ../azure-communication-nspkg +../azure-mgmt-communication aiohttp>=3.0; python_version >= '3.5' \ No newline at end of file