From 35e15e300b6c933899f07a806d4e7e7c9df2e5e9 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Wed, 5 Jul 2023 14:58:28 -0700 Subject: [PATCH 01/16] update swagger and regenerate using autorest --- .../phonenumbers/_generated/_client.py | 8 +- .../phonenumbers/_generated/_configuration.py | 12 +- .../phonenumbers/_generated/_serialization.py | 54 +++-- .../phonenumbers/_generated/_vendor.py | 5 +- .../phonenumbers/_generated/aio/_client.py | 8 +- .../_generated/aio/_configuration.py | 12 +- .../_generated/aio/operations/_operations.py | 175 ++++++++++++-- .../_generated/models/__init__.py | 10 + .../phonenumbers/_generated/models/_enums.py | 9 + .../phonenumbers/_generated/models/_models.py | 133 ++++++++++ .../_generated/operations/_operations.py | 227 ++++++++++++++---- .../swagger/PHONE_NUMBER_SWAGGER.md | 4 +- 12 files changed, 542 insertions(+), 115 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_client.py index cbb587ccad9a..e7853900fa74 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_client.py @@ -27,8 +27,8 @@ class PhoneNumbersClient: # pylint: disable=client-accepts-api-version-keyword :param endpoint: The communication resource, for example https://resourcename.communication.azure.com. Required. :type endpoint: str - :keyword api_version: Api Version. Default value is "2022-12-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -39,7 +39,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential ) -> None: _endpoint = "{endpoint}" self._config = PhoneNumbersClientConfiguration(endpoint=endpoint, **kwargs) - self._client = PipelineClient(base_url=_endpoint, config=self._config, **kwargs) + self._client: PipelineClient = PipelineClient(base_url=_endpoint, config=self._config, **kwargs) client_models = {k: v for k, v in _models._models.__dict__.items() if isinstance(v, type)} client_models.update({k: v for k, v in _models.__dict__.items() if isinstance(v, type)}) @@ -81,5 +81,5 @@ def __enter__(self) -> "PhoneNumbersClient": self._client.__enter__() return self - def __exit__(self, *exc_details) -> None: + def __exit__(self, *exc_details: Any) -> None: self._client.__exit__(*exc_details) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_configuration.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_configuration.py index 2e129056b750..37b29fbd8621 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_configuration.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_configuration.py @@ -6,17 +6,11 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import sys from typing import Any from azure.core.configuration import Configuration from azure.core.pipeline import policies -if sys.version_info >= (3, 8): - from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports -else: - from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports - VERSION = "unknown" @@ -29,14 +23,14 @@ class PhoneNumbersClientConfiguration(Configuration): # pylint: disable=too-man :param endpoint: The communication resource, for example https://resourcename.communication.azure.com. Required. :type endpoint: str - :keyword api_version: Api Version. Default value is "2022-12-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str """ def __init__(self, endpoint: str, **kwargs: Any) -> None: super(PhoneNumbersClientConfiguration, self).__init__(**kwargs) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", "2022-12-01") + api_version: str = kwargs.pop("api_version", "2023-05-01-preview") if endpoint is None: raise ValueError("Parameter 'endpoint' must not be None.") diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py index 783bd7913f6e..842ae727fbbc 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py @@ -38,7 +38,22 @@ import re import sys import codecs -from typing import Dict, Any, cast, Optional, Union, AnyStr, IO, Mapping, Callable, TypeVar, MutableMapping, Type +from typing import ( + Dict, + Any, + cast, + Optional, + Union, + AnyStr, + IO, + Mapping, + Callable, + TypeVar, + MutableMapping, + Type, + List, + Mapping, +) try: from urllib import quote # type: ignore @@ -49,6 +64,7 @@ import isodate # type: ignore from azure.core.exceptions import DeserializationError, SerializationError, raise_with_traceback +from azure.core.serialization import NULL as AzureCoreNull _BOM = codecs.BOM_UTF8.decode(encoding="utf-8") @@ -343,7 +359,7 @@ def as_dict( key_transformer: Callable[[str, Dict[str, Any], Any], Any] = attribute_transformer, **kwargs: Any ) -> JSON: - """Return a dict that can be JSONify using json.dump. + """Return a dict that can be serialized using json.dump. Advanced usage might optionally use a callback as parameter: @@ -421,7 +437,7 @@ def from_dict( """ deserializer = Deserializer(cls._infer_class_models()) deserializer.key_extractors = ( # type: ignore - [ + [ # type: ignore attribute_key_case_insensitive_extractor, rest_key_case_insensitive_extractor, last_rest_key_case_insensitive_extractor, @@ -529,7 +545,7 @@ class Serializer(object): "multiple": lambda x, y: x % y != 0, } - def __init__(self, classes=None): + def __init__(self, classes: Optional[Mapping[str, Type[ModelType]]] = None): self.serialize_type = { "iso-8601": Serializer.serialize_iso, "rfc-1123": Serializer.serialize_rfc, @@ -545,7 +561,7 @@ def __init__(self, classes=None): "[]": self.serialize_iter, "{}": self.serialize_dict, } - self.dependencies = dict(classes) if classes else {} + self.dependencies: Dict[str, Type[ModelType]] = dict(classes) if classes else {} self.key_transformer = full_restapi_key_transformer self.client_side_validation = True @@ -613,7 +629,7 @@ def _serialize(self, target_obj, data_type=None, **kwargs): if xml_desc.get("attr", False): if xml_ns: ET.register_namespace(xml_prefix, xml_ns) - xml_name = "{}{}".format(xml_ns, xml_name) + xml_name = "{{{}}}{}".format(xml_ns, xml_name) serialized.set(xml_name, new_attr) # type: ignore continue if xml_desc.get("text", False): @@ -637,8 +653,7 @@ def _serialize(self, target_obj, data_type=None, **kwargs): serialized.append(local_node) # type: ignore else: # JSON for k in reversed(keys): # type: ignore - unflattened = {k: new_attr} - new_attr = unflattened + new_attr = {k: new_attr} _new_attr = new_attr _serialized = serialized @@ -667,8 +682,8 @@ def body(self, data, data_type, **kwargs): """ # Just in case this is a dict - internal_data_type = data_type.strip("[]{}") - internal_data_type = self.dependencies.get(internal_data_type, None) + internal_data_type_str = data_type.strip("[]{}") + internal_data_type = self.dependencies.get(internal_data_type_str, None) try: is_xml_model_serialization = kwargs["is_xml"] except KeyError: @@ -788,6 +803,8 @@ def serialize_data(self, data, data_type, **kwargs): raise ValueError("No value for given attribute") try: + if data is AzureCoreNull: + return None if data_type in self.basic_types.values(): return self.serialize_basic(data, data_type, **kwargs) @@ -1172,7 +1189,8 @@ def rest_key_extractor(attr, attr_desc, data): working_data = data while "." in key: - dict_keys = _FLATTEN.split(key) + # Need the cast, as for some reasons "split" is typed as list[str | Any] + dict_keys = cast(List[str], _FLATTEN.split(key)) if len(dict_keys) == 1: key = _decode_attribute_map_key(dict_keys[0]) break @@ -1253,7 +1271,7 @@ def _extract_name_from_internal_type(internal_type): xml_name = internal_type_xml_map.get("name", internal_type.__name__) xml_ns = internal_type_xml_map.get("ns", None) if xml_ns: - xml_name = "{}{}".format(xml_ns, xml_name) + xml_name = "{{{}}}{}".format(xml_ns, xml_name) return xml_name @@ -1277,7 +1295,7 @@ def xml_key_extractor(attr, attr_desc, data): # Integrate namespace if necessary xml_ns = xml_desc.get("ns", internal_type_xml_map.get("ns", None)) if xml_ns: - xml_name = "{}{}".format(xml_ns, xml_name) + xml_name = "{{{}}}{}".format(xml_ns, xml_name) # If it's an attribute, that's simple if xml_desc.get("attr", False): @@ -1343,7 +1361,7 @@ class Deserializer(object): valid_date = re.compile(r"\d{4}[-]\d{2}[-]\d{2}T\d{2}:\d{2}:\d{2}" r"\.?\d*Z?[-+]?[\d{2}]?:?[\d{2}]?") - def __init__(self, classes=None): + def __init__(self, classes: Optional[Mapping[str, Type[ModelType]]] = None): self.deserialize_type = { "iso-8601": Deserializer.deserialize_iso, "rfc-1123": Deserializer.deserialize_rfc, @@ -1363,7 +1381,7 @@ def __init__(self, classes=None): "duration": (isodate.Duration, datetime.timedelta), "iso-8601": (datetime.datetime), } - self.dependencies = dict(classes) if classes else {} + self.dependencies: Dict[str, Type[ModelType]] = dict(classes) if classes else {} self.key_extractors = [rest_key_extractor, xml_key_extractor] # Additional properties only works if the "rest_key_extractor" is used to # extract the keys. Making it to work whatever the key extractor is too much @@ -1482,7 +1500,7 @@ def _classify_target(self, target, data): Once classification has been determined, initialize object. :param str target: The target object type to deserialize to. - :param str/dict data: The response data to deseralize. + :param str/dict data: The response data to deserialize. """ if target is None: return None, None @@ -1497,7 +1515,7 @@ def _classify_target(self, target, data): target = target._classify(data, self.dependencies) except AttributeError: pass # Target is not a Model, no classify - return target, target.__class__.__name__ + return target, target.__class__.__name__ # type: ignore def failsafe_deserialize(self, target_obj, data, content_type=None): """Ignores any errors encountered in deserialization, @@ -1507,7 +1525,7 @@ def failsafe_deserialize(self, target_obj, data, content_type=None): a deserialization error. :param str target_obj: The target object type to deserialize to. - :param str/dict data: The response data to deseralize. + :param str/dict data: The response data to deserialize. :param str content_type: Swagger "produces" if available. """ try: diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py index 54f238858ed8..8598d2b74592 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py @@ -5,6 +5,8 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import List, cast + def _format_url_section(template, **kwargs): components = template.split("/") @@ -12,6 +14,7 @@ def _format_url_section(template, **kwargs): try: return template.format(**kwargs) except KeyError as key: - formatted_components = template.split("/") + # Need the cast, as for some reasons "split" is typed as list[str | Any] + formatted_components = cast(List[str], template.split("/")) components = [c for c in formatted_components if "{}".format(key.args[0]) not in c] template = "/".join(components) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_client.py index 10e7aa67b6a3..addd49fe906f 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_client.py @@ -27,8 +27,8 @@ class PhoneNumbersClient: # pylint: disable=client-accepts-api-version-keyword :param endpoint: The communication resource, for example https://resourcename.communication.azure.com. Required. :type endpoint: str - :keyword api_version: Api Version. Default value is "2022-12-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -39,7 +39,7 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential ) -> None: _endpoint = "{endpoint}" self._config = PhoneNumbersClientConfiguration(endpoint=endpoint, **kwargs) - self._client = AsyncPipelineClient(base_url=_endpoint, config=self._config, **kwargs) + self._client: AsyncPipelineClient = AsyncPipelineClient(base_url=_endpoint, config=self._config, **kwargs) client_models = {k: v for k, v in _models._models.__dict__.items() if isinstance(v, type)} client_models.update({k: v for k, v in _models.__dict__.items() if isinstance(v, type)}) @@ -81,5 +81,5 @@ async def __aenter__(self) -> "PhoneNumbersClient": await self._client.__aenter__() return self - async def __aexit__(self, *exc_details) -> None: + async def __aexit__(self, *exc_details: Any) -> None: await self._client.__aexit__(*exc_details) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_configuration.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_configuration.py index 8df43985d985..2759248037cc 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_configuration.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/_configuration.py @@ -6,17 +6,11 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import sys from typing import Any from azure.core.configuration import Configuration from azure.core.pipeline import policies -if sys.version_info >= (3, 8): - from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports -else: - from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports - VERSION = "unknown" @@ -29,14 +23,14 @@ class PhoneNumbersClientConfiguration(Configuration): # pylint: disable=too-man :param endpoint: The communication resource, for example https://resourcename.communication.azure.com. Required. :type endpoint: str - :keyword api_version: Api Version. Default value is "2022-12-01". Note that overriding this - default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding + this default value may result in unsupported behavior. :paramtype api_version: str """ def __init__(self, endpoint: str, **kwargs: Any) -> None: super(PhoneNumbersClientConfiguration, self).__init__(**kwargs) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", "2022-12-01") + api_version: str = kwargs.pop("api_version", "2023-05-01-preview") if endpoint is None: raise ValueError("Parameter 'endpoint' must not be None.") diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py index 8f0f628857f6..00d714756963 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py @@ -6,6 +6,7 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from io import IOBase from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload import urllib.parse @@ -38,6 +39,7 @@ build_phone_numbers_list_available_localities_request, build_phone_numbers_list_offerings_request, build_phone_numbers_list_phone_numbers_request, + build_phone_numbers_operator_information_search_request, build_phone_numbers_purchase_phone_numbers_request, build_phone_numbers_release_phone_number_request, build_phone_numbers_search_available_phone_numbers_request, @@ -92,7 +94,7 @@ def list_area_codes( :keyword skip: An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. Default value is 0. :paramtype skip: int - :keyword assignment_type: Filter by assignmentType, e.g. User, Application. Known values are: + :keyword assignment_type: Filter by assignmentType, e.g. Person, Application. Known values are: "person" and "application". Default value is None. :paramtype assignment_type: str or ~azure.communication.phonenumbers.models.PhoneNumberAssignmentType @@ -179,8 +181,9 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -276,8 +279,9 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -323,9 +327,9 @@ def list_available_localities( _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models._models.PhoneNumberLocalities] = kwargs.pop( + cls: ClsType[_models._models.PhoneNumberLocalities] = kwargs.pop( # pylint: disable=protected-access "cls", None - ) # pylint: disable=protected-access + ) error_map = { 401: ClientAuthenticationError, @@ -388,8 +392,9 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -504,8 +509,9 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -538,7 +544,7 @@ async def _search_available_phone_numbers_initial( content_type = content_type or "application/json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: _json = self._serialize.body(body, "PhoneNumberSearchRequest") @@ -557,8 +563,9 @@ async def _search_available_phone_numbers_initial( } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -652,7 +659,8 @@ async def begin_search_available_phone_numbers( :param country_code: The ISO 3166-2 country code, e.g. US. Required. :type country_code: str - :param body: The phone number search request. Is either a model type or a IO type. Required. + :param body: The phone number search request. Is either a PhoneNumberSearchRequest type or a IO + type. Required. :type body: ~azure.communication.phonenumbers.models.PhoneNumberSearchRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -767,8 +775,9 @@ async def get_search_result(self, search_id: str, **kwargs: Any) -> _models.Phon } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -805,7 +814,7 @@ async def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-retur content_type = content_type or "application/json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: _json = self._serialize.body(body, "PhoneNumberPurchaseRequest") @@ -823,8 +832,9 @@ async def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-retur } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -900,7 +910,8 @@ async def begin_purchase_phone_numbers( Purchases phone numbers. - :param body: The phone number purchase request. Is either a model type or a IO type. Required. + :param body: The phone number purchase request. Is either a PhoneNumberPurchaseRequest type or + a IO type. Required. :type body: ~azure.communication.phonenumbers.models.PhoneNumberPurchaseRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -992,8 +1003,9 @@ async def get_operation(self, operation_id: str, **kwargs: Any) -> _models.Phone } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1051,8 +1063,9 @@ async def cancel_operation( # pylint: disable=inconsistent-return-statements } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1085,7 +1098,7 @@ async def _update_capabilities_initial( content_type = content_type or "application/merge-patch+json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: if body is not None: @@ -1107,8 +1120,9 @@ async def _update_capabilities_initial( } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1210,8 +1224,8 @@ async def begin_update_capabilities( :param phone_number: The phone number id in E.164 format. The leading plus can be either + or encoded as %2B, e.g. +11234567890. Required. :type phone_number: str - :param body: Defines the update capabilities request. Is either a model type or a IO type. - Default value is None. + :param body: Defines the update capabilities request. Is either a + PhoneNumberCapabilitiesRequest type or a IO type. Default value is None. :type body: ~azure.communication.phonenumbers.models.PhoneNumberCapabilitiesRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/merge-patch+json'. Default value is None. @@ -1327,8 +1341,9 @@ async def get_by_number(self, phone_number: str, **kwargs: Any) -> _models.Purch } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1372,8 +1387,9 @@ async def _release_phone_number_initial( # pylint: disable=inconsistent-return- } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1471,9 +1487,9 @@ def list_phone_numbers( _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models._models.PurchasedPhoneNumbers] = kwargs.pop( + cls: ClsType[_models._models.PurchasedPhoneNumbers] = kwargs.pop( # pylint: disable=protected-access "cls", None - ) # pylint: disable=protected-access + ) error_map = { 401: ClientAuthenticationError, @@ -1534,8 +1550,9 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1547,3 +1564,111 @@ async def get_next(next_link=None): return pipeline_response return AsyncItemPaged(get_next, extract_data) + + @overload + async def operator_information_search( + self, body: _models.OperatorInformationRequest, *, content_type: str = "application/json", **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Required. + :type body: ~azure.communication.phonenumbers.models.OperatorInformationRequest + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + async def operator_information_search( + self, body: IO, *, content_type: str = "application/json", **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Required. + :type body: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace_async + async def operator_information_search( + self, body: Union[_models.OperatorInformationRequest, IO], **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Is either a + OperatorInformationRequest type or a IO type. Required. + :type body: ~azure.communication.phonenumbers.models.OperatorInformationRequest or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} + + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.OperatorInformationResult] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(body, (IOBase, bytes)): + _content = body + else: + _json = self._serialize.body(body, "OperatorInformationRequest") + + request = build_phone_numbers_operator_information_search_request( + content_type=content_type, + api_version=self._config.api_version, + json=_json, + content=_content, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + } + request.url = self._client.format_url(request.url, **path_format_arguments) + + _stream = False + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=_stream, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("OperatorInformationResult", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py index b109c061782d..2d78682f56d8 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py @@ -8,6 +8,10 @@ from ._models import CommunicationError from ._models import CommunicationErrorResponse +from ._models import OperatorDetails +from ._models import OperatorInformation +from ._models import OperatorInformationRequest +from ._models import OperatorInformationResult from ._models import PhoneNumberAdministrativeDivision from ._models import PhoneNumberAreaCode from ._models import PhoneNumberCapabilities @@ -23,6 +27,7 @@ from ._models import PurchasedPhoneNumber from ._enums import BillingFrequency +from ._enums import OperatorNumberType from ._enums import PhoneNumberAssignmentType from ._enums import PhoneNumberCapabilityType from ._enums import PhoneNumberOperationStatus @@ -35,6 +40,10 @@ __all__ = [ "CommunicationError", "CommunicationErrorResponse", + "OperatorDetails", + "OperatorInformation", + "OperatorInformationRequest", + "OperatorInformationResult", "PhoneNumberAdministrativeDivision", "PhoneNumberAreaCode", "PhoneNumberCapabilities", @@ -49,6 +58,7 @@ "PhoneNumberSearchResult", "PurchasedPhoneNumber", "BillingFrequency", + "OperatorNumberType", "PhoneNumberAssignmentType", "PhoneNumberCapabilityType", "PhoneNumberOperationStatus", diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py index f05059af9f7f..3d97fe6911d5 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py @@ -16,6 +16,15 @@ class BillingFrequency(str, Enum, metaclass=CaseInsensitiveEnumMeta): MONTHLY = "monthly" +class OperatorNumberType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Type of service associated with the phone number.""" + + UNKNOWN = "unknown" + OTHER = "other" + GEOGRAPHIC = "geographic" + MOBILE = "mobile" + + class PhoneNumberAssignmentType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Represents the assignment type of the offering.""" diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py index 041d9f785e92..f4ceee5269d8 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py @@ -127,6 +127,139 @@ def __init__( self.next_link = next_link +class OperatorDetails(_serialization.Model): + """Represents metadata describing the operator of a phone number. + + :ivar name: Name of the phone operator. + :vartype name: str + :ivar mobile_network_code: Mobile Network Code. + :vartype mobile_network_code: str + :ivar mobile_country_code: Mobile Country Code. + :vartype mobile_country_code: str + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "mobile_network_code": {"key": "mobileNetworkCode", "type": "str"}, + "mobile_country_code": {"key": "mobileCountryCode", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + mobile_network_code: Optional[str] = None, + mobile_country_code: Optional[str] = None, + **kwargs: Any + ) -> None: + """ + :keyword name: Name of the phone operator. + :paramtype name: str + :keyword mobile_network_code: Mobile Network Code. + :paramtype mobile_network_code: str + :keyword mobile_country_code: Mobile Country Code. + :paramtype mobile_country_code: str + """ + super().__init__(**kwargs) + self.name = name + self.mobile_network_code = mobile_network_code + self.mobile_country_code = mobile_country_code + + +class OperatorInformation(_serialization.Model): + """Represents metadata about a phone number that is controlled/provided by that phone number's + operator. + + :ivar phone_number: E.164 formatted string representation of the phone number. + :vartype phone_number: str + :ivar number_type: Type of service associated with the phone number. Known values are: + "unknown", "other", "geographic", and "mobile". + :vartype number_type: str or ~azure.communication.phonenumbers.models.OperatorNumberType + :ivar iso_country_code: ISO country code associated with the phone number. + :vartype iso_country_code: str + :ivar operator_details: Represents metadata describing the operator of a phone number. + :vartype operator_details: ~azure.communication.phonenumbers.models.OperatorDetails + """ + + _attribute_map = { + "phone_number": {"key": "phoneNumber", "type": "str"}, + "number_type": {"key": "numberType", "type": "str"}, + "iso_country_code": {"key": "isoCountryCode", "type": "str"}, + "operator_details": {"key": "operatorDetails", "type": "OperatorDetails"}, + } + + def __init__( + self, + *, + phone_number: Optional[str] = None, + number_type: Optional[Union[str, "_models.OperatorNumberType"]] = None, + iso_country_code: Optional[str] = None, + operator_details: Optional["_models.OperatorDetails"] = None, + **kwargs: Any + ) -> None: + """ + :keyword phone_number: E.164 formatted string representation of the phone number. + :paramtype phone_number: str + :keyword number_type: Type of service associated with the phone number. Known values are: + "unknown", "other", "geographic", and "mobile". + :paramtype number_type: str or ~azure.communication.phonenumbers.models.OperatorNumberType + :keyword iso_country_code: ISO country code associated with the phone number. + :paramtype iso_country_code: str + :keyword operator_details: Represents metadata describing the operator of a phone number. + :paramtype operator_details: ~azure.communication.phonenumbers.models.OperatorDetails + """ + super().__init__(**kwargs) + self.phone_number = phone_number + self.number_type = number_type + self.iso_country_code = iso_country_code + self.operator_details = operator_details + + +class OperatorInformationRequest(_serialization.Model): + """Represents a search request for operator information for the given phone numbers. + + :ivar phone_numbers: Phone number(s) whose operator information is being requested. + :vartype phone_numbers: list[str] + """ + + _attribute_map = { + "phone_numbers": {"key": "phoneNumbers", "type": "[str]"}, + } + + def __init__(self, *, phone_numbers: Optional[List[str]] = None, **kwargs: Any) -> None: + """ + :keyword phone_numbers: Phone number(s) whose operator information is being requested. + :paramtype phone_numbers: list[str] + """ + super().__init__(**kwargs) + self.phone_numbers = phone_numbers + + +class OperatorInformationResult(_serialization.Model): + """Represents a search result containing operator information associated with the requested phone + numbers. + + :ivar values: Results of a search. + This array will have one entry per requested phone number which will contain the relevant + operator information. + :vartype values: list[~azure.communication.phonenumbers.models.OperatorInformation] + """ + + _attribute_map = { + "values": {"key": "values", "type": "[OperatorInformation]"}, + } + + def __init__(self, *, values: Optional[List["_models.OperatorInformation"]] = None, **kwargs: Any) -> None: + """ + :keyword values: Results of a search. + This array will have one entry per requested phone number which will contain the relevant + operator information. + :paramtype values: list[~azure.communication.phonenumbers.models.OperatorInformation] + """ + super().__init__(**kwargs) + self.values = values + + class PhoneNumberAdministrativeDivision(_serialization.Model): """Represents an administrative division. e.g. state or province. diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py index 7b299a67dd5c..9521b0257f48 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py @@ -6,7 +6,7 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import sys +from io import IOBase from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload import urllib.parse @@ -31,10 +31,6 @@ from .._serialization import Serializer from .._vendor import _format_url_section -if sys.version_info >= (3, 8): - from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports -else: - from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -56,7 +52,7 @@ def build_phone_numbers_list_area_codes_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -93,7 +89,7 @@ def build_phone_numbers_list_available_countries_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -123,7 +119,7 @@ def build_phone_numbers_list_available_localities_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -161,7 +157,7 @@ def build_phone_numbers_list_offerings_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -194,7 +190,7 @@ def build_phone_numbers_search_available_phone_numbers_request(country_code: str _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -220,7 +216,7 @@ def build_phone_numbers_get_search_result_request(search_id: str, **kwargs: Any) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -245,7 +241,7 @@ def build_phone_numbers_purchase_phone_numbers_request(**kwargs: Any) -> HttpReq _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -266,7 +262,7 @@ def build_phone_numbers_get_operation_request(operation_id: str, **kwargs: Any) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -290,7 +286,7 @@ def build_phone_numbers_cancel_operation_request(operation_id: str, **kwargs: An _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -315,7 +311,7 @@ def build_phone_numbers_update_capabilities_request(phone_number: str, **kwargs: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -341,7 +337,7 @@ def build_phone_numbers_get_by_number_request(phone_number: str, **kwargs: Any) _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -365,7 +361,7 @@ def build_phone_numbers_release_phone_number_request(phone_number: str, **kwargs _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -389,7 +385,7 @@ def build_phone_numbers_list_phone_numbers_request(*, skip: int = 0, top: int = _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: Literal["2022-12-01"] = kwargs.pop("api_version", _params.pop("api-version", "2022-12-01")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -408,6 +404,28 @@ def build_phone_numbers_list_phone_numbers_request(*, skip: int = 0, top: int = return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) +def build_phone_numbers_operator_information_search_request(**kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01-preview")) + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/operatorInformation/:search" + + # Construct parameters + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") + + # Construct headers + if content_type is not None: + _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) + + class PhoneNumbersOperations: """ .. warning:: @@ -452,7 +470,7 @@ def list_area_codes( :keyword skip: An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. Default value is 0. :paramtype skip: int - :keyword assignment_type: Filter by assignmentType, e.g. User, Application. Known values are: + :keyword assignment_type: Filter by assignmentType, e.g. Person, Application. Known values are: "person" and "application". Default value is None. :paramtype assignment_type: str or ~azure.communication.phonenumbers.models.PhoneNumberAssignmentType @@ -539,8 +557,9 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -636,8 +655,9 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -683,9 +703,9 @@ def list_available_localities( _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models._models.PhoneNumberLocalities] = kwargs.pop( + cls: ClsType[_models._models.PhoneNumberLocalities] = kwargs.pop( # pylint: disable=protected-access "cls", None - ) # pylint: disable=protected-access + ) error_map = { 401: ClientAuthenticationError, @@ -748,8 +768,9 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -864,8 +885,9 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -898,7 +920,7 @@ def _search_available_phone_numbers_initial( content_type = content_type or "application/json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: _json = self._serialize.body(body, "PhoneNumberSearchRequest") @@ -917,8 +939,9 @@ def _search_available_phone_numbers_initial( } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1012,7 +1035,8 @@ def begin_search_available_phone_numbers( :param country_code: The ISO 3166-2 country code, e.g. US. Required. :type country_code: str - :param body: The phone number search request. Is either a model type or a IO type. Required. + :param body: The phone number search request. Is either a PhoneNumberSearchRequest type or a IO + type. Required. :type body: ~azure.communication.phonenumbers.models.PhoneNumberSearchRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -1127,8 +1151,9 @@ def get_search_result(self, search_id: str, **kwargs: Any) -> _models.PhoneNumbe } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1165,7 +1190,7 @@ def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-return-stat content_type = content_type or "application/json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: _json = self._serialize.body(body, "PhoneNumberPurchaseRequest") @@ -1183,8 +1208,9 @@ def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-return-stat } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1260,7 +1286,8 @@ def begin_purchase_phone_numbers( Purchases phone numbers. - :param body: The phone number purchase request. Is either a model type or a IO type. Required. + :param body: The phone number purchase request. Is either a PhoneNumberPurchaseRequest type or + a IO type. Required. :type body: ~azure.communication.phonenumbers.models.PhoneNumberPurchaseRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -1351,8 +1378,9 @@ def get_operation(self, operation_id: str, **kwargs: Any) -> _models.PhoneNumber } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1410,8 +1438,9 @@ def cancel_operation( # pylint: disable=inconsistent-return-statements } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1444,7 +1473,7 @@ def _update_capabilities_initial( content_type = content_type or "application/merge-patch+json" _json = None _content = None - if isinstance(body, (IO, bytes)): + if isinstance(body, (IOBase, bytes)): _content = body else: if body is not None: @@ -1466,8 +1495,9 @@ def _update_capabilities_initial( } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1569,8 +1599,8 @@ def begin_update_capabilities( :param phone_number: The phone number id in E.164 format. The leading plus can be either + or encoded as %2B, e.g. +11234567890. Required. :type phone_number: str - :param body: Defines the update capabilities request. Is either a model type or a IO type. - Default value is None. + :param body: Defines the update capabilities request. Is either a + PhoneNumberCapabilitiesRequest type or a IO type. Default value is None. :type body: ~azure.communication.phonenumbers.models.PhoneNumberCapabilitiesRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/merge-patch+json'. Default value is None. @@ -1686,8 +1716,9 @@ def get_by_number(self, phone_number: str, **kwargs: Any) -> _models.PurchasedPh } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1731,8 +1762,9 @@ def _release_phone_number_initial( # pylint: disable=inconsistent-return-statem } request.url = self._client.format_url(request.url, **path_format_arguments) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1829,9 +1861,9 @@ def list_phone_numbers( _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models._models.PurchasedPhoneNumbers] = kwargs.pop( + cls: ClsType[_models._models.PurchasedPhoneNumbers] = kwargs.pop( # pylint: disable=protected-access "cls", None - ) # pylint: disable=protected-access + ) error_map = { 401: ClientAuthenticationError, @@ -1892,8 +1924,9 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) + _stream = False pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access - request, stream=False, **kwargs + request, stream=_stream, **kwargs ) response = pipeline_response.http_response @@ -1905,3 +1938,111 @@ def get_next(next_link=None): return pipeline_response return ItemPaged(get_next, extract_data) + + @overload + def operator_information_search( + self, body: _models.OperatorInformationRequest, *, content_type: str = "application/json", **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Required. + :type body: ~azure.communication.phonenumbers.models.OperatorInformationRequest + :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. + Default value is "application/json". + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @overload + def operator_information_search( + self, body: IO, *, content_type: str = "application/json", **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Required. + :type body: IO + :keyword content_type: Body Parameter content-type. Content type parameter for binary body. + Default value is "application/json". + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + + @distributed_trace + def operator_information_search( + self, body: Union[_models.OperatorInformationRequest, IO], **kwargs: Any + ) -> _models.OperatorInformationResult: + """Searches for operator information for a given list of phone numbers. + + Searches for operator information for a given list of phone numbers. + + :param body: The phone number(s) whose operator information should be searched. Is either a + OperatorInformationRequest type or a IO type. Required. + :type body: ~azure.communication.phonenumbers.models.OperatorInformationRequest or IO + :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. + Default value is None. + :paramtype content_type: str + :return: OperatorInformationResult + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} + + content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + cls: ClsType[_models.OperatorInformationResult] = kwargs.pop("cls", None) + + content_type = content_type or "application/json" + _json = None + _content = None + if isinstance(body, (IOBase, bytes)): + _content = body + else: + _json = self._serialize.body(body, "OperatorInformationRequest") + + request = build_phone_numbers_operator_information_search_request( + content_type=content_type, + api_version=self._config.api_version, + json=_json, + content=_content, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + } + request.url = self._client.format_url(request.url, **path_format_arguments) + + _stream = False + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + request, stream=_stream, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("OperatorInformationResult", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized diff --git a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index 9cbde226df04..d054cea08531 100644 --- a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md +++ b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md @@ -10,8 +10,8 @@ autorest ./PHONE_NUMBER_SWAGGER.md ### Settings ``` yaml -tag: package-phonenumber-2022-12-01 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/edf1d7365a436f0b124c0cecbefd63499e049af0/specification/communication/data-plane/PhoneNumbers/readme.md +tag: package-phonenumber-2023-05-01-preview +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/2d4881cf7101773b8c677a267b53d915b30a8c6c/specification/communication/data-plane/PhoneNumbers/readme.md output-folder: ../azure/communication/phonenumbers/_generated namespace: azure.communication.phonenumbers license-header: MICROSOFT_MIT_NO_VERSION From 938c43bc0002f53151e20b28eb301a8dfc641ad1 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 6 Jul 2023 10:30:47 -0700 Subject: [PATCH 02/16] update internal operation tests --- .../test/test_phone_number_operations.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py index 5699cbc2700f..cd1ab6af5346 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py @@ -7,10 +7,11 @@ import pytest from azure.core.rest import HttpRequest from azure.communication.phonenumbers._generated.operations._operations import ( -build_phone_numbers_get_search_result_request, +build_phone_numbers_get_search_result_request, build_phone_numbers_purchase_phone_numbers_request, build_phone_numbers_get_operation_request, -build_phone_numbers_cancel_operation_request +build_phone_numbers_cancel_operation_request, +build_phone_numbers_operator_information_search_request ) test_id = "test_id" @@ -21,7 +22,7 @@ def test_build_phone_numbers_get_search_result_request(): assert isinstance(request, HttpRequest) assert request.method == "GET" assert test_id in request.url - assert "api-version=2022-12-01" in request.url + assert "api-version=2023-05-01-preview" in request.url assert request.headers["Accept"] == "application/json" def test_build_phone_numbers_purchase_phone_numbers_request(): @@ -46,4 +47,11 @@ def test_build_phone_numbers_cancel_operation_request(): assert isinstance(request, HttpRequest) assert request.method == "DELETE" assert test_id in request.url - assert request.headers["Accept"] == "application/json" \ No newline at end of file + assert request.headers["Accept"] == "application/json" + +def test_build_phone_numbers_operator_information_search_request(): + request = build_phone_numbers_operator_information_search_request() + + assert isinstance(request, HttpRequest) + assert request.method == "POST" + assert request.headers["Accept"] == "application/json" From 808cd3543238a99c2742485d35c7282b4be46381 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Mon, 10 Jul 2023 16:13:52 -0700 Subject: [PATCH 03/16] regenerate autorest, add and record tests --- .../communication/phonenumbers/__init__.py | 2 + .../phonenumbers/_api_versions.py | 3 +- .../_generated/models/__init__.py | 2 + .../phonenumbers/_generated/models/_enums.py | 22 + .../phonenumbers/_generated/models/_models.py | 22 + .../phonenumbers/_phone_numbers_client.py | 21 + .../aio/_phone_numbers_client_async.py | 21 + .../swagger/PHONE_NUMBER_SWAGGER.md | 10 +- ...Clienttest_get_purchased_phone_number.json | 14 +- ...ed_phone_number_from_managed_identity.json | 27 +- ...hone_number_with_invalid_phone_number.json | 8 +- ...PhoneNumbersClienttest_list_countries.json | 79 ++- ..._list_countries_from_managed_identity.json | 92 ++- ...Clienttest_list_geographic_area_codes.json | 209 ++++--- ...phic_area_codes_from_managed_identity.json | 222 ++++---- ...honeNumbersClienttest_list_localities.json | 131 ++--- ...list_localities_from_managed_identity.json | 144 +++-- ...ersClienttest_list_localities_with_ad.json | 142 ++--- ...alities_with_ad_from_managed_identity.json | 155 +++-- ...PhoneNumbersClienttest_list_offerings.json | 11 +- ..._list_offerings_from_managed_identity.json | 24 +- ...ienttest_list_purchased_phone_numbers.json | 497 +--------------- ...d_phone_numbers_from_managed_identity.json | 510 +---------------- ...sClienttest_list_toll_free_area_codes.json | 11 +- ...free_area_codes_from_managed_identity.json | 24 +- ...nttest_search_available_phone_numbers.json | 95 +--- ...e_phone_numbers_from_managed_identity.json | 72 ++- ...one_numbers_with_invalid_country_code.json | 8 +- ...lienttest_search_operator_information.json | 51 ++ ...formation_with_too_many_phone_numbers.json | 44 ++ ...test_update_phone_number_capabilities.json | 94 ++-- ...er_capabilities_from_managed_identity.json | 107 ++-- ...mber_capabilities_with_invalid_number.json | 18 +- ...capabilities_with_unauthorized_number.json | 11 +- ...tAsynctest_get_purchased_phone_number.json | 14 +- ...ed_phone_number_from_managed_identity.json | 21 +- ...hone_number_with_invalid_phone_number.json | 8 +- ...NumbersClientAsynctest_list_countries.json | 79 ++- ..._list_countries_with_managed_identity.json | 86 ++- ...tAsynctest_list_geographic_area_codes.json | 209 ++++--- ...phic_area_codes_with_managed_identity.json | 216 ++++--- ...umbersClientAsynctest_list_localities.json | 280 ++++++--- ...ientAsynctest_list_localities_with_ad.json | 142 ++--- ...calities_with_ad_and_managed_identity.json | 149 ++--- ...list_localities_with_managed_identity.json | 275 ++++++--- ...NumbersClientAsynctest_list_offerings.json | 11 +- ..._list_offerings_with_managed_identity.json | 18 +- ...synctest_list_purchased_phone_numbers.json | 526 +---------------- ...d_phone_numbers_from_managed_identity.json | 529 +----------------- ...ntAsynctest_list_toll_free_area_codes.json | 11 +- ...free_area_codes_with_managed_identity.json | 18 +- ...nctest_search_available_phone_numbers.json | 16 +- ...e_phone_numbers_from_managed_identity.json | 23 +- ...one_numbers_with_invalid_country_code.json | 8 +- ...Asynctest_search_operator_information.json | 50 ++ ...formation_with_too_many_phone_numbers.json | 43 ++ ...test_update_phone_number_capabilities.json | 94 ++-- ...er_capabilities_from_managed_identity.json | 101 ++-- ...mber_capabilities_with_invalid_number.json | 18 +- ...capabilities_with_unauthorized_number.json | 11 +- ...TestSipRoutingClientE2Etest_add_trunk.json | 14 +- ...Etest_add_trunk_from_managed_identity.json | 95 ++-- ...tSipRoutingClientE2Etest_delete_trunk.json | 14 +- ...st_delete_trunk_from_managed_identity.json | 95 ++-- ...estSipRoutingClientE2Etest_get_routes.json | 14 +- ...test_get_routes_from_managed_identity.json | 95 ++-- ...TestSipRoutingClientE2Etest_get_trunk.json | 7 +- ...Etest_get_trunk_from_managed_identity.json | 88 +-- ...E2Etest_get_trunk_not_existing_throws.json | 7 +- ...estSipRoutingClientE2Etest_get_trunks.json | 7 +- ...test_get_trunks_from_managed_identity.json | 88 +-- ...estSipRoutingClientE2Etest_set_routes.json | 21 +- ...test_set_routes_from_managed_identity.json | 102 ++-- ...TestSipRoutingClientE2Etest_set_trunk.json | 14 +- ...Etest_set_trunk_from_managed_identity.json | 95 ++-- ...estSipRoutingClientE2Etest_set_trunks.json | 21 +- ...ngClientE2Etest_set_trunks_empty_list.json | 21 +- ...test_set_trunks_from_managed_identity.json | 102 ++-- ...ipRoutingClientE2EAsynctest_add_trunk.json | 14 +- ...ctest_add_trunk_from_managed_identity.json | 29 +- ...outingClientE2EAsynctest_delete_trunk.json | 14 +- ...st_delete_trunk_from_managed_identity.json | 29 +- ...pRoutingClientE2EAsynctest_get_routes.json | 14 +- ...test_get_routes_from_managed_identity.json | 29 +- ...ipRoutingClientE2EAsynctest_get_trunk.json | 7 +- ...ctest_get_trunk_from_managed_identity.json | 22 +- ...ynctest_get_trunk_not_existing_throws.json | 7 +- ...pRoutingClientE2EAsynctest_get_trunks.json | 7 +- ...test_get_trunks_from_managed_identity.json | 22 +- ...pRoutingClientE2EAsynctest_set_routes.json | 21 +- ...test_set_routes_from_managed_identity.json | 36 +- ...ipRoutingClientE2EAsynctest_set_trunk.json | 14 +- ...ctest_set_trunk_from_managed_identity.json | 29 +- ...pRoutingClientE2EAsynctest_set_trunks.json | 21 +- ...entE2EAsynctest_set_trunks_empty_list.json | 21 +- ...test_set_trunks_from_managed_identity.json | 34 +- ...test_phone_number_administration_client.py | 20 + ...hone_number_administration_client_async.py | 26 +- .../test/test_phone_number_operations.py | 4 +- 99 files changed, 2984 insertions(+), 4195 deletions(-) create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/__init__.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/__init__.py index 1fb5be72ea76..ab180ebada62 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/__init__.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/__init__.py @@ -20,6 +20,7 @@ PhoneNumberCountry, PhoneNumberLocality, PhoneNumberOffering, + OperatorInformationResult, ) __all__ = [ @@ -36,5 +37,6 @@ 'PhoneNumberCountry', 'PhoneNumberLocality', 'PhoneNumberOffering', + 'OperatorInformationResult', 'PhoneNumbersClient' ] diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_api_versions.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_api_versions.py index 37c7445dc8d1..1517ea3e061d 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_api_versions.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_api_versions.py @@ -10,6 +10,7 @@ class ApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta): V2022_01_11_PREVIEW2 = "2022-01-11-preview2" V2022_12_01 = "2022-12-01" + V2023_05_01_PREVIEW = "2023-05-01-preview" -DEFAULT_VERSION = ApiVersion.V2022_12_01 +DEFAULT_VERSION = ApiVersion.V2023_05_01_PREVIEW diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py index 2d78682f56d8..b51be8842bdc 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/__init__.py @@ -32,6 +32,7 @@ from ._enums import PhoneNumberCapabilityType from ._enums import PhoneNumberOperationStatus from ._enums import PhoneNumberOperationType +from ._enums import PhoneNumberSearchResultError from ._enums import PhoneNumberType from ._patch import __all__ as _patch_all from ._patch import * # pylint: disable=unused-wildcard-import @@ -63,6 +64,7 @@ "PhoneNumberCapabilityType", "PhoneNumberOperationStatus", "PhoneNumberOperationType", + "PhoneNumberSearchResultError", "PhoneNumberType", ] __all__.extend([p for p in _patch_all if p not in __all__]) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py index 3d97fe6911d5..eb5d3091762d 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_enums.py @@ -59,6 +59,28 @@ class PhoneNumberOperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): UPDATE_PHONE_NUMBER_CAPABILITIES = "updatePhoneNumberCapabilities" +class PhoneNumberSearchResultError(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Mapping Error Messages to Codes.""" + + NO_ERROR = "NoError" + UNKNOWN_ERROR_CODE = "UnknownErrorCode" + OUT_OF_STOCK = "OutOfStock" + AUTHORIZATION_DENIED = "AuthorizationDenied" + MISSING_ADDRESS = "MissingAddress" + INVALID_ADDRESS = "InvalidAddress" + INVALID_OFFER_MODEL = "InvalidOfferModel" + NOT_ENOUGH_LICENSES = "NotEnoughLicenses" + NO_WALLET = "NoWallet" + NOT_ENOUGH_CREDIT = "NotEnoughCredit" + NUMBERS_PARTIALLY_ACQUIRED = "NumbersPartiallyAcquired" + ALL_NUMBERS_NOT_ACQUIRED = "AllNumbersNotAcquired" + RESERVATION_EXPIRED = "ReservationExpired" + PURCHASE_FAILED = "PurchaseFailed" + BILLING_UNAVAILABLE = "BillingUnavailable" + PROVISIONING_FAILED = "ProvisioningFailed" + UNKNOWN_SEARCH_ERROR = "UnknownSearchError" + + class PhoneNumberType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Represents the number type of the offering.""" diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py index f4ceee5269d8..7cfa19afbe5c 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py @@ -877,6 +877,14 @@ class PhoneNumberSearchResult(_serialization.Model): longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z. Required. :vartype search_expires_by: ~datetime.datetime + :ivar error_code: The error code of the search. + :vartype error_code: int + :ivar error: Mapping Error Messages to Codes. Known values are: "NoError", "UnknownErrorCode", + "OutOfStock", "AuthorizationDenied", "MissingAddress", "InvalidAddress", "InvalidOfferModel", + "NotEnoughLicenses", "NoWallet", "NotEnoughCredit", "NumbersPartiallyAcquired", + "AllNumbersNotAcquired", "ReservationExpired", "PurchaseFailed", "BillingUnavailable", + "ProvisioningFailed", and "UnknownSearchError". + :vartype error: str or ~azure.communication.phonenumbers.models.PhoneNumberSearchResultError """ _validation = { @@ -897,6 +905,8 @@ class PhoneNumberSearchResult(_serialization.Model): "capabilities": {"key": "capabilities", "type": "PhoneNumberCapabilities"}, "cost": {"key": "cost", "type": "PhoneNumberCost"}, "search_expires_by": {"key": "searchExpiresBy", "type": "iso-8601"}, + "error_code": {"key": "errorCode", "type": "int"}, + "error": {"key": "error", "type": "str"}, } def __init__( @@ -909,6 +919,8 @@ def __init__( capabilities: "_models.PhoneNumberCapabilities", cost: "_models.PhoneNumberCost", search_expires_by: datetime.datetime, + error_code: Optional[int] = None, + error: Optional[Union[str, "_models.PhoneNumberSearchResultError"]] = None, **kwargs: Any ) -> None: """ @@ -932,6 +944,14 @@ def __init__( longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z. Required. :paramtype search_expires_by: ~datetime.datetime + :keyword error_code: The error code of the search. + :paramtype error_code: int + :keyword error: Mapping Error Messages to Codes. Known values are: "NoError", + "UnknownErrorCode", "OutOfStock", "AuthorizationDenied", "MissingAddress", "InvalidAddress", + "InvalidOfferModel", "NotEnoughLicenses", "NoWallet", "NotEnoughCredit", + "NumbersPartiallyAcquired", "AllNumbersNotAcquired", "ReservationExpired", "PurchaseFailed", + "BillingUnavailable", "ProvisioningFailed", and "UnknownSearchError". + :paramtype error: str or ~azure.communication.phonenumbers.models.PhoneNumberSearchResultError """ super().__init__(**kwargs) self.search_id = search_id @@ -941,6 +961,8 @@ def __init__( self.capabilities = capabilities self.cost = cost self.search_expires_by = search_expires_by + self.error_code = error_code + self.error = error class PurchasedPhoneNumber(_serialization.Model): diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py index 72e0a4b4d47e..b7351b7a21cd 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py @@ -13,6 +13,8 @@ PhoneNumberCapabilitiesRequest, PhoneNumberPurchaseRequest, PhoneNumberType, + OperatorInformationRequest, + OperatorInformationResult, ) from ._shared.utils import parse_connection_str, get_authentication_policy from ._version import SDK_MONIKER @@ -421,3 +423,22 @@ def list_available_area_codes( "administrative_division", None), **kwargs ) + + @distributed_trace + def search_operator_information( + self, + phone_numbers, # type: list(str) + **kwargs # type: Any + ): + # type: (...) -> OperatorInformationResult + """Searches for operator information for a given list of phone numbers. + + :param phone_numbers: The phone number(s) whose operator information should be searched + :type phone_numbers: list(str) + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + """ + request = OperatorInformationRequest(phone_numbers = phone_numbers) + return self._phone_number_client.phone_numbers.operator_information_search( + request, + **kwargs + ) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py index 007569cacc14..c5951b779f3e 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py @@ -13,6 +13,8 @@ PhoneNumberCapabilitiesRequest, PhoneNumberPurchaseRequest, PhoneNumberType, + OperatorInformationRequest, + OperatorInformationResult, ) from .._shared.utils import parse_connection_str, get_authentication_policy from .._version import SDK_MONIKER @@ -419,6 +421,25 @@ def list_available_area_codes( **kwargs ) + @distributed_trace + def search_operator_information( + self, + phone_numbers, # type: list(str) + **kwargs # type: Any + ): + # type: (...) -> OperatorInformationResult + """Searches for operator information for a given list of phone numbers. + + :param phone_numbers: The phone number(s) whose operator information should be searched + :type phone_numbers: list(str) + :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult + """ + request = OperatorInformationRequest(phone_numbers = phone_numbers) + return self._phone_number_client.phone_numbers.operator_information_search( + request, + **kwargs + ) + async def __aenter__(self) -> "PhoneNumbersClient": await self._phone_number_client.__aenter__() return self diff --git a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index d054cea08531..952b2ef865e0 100644 --- a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md +++ b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md @@ -11,7 +11,7 @@ autorest ./PHONE_NUMBER_SWAGGER.md ### Settings ``` yaml tag: package-phonenumber-2023-05-01-preview -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/2d4881cf7101773b8c677a267b53d915b30a8c6c/specification/communication/data-plane/PhoneNumbers/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/4d2e746ac1e094f87bfe0807b1d51b375a6c5517/specification/communication/data-plane/PhoneNumbers/readme.md output-folder: ../azure/communication/phonenumbers/_generated namespace: azure.communication.phonenumbers license-header: MICROSOFT_MIT_NO_VERSION @@ -22,4 +22,12 @@ v3: true python: true title: Phone Numbers Client models-mode: msrest +``` + +``` yaml +directive: + from: swagger-document + where: $.definitions.PhoneNumberSearchResult.properties.error.x-ms-enum + transform: > + $["name"] = "PhoneNumberSearchResultError"; ``` \ No newline at end of file diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json index 84a050f58c62..b3b949b1de7f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1038ms" + "X-Processing-Time": "987ms" }, "ResponseBody": { "id": "sanitized", @@ -32,10 +32,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json index 3f07b982aa9b..66c53edef194 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "901ms" + "X-Processing-Time": "1034ms" }, "ResponseBody": { "id": "sanitized", @@ -244,10 +239,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json index 8c4708acc72e..9891f2e227cf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,7 @@ "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "664ms" + "X-Processing-Time": "186ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json index 6fb58f44da19..07e1be4a87bc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "1253", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1822ms" + "X-Processing-Time": "2611ms" }, "ResponseBody": { "countries": [ @@ -31,26 +32,94 @@ "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "China", + "countryCode": "CN" + }, { "localizedName": "Denmark", "countryCode": "DK" }, + { + "localizedName": "Finland", + "countryCode": "FI" + }, + { + "localizedName": "France", + "countryCode": "FR" + }, + { + "localizedName": "Hong Kong SAR", + "countryCode": "HK" + }, + { + "localizedName": "Indonesia", + "countryCode": "ID" + }, { "localizedName": "Ireland", "countryCode": "IE" }, + { + "localizedName": "Israel", + "countryCode": "IL" + }, { "localizedName": "Italy", "countryCode": "IT" }, + { + "localizedName": "Korea", + "countryCode": "KR" + }, + { + "localizedName": "Malaysia", + "countryCode": "MY" + }, + { + "localizedName": "Netherlands", + "countryCode": "NL" + }, + { + "localizedName": "New Zealand", + "countryCode": "NZ" + }, + { + "localizedName": "Philippines", + "countryCode": "PH" + }, + { + "localizedName": "Poland", + "countryCode": "PL" + }, { "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Singapore", + "countryCode": "SG" + }, + { + "localizedName": "South Africa", + "countryCode": "ZA" + }, { "localizedName": "Sweden", "countryCode": "SE" }, + { + "localizedName": "Taiwan", + "countryCode": "TW" + }, + { + "localizedName": "Thailand", + "countryCode": "TH" + }, + { + "localizedName": "United Arab Emirates", + "countryCode": "AE" + }, { "localizedName": "United Kingdom", "countryCode": "GB" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json index 0824245a6f0d..eb72e73f0998 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,27 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "1253", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2870ms" + "X-Processing-Time": "2628ms" }, "ResponseBody": { "countries": [ @@ -243,26 +239,94 @@ "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "China", + "countryCode": "CN" + }, { "localizedName": "Denmark", "countryCode": "DK" }, + { + "localizedName": "Finland", + "countryCode": "FI" + }, + { + "localizedName": "France", + "countryCode": "FR" + }, + { + "localizedName": "Hong Kong SAR", + "countryCode": "HK" + }, + { + "localizedName": "Indonesia", + "countryCode": "ID" + }, { "localizedName": "Ireland", "countryCode": "IE" }, + { + "localizedName": "Israel", + "countryCode": "IL" + }, { "localizedName": "Italy", "countryCode": "IT" }, + { + "localizedName": "Korea", + "countryCode": "KR" + }, + { + "localizedName": "Malaysia", + "countryCode": "MY" + }, + { + "localizedName": "Netherlands", + "countryCode": "NL" + }, + { + "localizedName": "New Zealand", + "countryCode": "NZ" + }, + { + "localizedName": "Philippines", + "countryCode": "PH" + }, + { + "localizedName": "Poland", + "countryCode": "PL" + }, { "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Singapore", + "countryCode": "SG" + }, + { + "localizedName": "South Africa", + "countryCode": "ZA" + }, { "localizedName": "Sweden", "countryCode": "SE" }, + { + "localizedName": "Taiwan", + "countryCode": "TW" + }, + { + "localizedName": "Thailand", + "countryCode": "TH" + }, + { + "localizedName": "United Arab Emirates", + "countryCode": "AE" + }, { "localizedName": "United Kingdom", "countryCode": "GB" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json index 0be731c8bc90..5e821d647b7c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,19 +15,33 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "317ms" + "X-Processing-Time": "277ms" }, "ResponseBody": { "phoneNumberLocalities": [ + { + "localizedName": "Anchorage", + "administrativeDivision": { + "localizedName": "AK", + "abbreviatedName": "AK" + } + }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -98,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -105,6 +126,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Irvine", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Los Angeles", "administrativeDivision": { @@ -126,6 +154,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Salinas", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "San Diego", "administrativeDivision": { @@ -147,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -217,6 +259,20 @@ "abbreviatedName": "CT" } }, + { + "localizedName": "Wilmington", + "administrativeDivision": { + "localizedName": "DE", + "abbreviatedName": "DE" + } + }, + { + "localizedName": "Cape Coral", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -267,14 +323,14 @@ } }, { - "localizedName": "Port St Lucie", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Sarasota", + "localizedName": "St. Petersburg", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -357,6 +413,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Mason City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Sioux City", "administrativeDivision": { @@ -462,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -567,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -574,6 +637,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Baltimore", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Bethesda", "administrativeDivision": { @@ -581,6 +651,13 @@ "abbreviatedName": "MD" } }, + { + "localizedName": "Silver Spring", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Portland", "administrativeDivision": { @@ -631,115 +708,38 @@ } }, { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Marshall", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Springfield", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "St. Charles", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Biloxi", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Jackson", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Starkville", + "localizedName": "Saginaw", "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" + "localizedName": "MI", + "abbreviatedName": "MI" } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Huntsville\u0026administrativeDivision=AL\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Anchorage\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -747,24 +747,21 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "50", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "895ms" + "X-Processing-Time": "1651ms" }, "ResponseBody": { "areaCodes": [ { - "areaCode": "256" - }, - { - "areaCode": "938" + "areaCode": "907" } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json index 7cddc5eebee3..8938ced59ce6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b2 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b2 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b2 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,30 +211,44 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "322ms" + "X-Processing-Time": "238ms" }, "ResponseBody": { "phoneNumberLocalities": [ + { + "localizedName": "Anchorage", + "administrativeDivision": { + "localizedName": "AK", + "abbreviatedName": "AK" + } + }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -310,6 +319,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -317,6 +333,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Irvine", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Los Angeles", "administrativeDivision": { @@ -338,6 +361,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Salinas", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "San Diego", "administrativeDivision": { @@ -359,6 +389,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -429,6 +466,20 @@ "abbreviatedName": "CT" } }, + { + "localizedName": "Wilmington", + "administrativeDivision": { + "localizedName": "DE", + "abbreviatedName": "DE" + } + }, + { + "localizedName": "Cape Coral", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -479,14 +530,14 @@ } }, { - "localizedName": "Port St Lucie", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Sarasota", + "localizedName": "St. Petersburg", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -569,6 +620,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Mason City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Sioux City", "administrativeDivision": { @@ -674,13 +732,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -779,6 +830,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -786,6 +844,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Baltimore", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Bethesda", "administrativeDivision": { @@ -793,6 +858,13 @@ "abbreviatedName": "MD" } }, + { + "localizedName": "Silver Spring", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Portland", "administrativeDivision": { @@ -843,115 +915,38 @@ } }, { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Marshall", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Springfield", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "St. Charles", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Biloxi", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Jackson", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Starkville", + "localizedName": "Saginaw", "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" + "localizedName": "MI", + "abbreviatedName": "MI" } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Huntsville\u0026administrativeDivision=AL\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Anchorage\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -959,24 +954,21 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "50", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "888ms" + "X-Processing-Time": "1630ms" }, "ResponseBody": { "areaCodes": [ { - "areaCode": "256" - }, - { - "areaCode": "938" + "areaCode": "907" } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json index 62f55859147f..0a1389443989 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "370ms" + "X-Processing-Time": "279ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -34,6 +35,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -104,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -167,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -202,6 +224,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -307,6 +336,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -370,6 +406,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -482,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -566,6 +602,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -580,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -658,77 +708,28 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json index e47d1f891576..b739a39464b4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,27 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "429ms" + "X-Processing-Time": "325ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -246,6 +242,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -316,6 +319,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -379,6 +389,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -414,6 +431,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -519,6 +543,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -582,6 +613,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -694,13 +732,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -778,6 +809,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -792,6 +830,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -870,77 +915,28 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json index eda451ecf333..27f29a2c7b65 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "446ms" + "X-Processing-Time": "272ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -34,6 +35,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -104,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -167,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -202,6 +224,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -307,6 +336,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -370,6 +406,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -482,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -566,6 +602,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -580,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -658,87 +708,38 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -746,15 +747,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "144", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "354ms" + "X-Processing-Time": "286ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json index ccf635352cca..89a55a3209d9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,27 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "364ms" + "X-Processing-Time": "292ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -246,6 +242,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -316,6 +319,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -379,6 +389,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -414,6 +431,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -519,6 +543,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -582,6 +613,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -694,13 +732,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -778,6 +809,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -792,6 +830,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -870,100 +915,52 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "144", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "346ms" + "X-Processing-Time": "267ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json index 354e7644759b..83ad0581d3e7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "659", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "844ms" + "X-Processing-Time": "497ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json index 6bc2916c6da5..5718ee7c0452 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,27 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "659", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "826ms" + "X-Processing-Time": "677ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json index 0f8688e7bd61..0b0743e5b838 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "23239", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1502ms" + "X-Processing-Time": "1151ms" }, "ResponseBody": { "phoneNumbers": [ @@ -322,7 +322,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound\u002Boutbound", + "calling": "inbound", "sms": "inbound\u002Boutbound" }, "assignmentType": "application", @@ -373,7 +373,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", + "calling": "outbound", "sms": "outbound" }, "assignmentType": "application", @@ -798,8 +798,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -877,6 +877,23 @@ "billingFrequency": "monthly" } }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:11:40.2093547\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, { "id": "sanitized", "phoneNumber": "sanitized", @@ -1267,468 +1284,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } } - ], - "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01" + ] } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json index 5e28f0789eb9..69d69704e141 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "23239", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2656ms" + "X-Processing-Time": "1538ms" }, "ResponseBody": { "phoneNumbers": [ @@ -534,7 +529,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound\u002Boutbound", + "calling": "inbound", "sms": "inbound\u002Boutbound" }, "assignmentType": "application", @@ -585,7 +580,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", + "calling": "outbound", "sms": "outbound" }, "assignmentType": "application", @@ -1010,8 +1005,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -1089,6 +1084,23 @@ "billingFrequency": "monthly" } }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:11:40.2093547\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, { "id": "sanitized", "phoneNumber": "sanitized", @@ -1479,468 +1491,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } } - ], - "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01" + ] } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json index 2848adfbbaf1..a6aef4d3d2ab 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "182", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3380ms" + "X-Processing-Time": "6232ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json index 4e159045f983..16381c9b0071 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,27 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "182", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3604ms" + "X-Processing-Time": "6226ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json index 7f6575482d8a..4ed74f77ee64 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -25,29 +25,29 @@ "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9", - "Operation-Location": "/phoneNumbers/operations/search_b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "search-id": "b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9", + "operation-id": "search_6442dc06-ff67-49d7-ab40-29528d4f8194", + "Operation-Location": "/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "search-id": "6442dc06-ff67-49d7-ab40-29528d4f8194", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1394ms" + "X-Processing-Time": "855ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -56,34 +56,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "301ms" + "X-Processing-Time": "240ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:33.2337328\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:07.5436806\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -92,70 +92,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "271ms" - }, - "ResponseBody": { - "operationType": "search", - "status": "running", - "resourceLocation": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:33.2337328\u002B00:00", - "id": "sanitized", - "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", - "x-ms-content-sha256": "sanitized", - "x-ms-date": "sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "264ms" + "X-Processing-Time": "236ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:33.2337328\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:07.5436806\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -163,18 +127,18 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "347", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "614ms" + "X-Processing-Time": "501ms" }, "ResponseBody": { - "searchId": "b30f14e4-4c9c-42ae-afea-f1eb0ffa74f9", + "searchId": "6442dc06-ff67-49d7-ab40-29528d4f8194", "phoneNumbers": [ "\u002Bsanitized" ], @@ -189,7 +153,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2022-12-20T23:43:37.3558741\u002B00:00" + "searchExpiresBy": "2023-07-10T23:25:09.3629681\u002B00:00", + "error": "NoError" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json index e314fba325dd..4f8360ad63cb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,7 +211,7 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -224,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "phoneNumberType": "tollFree", @@ -237,111 +232,111 @@ "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_2f747f19-aadc-43bd-b61c-601bf94146dd", - "Operation-Location": "/phoneNumbers/operations/search_2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", - "search-id": "2f747f19-aadc-43bd-b61c-601bf94146dd", + "operation-id": "search_c5b0f35b-393f-496c-bd1a-302e2abfbd52", + "Operation-Location": "/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "search-id": "c5b0f35b-393f-496c-bd1a-302e2abfbd52", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1419ms" + "X-Processing-Time": "1313ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "252ms" + "X-Processing-Time": "392ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:28.1220729\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:03.1915851\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "425ms" + "X-Processing-Time": "269ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:28.1220729\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:03.1915851\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/2f747f19-aadc-43bd-b61c-601bf94146dd?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "347", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "607ms" + "X-Processing-Time": "479ms" }, "ResponseBody": { - "searchId": "2f747f19-aadc-43bd-b61c-601bf94146dd", + "searchId": "c5b0f35b-393f-496c-bd1a-302e2abfbd52", "phoneNumbers": [ "\u002Bsanitized" ], @@ -356,7 +351,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2022-12-20T23:43:29.6847905\u002B00:00" + "searchExpiresBy": "2023-07-10T23:25:05.1247507\u002B00:00", + "error": "NoError" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json index 8894055c49d5..61b5fc30f668 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/XX/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/XX/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -24,7 +24,7 @@ }, "StatusCode": 400, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -32,7 +32,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "36ms" + "X-Processing-Time": "14ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json new file mode 100644 index 000000000000..4406825d7f40 --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json @@ -0,0 +1,51 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "\u002Bsanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1121ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "\u002Bsanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json new file mode 100644 index 000000000000..deeaf705f1d2 --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json @@ -0,0 +1,44 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "46", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "\u002Bsanitized", + "\u002Bsanitized" + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Type": "application/json", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "34ms" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Can only accept one phoneNumber" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json index 30a320a9f548..f831724d9ead 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "914ms" + "X-Processing-Time": "1015ms" }, "ResponseBody": { "id": "sanitized", @@ -32,10 +32,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", @@ -44,52 +44,52 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Content-Length": "41", + "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" }, "RequestBody": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "capabilities-id": "eecda5e3-52c9-4121-8c5b-4086c40a52d3", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "capabilities-id": "3841ad08-915a-4a85-9677-0f970c71713f", + "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_eecda5e3-52c9-4121-8c5b-4086c40a52d3", - "Operation-Location": "/phoneNumbers/operations/capabilities_eecda5e3-52c9-4121-8c5b-4086c40a52d3?api-version=2022-12-01", + "operation-id": "capabilities_3841ad08-915a-4a85-9677-0f970c71713f", + "Operation-Location": "/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1064ms" + "X-Processing-Time": "1911ms" }, "ResponseBody": { - "capabilitiesUpdateId": "eecda5e3-52c9-4121-8c5b-4086c40a52d3" + "capabilitiesUpdateId": "3841ad08-915a-4a85-9677-0f970c71713f" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_eecda5e3-52c9-4121-8c5b-4086c40a52d3?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -98,34 +98,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "278ms" + "X-Processing-Time": "166ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:49.823191\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_eecda5e3-52c9-4121-8c5b-4086c40a52d3?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -134,34 +134,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "290ms" + "X-Processing-Time": "239ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:49.823191\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_eecda5e3-52c9-4121-8c5b-4086c40a52d3?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -170,34 +170,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "215ms" + "X-Processing-Time": "155ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:49.823191\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -205,15 +205,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "967ms" + "X-Processing-Time": "990ms" }, "ResponseBody": { "id": "sanitized", @@ -222,10 +222,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json index 01fc9be23c52..15fed4f1166e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -23,7 +23,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -118,7 +116,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -178,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.20.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -204,7 +200,6 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -216,26 +211,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "904ms" + "X-Processing-Time": "1013ms" }, "ResponseBody": { "id": "sanitized", @@ -244,10 +239,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", @@ -256,161 +251,161 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Content-Length": "50", + "Content-Length": "42", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "capabilities-id": "e6f3932d-6171-4854-a059-0cd9ec9641c0", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "capabilities-id": "b19b2164-1b49-4c6f-9837-461984d69c7d", + "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_e6f3932d-6171-4854-a059-0cd9ec9641c0", - "Operation-Location": "/phoneNumbers/operations/capabilities_e6f3932d-6171-4854-a059-0cd9ec9641c0?api-version=2022-12-01", + "operation-id": "capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d", + "Operation-Location": "/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1086ms" + "X-Processing-Time": "1948ms" }, "ResponseBody": { - "capabilitiesUpdateId": "e6f3932d-6171-4854-a059-0cd9ec9641c0" + "capabilitiesUpdateId": "b19b2164-1b49-4c6f-9837-461984d69c7d" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_e6f3932d-6171-4854-a059-0cd9ec9641c0?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "276ms" + "X-Processing-Time": "153ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:41.637215\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_e6f3932d-6171-4854-a059-0cd9ec9641c0?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "217ms" + "X-Processing-Time": "153ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:41.637215\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_e6f3932d-6171-4854-a059-0cd9ec9641c0?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "220ms" + "X-Processing-Time": "171ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:27:41.637215\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "885ms" + "X-Processing-Time": "1014ms" }, "ResponseBody": { "id": "sanitized", @@ -419,10 +414,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json index ee1a10fcab82..fcb5eef75573 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/invalid_phone_number/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/invalid_phone_number/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.10 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -18,9 +18,9 @@ "calling": "inbound", "sms": "inbound\u002Boutbound" }, - "StatusCode": 403, + "StatusCode": 400, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -28,12 +28,16 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "49ms" + "X-Processing-Time": "123ms" }, "ResponseBody": { "error": { - "code": "InsufficientPermissions", - "message": "Phone number not owned by this resource." + "code": "InternalError", + "message": "The server encountered an internal error.", + "innererror": { + "code": "BadRequest", + "message": "Invalid telephone number \u0027invalid_phone_number\u0027" + } } } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json index 36533965b83e..be59ba92231c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.10 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -20,7 +20,7 @@ }, "StatusCode": 403, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -28,12 +28,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "93ms" + "X-Processing-Time": "191ms" }, "ResponseBody": { "error": { "code": "InsufficientPermissions", - "message": "Phone number not owned by this resource." + "message": "Phone number not owned by this resource.", + "target": "phonenumber" } } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json index 7c5893b47682..8e23672db494 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1072ms" + "X-Processing-Time": "1024ms" }, "ResponseBody": { "id": "sanitized", @@ -32,10 +32,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json index 70f091ff40ba..18796927e89b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,25 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "977ms" + "X-Processing-Time": "1186ms" }, "ResponseBody": { "id": "sanitized", @@ -62,10 +61,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json index 26a107b4e800..3acb6e5f7462 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,7 @@ "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "479ms" + "X-Processing-Time": "185ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json index 339dced372dd..2af71f1f8515 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "1253", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2373ms" + "X-Processing-Time": "2250ms" }, "ResponseBody": { "countries": [ @@ -31,26 +32,94 @@ "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "China", + "countryCode": "CN" + }, { "localizedName": "Denmark", "countryCode": "DK" }, + { + "localizedName": "Finland", + "countryCode": "FI" + }, + { + "localizedName": "France", + "countryCode": "FR" + }, + { + "localizedName": "Hong Kong SAR", + "countryCode": "HK" + }, + { + "localizedName": "Indonesia", + "countryCode": "ID" + }, { "localizedName": "Ireland", "countryCode": "IE" }, + { + "localizedName": "Israel", + "countryCode": "IL" + }, { "localizedName": "Italy", "countryCode": "IT" }, + { + "localizedName": "Korea", + "countryCode": "KR" + }, + { + "localizedName": "Malaysia", + "countryCode": "MY" + }, + { + "localizedName": "Netherlands", + "countryCode": "NL" + }, + { + "localizedName": "New Zealand", + "countryCode": "NZ" + }, + { + "localizedName": "Philippines", + "countryCode": "PH" + }, + { + "localizedName": "Poland", + "countryCode": "PL" + }, { "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Singapore", + "countryCode": "SG" + }, + { + "localizedName": "South Africa", + "countryCode": "ZA" + }, { "localizedName": "Sweden", "countryCode": "SE" }, + { + "localizedName": "Taiwan", + "countryCode": "TW" + }, + { + "localizedName": "Thailand", + "countryCode": "TH" + }, + { + "localizedName": "United Arab Emirates", + "countryCode": "AE" + }, { "localizedName": "United Kingdom", "countryCode": "GB" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json index 4cf09ffe6ea6..002f8ac05551 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "1253", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2028ms" + "X-Processing-Time": "2843ms" }, "ResponseBody": { "countries": [ @@ -61,26 +61,94 @@ "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "China", + "countryCode": "CN" + }, { "localizedName": "Denmark", "countryCode": "DK" }, + { + "localizedName": "Finland", + "countryCode": "FI" + }, + { + "localizedName": "France", + "countryCode": "FR" + }, + { + "localizedName": "Hong Kong SAR", + "countryCode": "HK" + }, + { + "localizedName": "Indonesia", + "countryCode": "ID" + }, { "localizedName": "Ireland", "countryCode": "IE" }, + { + "localizedName": "Israel", + "countryCode": "IL" + }, { "localizedName": "Italy", "countryCode": "IT" }, + { + "localizedName": "Korea", + "countryCode": "KR" + }, + { + "localizedName": "Malaysia", + "countryCode": "MY" + }, + { + "localizedName": "Netherlands", + "countryCode": "NL" + }, + { + "localizedName": "New Zealand", + "countryCode": "NZ" + }, + { + "localizedName": "Philippines", + "countryCode": "PH" + }, + { + "localizedName": "Poland", + "countryCode": "PL" + }, { "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Singapore", + "countryCode": "SG" + }, + { + "localizedName": "South Africa", + "countryCode": "ZA" + }, { "localizedName": "Sweden", "countryCode": "SE" }, + { + "localizedName": "Taiwan", + "countryCode": "TW" + }, + { + "localizedName": "Thailand", + "countryCode": "TH" + }, + { + "localizedName": "United Arab Emirates", + "countryCode": "AE" + }, { "localizedName": "United Kingdom", "countryCode": "GB" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json index 5e432f8e026a..8ccaa13178b4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,19 +15,33 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "604ms" + "X-Processing-Time": "242ms" }, "ResponseBody": { "phoneNumberLocalities": [ + { + "localizedName": "Anchorage", + "administrativeDivision": { + "localizedName": "AK", + "abbreviatedName": "AK" + } + }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -98,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -105,6 +126,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Irvine", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Los Angeles", "administrativeDivision": { @@ -126,6 +154,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Salinas", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "San Diego", "administrativeDivision": { @@ -147,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -217,6 +259,20 @@ "abbreviatedName": "CT" } }, + { + "localizedName": "Wilmington", + "administrativeDivision": { + "localizedName": "DE", + "abbreviatedName": "DE" + } + }, + { + "localizedName": "Cape Coral", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -267,14 +323,14 @@ } }, { - "localizedName": "Port St Lucie", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Sarasota", + "localizedName": "St. Petersburg", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -357,6 +413,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Mason City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Sioux City", "administrativeDivision": { @@ -462,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -567,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -574,6 +637,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Baltimore", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Bethesda", "administrativeDivision": { @@ -581,6 +651,13 @@ "abbreviatedName": "MD" } }, + { + "localizedName": "Silver Spring", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Portland", "administrativeDivision": { @@ -631,115 +708,38 @@ } }, { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Marshall", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Springfield", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "St. Charles", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Biloxi", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Jackson", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Starkville", + "localizedName": "Saginaw", "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" + "localizedName": "MI", + "abbreviatedName": "MI" } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Huntsville\u0026administrativeDivision=AL\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Anchorage\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -747,24 +747,21 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "50", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2416ms" + "X-Processing-Time": "1624ms" }, "ResponseBody": { "areaCodes": [ { - "areaCode": "256" - }, - { - "areaCode": "938" + "areaCode": "907" } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json index 22766ece8ee8..b0a7e7a9a671 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b2 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,29 +34,43 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "636ms" + "X-Processing-Time": "236ms" }, "ResponseBody": { "phoneNumberLocalities": [ + { + "localizedName": "Anchorage", + "administrativeDivision": { + "localizedName": "AK", + "abbreviatedName": "AK" + } + }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -128,6 +141,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -135,6 +155,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Irvine", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Los Angeles", "administrativeDivision": { @@ -156,6 +183,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Salinas", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "San Diego", "administrativeDivision": { @@ -177,6 +211,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -247,6 +288,20 @@ "abbreviatedName": "CT" } }, + { + "localizedName": "Wilmington", + "administrativeDivision": { + "localizedName": "DE", + "abbreviatedName": "DE" + } + }, + { + "localizedName": "Cape Coral", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -297,14 +352,14 @@ } }, { - "localizedName": "Port St Lucie", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Sarasota", + "localizedName": "St. Petersburg", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -387,6 +442,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Mason City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Sioux City", "administrativeDivision": { @@ -492,13 +554,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -597,6 +652,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -604,6 +666,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Baltimore", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Bethesda", "administrativeDivision": { @@ -611,6 +680,13 @@ "abbreviatedName": "MD" } }, + { + "localizedName": "Silver Spring", + "administrativeDivision": { + "localizedName": "MD", + "abbreviatedName": "MD" + } + }, { "localizedName": "Portland", "administrativeDivision": { @@ -661,115 +737,38 @@ } }, { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Marshall", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Springfield", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "St. Charles", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, - { - "localizedName": "Biloxi", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Jackson", - "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" - } - }, - { - "localizedName": "Starkville", + "localizedName": "Saginaw", "administrativeDivision": { - "localizedName": "MS", - "abbreviatedName": "MS" + "localizedName": "MI", + "abbreviatedName": "MI" } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Huntsville\u0026administrativeDivision=AL\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=geographic\u0026skip=0\u0026assignmentType=person\u0026locality=Anchorage\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -777,24 +776,21 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "50", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2409ms" + "X-Processing-Time": "1603ms" }, "ResponseBody": { "areaCodes": [ { - "areaCode": "256" - }, - { - "areaCode": "938" + "areaCode": "907" } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json index 04f92768ccb8..6b62d691b775 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "349ms" + "X-Processing-Time": "242ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -34,6 +35,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -104,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -167,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -202,6 +224,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -307,6 +336,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -370,6 +406,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -482,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -566,6 +602,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -580,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -657,6 +707,13 @@ "abbreviatedName": "MI" } }, + { + "localizedName": "Otsego", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, { "localizedName": "Pontiac", "administrativeDivision": { @@ -670,7 +727,39 @@ "localizedName": "MI", "abbreviatedName": "MI" } - }, + } + ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10210", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "248ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [ { "localizedName": "Sault Ste Marie", "administrativeDivision": { @@ -685,6 +774,13 @@ "abbreviatedName": "MI" } }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, { "localizedName": "Alexandria", "administrativeDivision": { @@ -692,6 +788,13 @@ "abbreviatedName": "MN" } }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, { "localizedName": "Duluth", "administrativeDivision": { @@ -721,59 +824,28 @@ } }, { - "localizedName": "Kansas City", + "localizedName": "Columbia", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } - } - ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", - "x-ms-content-sha256": "sanitized", - "x-ms-date": "sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "350ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [ + }, { - "localizedName": "Marshall", + "localizedName": "Kansas City", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } }, { - "localizedName": "Springfield", + "localizedName": "Marshall", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } }, { - "localizedName": "St. Charles", + "localizedName": "Springfield", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" @@ -884,13 +956,6 @@ "abbreviatedName": "NG" } }, - { - "localizedName": "Manchester", - "administrativeDivision": { - "localizedName": "NH", - "abbreviatedName": "NH" - } - }, { "localizedName": "Atlantic City", "administrativeDivision": { @@ -1101,6 +1166,20 @@ "abbreviatedName": "OR" } }, + { + "localizedName": "Lancaster", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, + { + "localizedName": "Philadelphia", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Pittsburgh", "administrativeDivision": { @@ -1136,6 +1215,13 @@ "abbreviatedName": "SC" } }, + { + "localizedName": "Greenville", + "administrativeDivision": { + "localizedName": "SC", + "abbreviatedName": "SC" + } + }, { "localizedName": "Sioux Falls", "administrativeDivision": { @@ -1158,24 +1244,24 @@ } }, { - "localizedName": "Jackson", + "localizedName": "Memphis", "administrativeDivision": { "localizedName": "TN", "abbreviatedName": "TN" } }, { - "localizedName": "Memphis", + "localizedName": "Nashville", "administrativeDivision": { "localizedName": "TN", "abbreviatedName": "TN" } }, { - "localizedName": "Nashville", + "localizedName": "Abilene", "administrativeDivision": { - "localizedName": "TN", - "abbreviatedName": "TN" + "localizedName": "TX", + "abbreviatedName": "TX" } }, { @@ -1199,6 +1285,20 @@ "abbreviatedName": "TX" } }, + { + "localizedName": "Dallas", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, + { + "localizedName": "Denton", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, { "localizedName": "El Paso", "administrativeDivision": { @@ -1221,35 +1321,35 @@ } }, { - "localizedName": "Houston", + "localizedName": "Hamilton", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Huntsville", + "localizedName": "Houston", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Laredo", + "localizedName": "Huntsville", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Lubbock", + "localizedName": "Laredo", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Medina", + "localizedName": "Lubbock", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" @@ -1339,6 +1439,13 @@ "abbreviatedName": "VT" } }, + { + "localizedName": "Seattle", + "administrativeDivision": { + "localizedName": "WA", + "abbreviatedName": "WA" + } + }, { "localizedName": "Tacoma", "administrativeDivision": { @@ -1352,7 +1459,39 @@ "localizedName": "WI", "abbreviatedName": "WI" } - }, + } + ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "644", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "255ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [ { "localizedName": "Green Bay", "administrativeDivision": { @@ -1367,6 +1506,13 @@ "abbreviatedName": "WI" } }, + { + "localizedName": "Madison", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, { "localizedName": "Milwaukee", "administrativeDivision": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json index b624eac9e411..00e536689ab1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "348ms" + "X-Processing-Time": "232ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -34,6 +35,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -104,6 +112,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -167,6 +182,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -202,6 +224,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -307,6 +336,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -370,6 +406,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -482,13 +525,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -566,6 +602,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -580,6 +623,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -658,87 +708,38 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -746,15 +747,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "144", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "359ms" + "X-Processing-Time": "241ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json index 5bdecf9409a2..533988ac0ccc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "376ms" + "X-Processing-Time": "247ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -64,6 +64,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -134,6 +141,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -197,6 +211,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -232,6 +253,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -337,6 +365,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -400,6 +435,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -512,13 +554,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -596,6 +631,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -610,6 +652,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -688,99 +737,51 @@ } }, { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Saginaw", + "localizedName": "Otsego", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Sault Ste Marie", + "localizedName": "Pontiac", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } }, { - "localizedName": "Troy", + "localizedName": "Saginaw", "administrativeDivision": { "localizedName": "MI", "abbreviatedName": "MI" } - }, - { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Minneapolis", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "St. Paul", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Kansas City", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026administrativeDivision=AK\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "144", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "368ms" + "X-Processing-Time": "228ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json index dd7cb60937f4..9fa6c3582fa3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2022-12-01", + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "352ms" + "X-Processing-Time": "256ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -64,6 +64,13 @@ "abbreviatedName": "AK" } }, + { + "localizedName": "Birmingham", + "administrativeDivision": { + "localizedName": "AL", + "abbreviatedName": "AL" + } + }, { "localizedName": "Huntsville", "administrativeDivision": { @@ -134,6 +141,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Escondido", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Fresno", "administrativeDivision": { @@ -197,6 +211,13 @@ "abbreviatedName": "CA" } }, + { + "localizedName": "Santa Barbara", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Santa Clarita", "administrativeDivision": { @@ -232,6 +253,13 @@ "abbreviatedName": "CL" } }, + { + "localizedName": "Denver", + "administrativeDivision": { + "localizedName": "CO", + "abbreviatedName": "CO" + } + }, { "localizedName": "Grand Junction", "administrativeDivision": { @@ -337,6 +365,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Tampa", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "West Palm Beach", "administrativeDivision": { @@ -400,6 +435,13 @@ "abbreviatedName": "IA" } }, + { + "localizedName": "Iowa City", + "administrativeDivision": { + "localizedName": "IA", + "abbreviatedName": "IA" + } + }, { "localizedName": "Mason City", "administrativeDivision": { @@ -512,13 +554,6 @@ "abbreviatedName": "IN" } }, - { - "localizedName": "Dodge City", - "administrativeDivision": { - "localizedName": "KS", - "abbreviatedName": "KS" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -596,6 +631,13 @@ "abbreviatedName": "LA" } }, + { + "localizedName": "Boston", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -610,6 +652,13 @@ "abbreviatedName": "MA" } }, + { + "localizedName": "Lynn", + "administrativeDivision": { + "localizedName": "MA", + "abbreviatedName": "MA" + } + }, { "localizedName": "Worcester", "administrativeDivision": { @@ -687,6 +736,13 @@ "abbreviatedName": "MI" } }, + { + "localizedName": "Otsego", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, { "localizedName": "Pontiac", "administrativeDivision": { @@ -700,7 +756,35 @@ "localizedName": "MI", "abbreviatedName": "MI" } - }, + } + ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "10210", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "259ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [ { "localizedName": "Sault Ste Marie", "administrativeDivision": { @@ -715,6 +799,13 @@ "abbreviatedName": "MI" } }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, { "localizedName": "Alexandria", "administrativeDivision": { @@ -722,6 +813,13 @@ "abbreviatedName": "MN" } }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, { "localizedName": "Duluth", "administrativeDivision": { @@ -751,55 +849,28 @@ } }, { - "localizedName": "Kansas City", + "localizedName": "Columbia", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } - } - ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2022-12-01\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "353ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [ + }, { - "localizedName": "Marshall", + "localizedName": "Kansas City", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } }, { - "localizedName": "Springfield", + "localizedName": "Marshall", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" } }, { - "localizedName": "St. Charles", + "localizedName": "Springfield", "administrativeDivision": { "localizedName": "MO", "abbreviatedName": "MO" @@ -910,13 +981,6 @@ "abbreviatedName": "NG" } }, - { - "localizedName": "Manchester", - "administrativeDivision": { - "localizedName": "NH", - "abbreviatedName": "NH" - } - }, { "localizedName": "Atlantic City", "administrativeDivision": { @@ -1127,6 +1191,20 @@ "abbreviatedName": "OR" } }, + { + "localizedName": "Lancaster", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, + { + "localizedName": "Philadelphia", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Pittsburgh", "administrativeDivision": { @@ -1162,6 +1240,13 @@ "abbreviatedName": "SC" } }, + { + "localizedName": "Greenville", + "administrativeDivision": { + "localizedName": "SC", + "abbreviatedName": "SC" + } + }, { "localizedName": "Sioux Falls", "administrativeDivision": { @@ -1184,24 +1269,24 @@ } }, { - "localizedName": "Jackson", + "localizedName": "Memphis", "administrativeDivision": { "localizedName": "TN", "abbreviatedName": "TN" } }, { - "localizedName": "Memphis", + "localizedName": "Nashville", "administrativeDivision": { "localizedName": "TN", "abbreviatedName": "TN" } }, { - "localizedName": "Nashville", + "localizedName": "Abilene", "administrativeDivision": { - "localizedName": "TN", - "abbreviatedName": "TN" + "localizedName": "TX", + "abbreviatedName": "TX" } }, { @@ -1225,6 +1310,20 @@ "abbreviatedName": "TX" } }, + { + "localizedName": "Dallas", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, + { + "localizedName": "Denton", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, { "localizedName": "El Paso", "administrativeDivision": { @@ -1247,35 +1346,35 @@ } }, { - "localizedName": "Houston", + "localizedName": "Hamilton", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Huntsville", + "localizedName": "Houston", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Laredo", + "localizedName": "Huntsville", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Lubbock", + "localizedName": "Laredo", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" } }, { - "localizedName": "Medina", + "localizedName": "Lubbock", "administrativeDivision": { "localizedName": "TX", "abbreviatedName": "TX" @@ -1365,6 +1464,13 @@ "abbreviatedName": "VT" } }, + { + "localizedName": "Seattle", + "administrativeDivision": { + "localizedName": "WA", + "abbreviatedName": "WA" + } + }, { "localizedName": "Tacoma", "administrativeDivision": { @@ -1378,7 +1484,35 @@ "localizedName": "WI", "abbreviatedName": "WI" } - }, + } + ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "644", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "269ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [ { "localizedName": "Green Bay", "administrativeDivision": { @@ -1393,6 +1527,13 @@ "abbreviatedName": "WI" } }, + { + "localizedName": "Madison", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, { "localizedName": "Milwaukee", "administrativeDivision": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json index d32b2230d258..287d8da66996 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "659", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "895ms" + "X-Processing-Time": "509ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json index e45a67880aec..eb96bdccecc6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/offerings?skip=0\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "659", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "894ms" + "X-Processing-Time": "554ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json index 34fa94a7ff4c..03ffb98ba61e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "23239", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1690ms" + "X-Processing-Time": "1203ms" }, "ResponseBody": { "phoneNumbers": [ @@ -322,7 +322,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound\u002Boutbound", + "calling": "inbound", "sms": "inbound\u002Boutbound" }, "assignmentType": "application", @@ -373,7 +373,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", + "calling": "outbound", "sms": "outbound" }, "assignmentType": "application", @@ -798,8 +798,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -877,6 +877,23 @@ "billingFrequency": "monthly" } }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:11:40.2093547\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, { "id": "sanitized", "phoneNumber": "sanitized", @@ -1267,497 +1284,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } } - ], - "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", - "x-ms-content-sha256": "sanitized", - "x-ms-date": "sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "981ms" - }, - "ResponseBody": { - "phoneNumbers": [] + ] } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json index 43f81706f04f..0a6119503422 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,25 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=0\u0026top=100\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "23239", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3590ms" + "X-Processing-Time": "1193ms" }, "ResponseBody": { "phoneNumbers": [ @@ -352,7 +351,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound\u002Boutbound", + "calling": "inbound", "sms": "inbound\u002Boutbound" }, "assignmentType": "application", @@ -403,7 +402,7 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", + "calling": "outbound", "sms": "outbound" }, "assignmentType": "application", @@ -828,8 +827,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -907,6 +906,23 @@ "billingFrequency": "monthly" } }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:11:40.2093547\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, { "id": "sanitized", "phoneNumber": "sanitized", @@ -1297,493 +1313,8 @@ "currencyCode": "USD", "billingFrequency": "monthly" } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } - }, - { - "id": "sanitized", - "phoneNumber": "sanitized", - "countryCode": "US", - "phoneNumberType": "tollFree", - "capabilities": { - "calling": "inbound\u002Boutbound", - "sms": "inbound\u002Boutbound" - }, - "assignmentType": "application", - "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", - "cost": { - "amount": 2.0, - "currencyCode": "USD", - "billingFrequency": "monthly" - } } - ], - "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=100\u0026top=100\u0026api-version=2022-12-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1370ms" - }, - "ResponseBody": { - "phoneNumbers": [] + ] } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json index d8a78827de35..85be0e243803 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,16 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "182", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2974ms" + "X-Processing-Time": "6313ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json index 530c4b13e345..e33e7b349dcb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,26 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/areaCodes?phoneNumberType=tollFree\u0026skip=0\u0026assignmentType=application\u0026api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "182", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3008ms" + "X-Processing-Time": "6362ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json index bf13341ff756..c746cde99870 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -24,18 +24,18 @@ "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/b26819db-052e-453f-976f-8b78648000e6?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/75531b3e-9ff6-4cf4-91be-13801da277be?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_b26819db-052e-453f-976f-8b78648000e6", - "Operation-Location": "/phoneNumbers/operations/search_b26819db-052e-453f-976f-8b78648000e6?api-version=2022-12-01", - "search-id": "b26819db-052e-453f-976f-8b78648000e6", + "operation-id": "search_75531b3e-9ff6-4cf4-91be-13801da277be", + "Operation-Location": "/phoneNumbers/operations/search_75531b3e-9ff6-4cf4-91be-13801da277be?api-version=2023-05-01-preview", + "search-id": "75531b3e-9ff6-4cf4-91be-13801da277be", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1400ms" + "X-Processing-Time": "874ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json index e4500fc2d9c5..f1a48a9e5e43 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,14 +34,14 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "phoneNumberType": "tollFree", @@ -55,18 +54,18 @@ "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/dfd0adce-27ec-42bb-b865-50e29ce2fa94?api-version=2022-12-01", + "Location": "/availablePhoneNumbers/searchResults/90a73e8b-b5d3-496a-961a-96ebb74b3e90?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_dfd0adce-27ec-42bb-b865-50e29ce2fa94", - "Operation-Location": "/phoneNumbers/operations/search_dfd0adce-27ec-42bb-b865-50e29ce2fa94?api-version=2022-12-01", - "search-id": "dfd0adce-27ec-42bb-b865-50e29ce2fa94", + "operation-id": "search_90a73e8b-b5d3-496a-961a-96ebb74b3e90", + "Operation-Location": "/phoneNumbers/operations/search_90a73e8b-b5d3-496a-961a-96ebb74b3e90?api-version=2023-05-01-preview", + "search-id": "90a73e8b-b5d3-496a-961a-96ebb74b3e90", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2501ms" + "X-Processing-Time": "971ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json index 3c23490e56dc..5ddcdec090ef 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/XX/:search?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/XX/:search?api-version=2023-05-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "131", "Content-Type": "application/json", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -23,7 +23,7 @@ }, "StatusCode": 400, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -31,7 +31,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "43ms" + "X-Processing-Time": "13ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json new file mode 100644 index 000000000000..1957ed6d18ef --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json @@ -0,0 +1,50 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "\u002Bsanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1234ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "\u002Bsanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json new file mode 100644 index 000000000000..ce48af2b5328 --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json @@ -0,0 +1,43 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "46", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "\u002Bsanitized", + "\u002Bsanitized" + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Type": "application/json", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "53ms" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Can only accept one phoneNumber" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json index 51e407a88c90..dbbd1bc46c59 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,15 +15,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "924ms" + "X-Processing-Time": "1061ms" }, "ResponseBody": { "id": "sanitized", @@ -32,10 +32,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", @@ -44,51 +44,51 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "50", + "Content-Length": "42", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" }, "RequestBody": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "capabilities-id": "3ba80748-4f6a-4039-acbe-78851cba48f9", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "capabilities-id": "c2dcf978-4a04-4998-a986-0039c5367a4c", + "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_3ba80748-4f6a-4039-acbe-78851cba48f9", - "Operation-Location": "/phoneNumbers/operations/capabilities_3ba80748-4f6a-4039-acbe-78851cba48f9?api-version=2022-12-01", + "operation-id": "capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c", + "Operation-Location": "/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1316ms" + "X-Processing-Time": "1855ms" }, "ResponseBody": { - "capabilitiesUpdateId": "3ba80748-4f6a-4039-acbe-78851cba48f9" + "capabilitiesUpdateId": "c2dcf978-4a04-4998-a986-0039c5367a4c" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3ba80748-4f6a-4039-acbe-78851cba48f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -97,34 +97,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "371ms" + "X-Processing-Time": "157ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:29.6257421\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3ba80748-4f6a-4039-acbe-78851cba48f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -133,34 +133,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "207ms" + "X-Processing-Time": "157ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:29.6257421\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3ba80748-4f6a-4039-acbe-78851cba48f9?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -169,34 +169,34 @@ "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "213ms" + "X-Processing-Time": "163ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:29.6257421\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -204,15 +204,15 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "936ms" + "X-Processing-Time": "1008ms" }, "ResponseBody": { "id": "sanitized", @@ -221,10 +221,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json index 6ea0035e8ce8..fbf385bc7c1d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json @@ -6,11 +6,11 @@ "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.13.0b1 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", @@ -24,7 +24,6 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -35,25 +34,25 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "981ms" + "X-Processing-Time": "1003ms" }, "ResponseBody": { "id": "sanitized", @@ -62,10 +61,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "outbound", - "sms": "inbound\u002Boutbound" + "sms": "outbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", @@ -74,156 +73,156 @@ } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "41", + "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", - "capabilities-id": "9ef352ca-30ed-4d72-aca3-4359770c7cde", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "capabilities-id": "f6233cfc-c212-4935-861c-139200f58829", + "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_9ef352ca-30ed-4d72-aca3-4359770c7cde", - "Operation-Location": "/phoneNumbers/operations/capabilities_9ef352ca-30ed-4d72-aca3-4359770c7cde?api-version=2022-12-01", + "operation-id": "capabilities_f6233cfc-c212-4935-861c-139200f58829", + "Operation-Location": "/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1270ms" + "X-Processing-Time": "1847ms" }, "ResponseBody": { - "capabilitiesUpdateId": "9ef352ca-30ed-4d72-aca3-4359770c7cde" + "capabilitiesUpdateId": "f6233cfc-c212-4935-861c-139200f58829" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_9ef352ca-30ed-4d72-aca3-4359770c7cde?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "203ms" + "X-Processing-Time": "178ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:38.3439169\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_9ef352ca-30ed-4d72-aca3-4359770c7cde?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "206ms" + "X-Processing-Time": "167ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:38.3439169\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_9ef352ca-30ed-4d72-aca3-4359770c7cde?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "199ms" + "X-Processing-Time": "162ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", - "createdDateTime": "2022-12-20T23:26:38.3439169\u002B00:00", + "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b3 Python/3.10.9 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1032ms" + "X-Processing-Time": "1002ms" }, "ResponseBody": { "id": "sanitized", @@ -232,10 +231,10 @@ "phoneNumberType": "tollFree", "capabilities": { "calling": "inbound", - "sms": "outbound" + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", - "purchaseDate": "2021-06-23T23:31:24.7610118\u002B00:00", + "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", "cost": { "amount": 2.0, "currencyCode": "USD", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json index 387b8300ba47..055c0c97edeb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/invalid_phone_number/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/invalid_phone_number/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.10 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -17,9 +17,9 @@ "calling": "inbound", "sms": "inbound\u002Boutbound" }, - "StatusCode": 403, + "StatusCode": 400, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -27,12 +27,16 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "320ms" + "X-Processing-Time": "138ms" }, "ResponseBody": { "error": { - "code": "InsufficientPermissions", - "message": "Phone number not owned by this resource." + "code": "InternalError", + "message": "The server encountered an internal error.", + "innererror": { + "code": "BadRequest", + "message": "Invalid telephone number \u0027invalid_phone_number\u0027" + } } } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json index a35b36d136be..41df8ab4d478 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2022-12-01", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2023-05-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.10.10 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -19,7 +19,7 @@ }, "StatusCode": 403, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json", "Date": "sanitized", "MS-CV": "sanitized", @@ -27,12 +27,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "46ms" + "X-Processing-Time": "199ms" }, "ResponseBody": { "error": { "code": "InsufficientPermissions", - "message": "Phone number not owned by this resource." + "message": "Phone number not owned by this resource.", + "target": "phonenumber" } } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json index a53c95dde3da..d21cfb986b76 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -23,7 +23,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -31,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1163ms" + "X-Processing-Time": "297ms" }, "ResponseBody": { "trunks": { @@ -55,7 +56,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -63,7 +64,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -71,7 +73,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "173ms" + "X-Processing-Time": "115ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json index 3874683f2fa1..d2a9fb9165d1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -252,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -263,7 +230,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -271,7 +239,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1146ms" + "X-Processing-Time": "208ms" }, "ResponseBody": { "trunks": { @@ -295,12 +263,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -308,7 +277,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "174ms" + "X-Processing-Time": "89ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json index 52841b3f6ed4..b5070fbc56da 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "40", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -21,7 +21,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -29,7 +30,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "434ms" + "X-Processing-Time": "129ms" }, "ResponseBody": { "trunks": { @@ -47,7 +48,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -55,7 +56,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -63,7 +65,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "167ms" + "X-Processing-Time": "97ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json index 68bde578b8ca..46d23a5f0ad0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -252,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "40", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -261,7 +228,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -269,7 +237,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "398ms" + "X-Processing-Time": "122ms" }, "ResponseBody": { "trunks": { @@ -287,12 +255,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -300,7 +269,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "176ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json index 8a14d55a96b3..53a5d41aad2f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -26,7 +26,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -34,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "306ms" + "X-Processing-Time": "130ms" }, "ResponseBody": { "trunks": { @@ -62,7 +63,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -70,7 +71,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -78,7 +80,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "90ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json index c6db844f6a0d..5e905ae80998 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -252,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -266,7 +233,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -274,7 +242,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "580ms" + "X-Processing-Time": "233ms" }, "ResponseBody": { "trunks": { @@ -302,12 +270,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -315,7 +284,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "172ms" + "X-Processing-Time": "103ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json index f1bbd4957b56..521d2225dace 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "106ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json index abeaf7e8bdc5..f79fca08e4a3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -250,12 +217,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -263,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "172ms" + "X-Processing-Time": "98ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json index 7528838267e9..6f5a8c196c53 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "674ms" + "X-Processing-Time": "101ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json index e10b51c62d8c..41d240db0b3c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "183ms" + "X-Processing-Time": "98ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json index ca87e951ae3f..559e98fee0a2 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -250,12 +217,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -263,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "528ms" + "X-Processing-Time": "331ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json index 7afdc55f6cda..7aa85eb43e1d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -26,7 +26,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -34,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "328ms" + "X-Processing-Time": "109ms" }, "ResponseBody": { "trunks": { @@ -64,7 +65,7 @@ "Connection": "keep-alive", "Content-Length": "143", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -81,7 +82,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -89,7 +91,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "314ms" + "X-Processing-Time": "166ms" }, "ResponseBody": { "trunks": { @@ -117,7 +119,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -125,7 +127,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -133,7 +136,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "172ms" + "X-Processing-Time": "79ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json index 952953ccea52..b473f4104a02 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -252,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -266,7 +233,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -274,7 +242,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "313ms" + "X-Processing-Time": "125ms" }, "ResponseBody": { "trunks": { @@ -304,7 +272,7 @@ "Connection": "keep-alive", "Content-Length": "143", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -318,7 +286,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -326,7 +295,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "314ms" + "X-Processing-Time": "134ms" }, "ResponseBody": { "trunks": { @@ -354,12 +323,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -367,7 +337,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "92ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json index a64dd0342eac..8983d3216e65 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json @@ -9,7 +9,7 @@ "Connection": "keep-alive", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -23,7 +23,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -31,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "441ms" + "X-Processing-Time": "303ms" }, "ResponseBody": { "trunks": { @@ -52,7 +53,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -60,7 +61,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -68,7 +70,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "133ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json index f79c60f12ff1..ec86f6684c45 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -252,7 +219,7 @@ "Connection": "keep-alive", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -263,7 +230,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -271,7 +239,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "470ms" + "X-Processing-Time": "269ms" }, "ResponseBody": { "trunks": { @@ -292,12 +260,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -305,7 +274,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "162ms" + "X-Processing-Time": "91ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json index 0af1f01c846e..ed8e34532bd3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "135ms" }, "ResponseBody": { "trunks": { @@ -46,7 +47,7 @@ "Connection": "keep-alive", "Content-Length": "118", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -62,7 +63,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -70,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1066ms" + "X-Processing-Time": "820ms" }, "ResponseBody": { "trunks": { @@ -88,7 +90,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -96,7 +98,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -104,7 +107,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "91ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json index 78fcd5b0a520..ef58ca4e7187 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "164ms" + "X-Processing-Time": "95ms" }, "ResponseBody": { "trunks": { @@ -46,7 +47,7 @@ "Connection": "keep-alive", "Content-Length": "68", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -59,7 +60,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "25", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -67,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "390ms" + "X-Processing-Time": "144ms" }, "ResponseBody": { "trunks": {}, @@ -81,7 +83,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -89,7 +91,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "25", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -97,7 +100,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "91ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json index 22a065d15bd4..a58bc607ed04 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize\u0026api-version=1.0", + "RequestUri": "https://login.microsoftonline.com/sanitized/v2.0/.well-known/openid-configuration", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -15,7 +15,7 @@ "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", - "Content-Length": "109", + "Content-Length": "1564", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -26,44 +26,13 @@ "X-XSS-Protection": "0" }, "ResponseBody": { - "tenant_discovery_endpoint": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration" - } - }, - { - "RequestUri": "https://login.windows-ppe.net/sanitized/v2.0/.well-known/openid-configuration", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "Content-Length": "1548", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "P3P": "sanitized", - "Set-Cookie": "sanitized", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", - "X-XSS-Protection": "0" - }, - "ResponseBody": { - "token_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "token_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], - "jwks_uri": "https://login.windows-ppe.net/sanitized/discovery/v2.0/keys", + "jwks_uri": "https://login.microsoftonline.com/sanitized/discovery/v2.0/keys", "response_modes_supported": [ "query", "fragment", @@ -87,14 +56,14 @@ "email", "offline_access" ], - "issuer": "https://login.windows-ppe.net/sanitized/v2.0", + "issuer": "https://login.microsoftonline.com/sanitized/v2.0", "request_uri_parameter_supported": false, - "userinfo_endpoint": "https://graph.microsoft-ppe.com/oidc/userinfo", - "authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/authorize", - "device_authorization_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/devicecode", + "userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo", + "authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/authorize", + "device_authorization_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/devicecode", "http_logout_supported": true, "frontchannel_logout_supported": true, - "end_session_endpoint": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/logout", + "end_session_endpoint": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/logout", "claims_supported": [ "sub", "iss", @@ -116,12 +85,12 @@ "c_hash", "email" ], - "kerberos_endpoint": "https://login.windows-ppe.net/sanitized/kerberos", - "tenant_region_scope": "NA", - "cloud_instance_name": "windows-ppe.net", - "cloud_graph_host_name": "graph.ppe.windows.net", - "msgraph_host": "graph.microsoft-ppe.com", - "rbac_url": "https://pas.windows-ppe.net" + "kerberos_endpoint": "https://login.microsoftonline.com/sanitized/kerberos", + "tenant_region_scope": "WW", + "cloud_instance_name": "microsoftonline.com", + "cloud_graph_host_name": "graph.windows.net", + "msgraph_host": "graph.microsoft.com", + "rbac_url": "https://pas.windows.net" } }, { @@ -131,8 +100,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -198,7 +166,7 @@ } }, { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -207,14 +175,13 @@ "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "sanitized", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.21.0", + "x-client-ver": "1.22.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=sanitized\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=sanitized\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", @@ -222,7 +189,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", - "Content-Length": "90", + "Content-Length": "111", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -233,13 +200,13 @@ "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3598, - "ext_expires_in": 3598, + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized" } }, @@ -250,12 +217,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -263,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "110ms" }, "ResponseBody": { "trunks": { @@ -286,7 +254,7 @@ "Connection": "keep-alive", "Content-Length": "118", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -299,7 +267,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -307,7 +276,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1144ms" + "X-Processing-Time": "241ms" }, "ResponseBody": { "trunks": { @@ -325,12 +294,13 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -338,7 +308,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "101ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json index 01a3af2baa02..f0791d906a59 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json @@ -8,7 +8,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -22,7 +22,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -30,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1079ms" + "X-Processing-Time": "416ms" }, "ResponseBody": { "trunks": { @@ -54,7 +55,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -62,7 +63,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -70,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "121ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json index 92fec60bd7b6..699c4af09c30 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -42,7 +41,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -53,7 +52,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "950ms" + "X-Processing-Time": "432ms" }, "ResponseBody": { "trunks": { @@ -84,12 +84,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "165", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -97,7 +98,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "168ms" + "X-Processing-Time": "124ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json index 93835df14075..f9e6040a3286 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json @@ -8,7 +8,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "40", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -20,7 +20,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -28,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "390ms" + "X-Processing-Time": "267ms" }, "ResponseBody": { "trunks": { @@ -46,7 +47,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -54,7 +55,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -62,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "274ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json index 8ea969d6d38a..7194861f84e6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -42,7 +41,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "40", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -51,7 +50,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -59,7 +59,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1143ms" + "X-Processing-Time": "382ms" }, "ResponseBody": { "trunks": { @@ -76,12 +76,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -89,7 +90,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "237ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json index c76551c309c5..409b59a2c6bf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json @@ -8,7 +8,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -25,7 +25,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -33,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "313ms" + "X-Processing-Time": "147ms" }, "ResponseBody": { "trunks": { @@ -61,7 +62,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -69,7 +70,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -77,7 +79,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "176ms" + "X-Processing-Time": "142ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json index 4b74d8407e28..9478dfee6a13 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -42,7 +41,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -56,7 +55,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "388ms" + "X-Processing-Time": "355ms" }, "ResponseBody": { "trunks": { @@ -91,12 +91,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -104,7 +105,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "167ms" + "X-Processing-Time": "272ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json index f0fd6849ff65..9d56a95ae80d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "168ms" + "X-Processing-Time": "151ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json index b8f42b27d83d..7bd78f6f85bd 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -40,12 +39,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "115ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json index 06f0d0d3ce59..3e6c667b480e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "736ms" + "X-Processing-Time": "117ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json index 14e331ea6b68..e283e0c0ed58 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json index 56da260e0781..86bb524c59fe 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -40,12 +39,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "116ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json index 8f1575c93c18..7ab590e92b95 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json @@ -8,7 +8,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -25,7 +25,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -33,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "324ms" + "X-Processing-Time": "236ms" }, "ResponseBody": { "trunks": { @@ -62,7 +63,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "143", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -79,7 +80,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -87,7 +89,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "318ms" + "X-Processing-Time": "221ms" }, "ResponseBody": { "trunks": { @@ -115,7 +117,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -123,7 +125,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -131,7 +134,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "173ms" + "X-Processing-Time": "122ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json index 67f0767ec8f7..556a44215c5b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -42,7 +41,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "137", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -56,7 +55,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "234", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "744ms" + "X-Processing-Time": "198ms" }, "ResponseBody": { "trunks": { @@ -93,7 +93,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "143", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "routes": [ @@ -107,7 +107,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -115,7 +116,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "306ms" + "X-Processing-Time": "202ms" }, "ResponseBody": { "trunks": { @@ -142,12 +143,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -155,7 +157,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "484ms" + "X-Processing-Time": "149ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json index 98979d170dde..3b9db6a42620 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json @@ -8,7 +8,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -22,7 +22,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -30,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "449ms" + "X-Processing-Time": "403ms" }, "ResponseBody": { "trunks": { @@ -51,7 +52,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -59,7 +60,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -67,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "882ms" + "X-Processing-Time": "149ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json index d91517d4add1..dcca55e89b78 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -42,7 +41,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "62", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -53,7 +52,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "431ms" + "X-Processing-Time": "372ms" }, "ResponseBody": { "trunks": { @@ -81,12 +81,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -94,7 +95,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "216ms" + "X-Processing-Time": "143ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json index 04f1e9f233a2..43fe691a9f56 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "147ms" }, "ResponseBody": { "trunks": { @@ -45,7 +46,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "118", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -61,7 +62,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -69,7 +71,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1308ms" + "X-Processing-Time": "1099ms" }, "ResponseBody": { "trunks": { @@ -87,7 +89,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -95,7 +97,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -103,7 +106,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "349ms" + "X-Processing-Time": "130ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json index e0111e4fca81..8e1ff6786b3d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -15,7 +15,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -23,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "273ms" + "X-Processing-Time": "144ms" }, "ResponseBody": { "trunks": { @@ -45,7 +46,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "68", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -58,7 +59,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "25", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -66,7 +68,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "405ms" + "X-Processing-Time": "293ms" }, "ResponseBody": { "trunks": {}, @@ -80,7 +82,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", "x-ms-date": "sanitized", "x-ms-return-client-request-id": "true" @@ -88,7 +90,8 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "25", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -96,7 +99,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "531ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json index 654c5332697f..a188cd175f86 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json @@ -1,20 +1,20 @@ { "Entries": [ { - "RequestUri": "https://login.windows-ppe.net/sanitized/oauth2/v2.0/token", + "RequestUri": "https://login.microsoftonline.com/sanitized/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "Content-Length": "131", + "Content-Length": "226", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-python-identity/1.12.0 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-identity/1.14.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, - "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "RequestBody": "client_id=sanitized\u0026client_secret=sanitized\u0026grant_type=client_credentials\u0026scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "Content-Length": "90", + "Content-Length": "92", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -24,13 +24,12 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-ests-server": "sanitized", - "x-ms-httpver": "1.1", "X-XSS-Protection": "0" }, "ResponseBody": { "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, + "expires_in": 86399, + "ext_expires_in": 86399, "access_token": "Sanitized" } }, @@ -40,12 +39,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "118", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -75,7 +75,7 @@ "Accept-Encoding": "gzip, deflate", "Content-Length": "118", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { "trunks": { @@ -88,7 +88,8 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -96,7 +97,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1257ms" + "X-Processing-Time": "531ms" }, "ResponseBody": { "trunks": { @@ -113,12 +114,13 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.0b4 Python/3.11.0 (Windows-10-10.0.22621-SP0)" + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview, 2023-03-01", + "api-deprecated-versions": "2021-05-01-preview, 2022-09-01-preview, 2023-01-01-preview", + "api-supported-versions": "2023-03-01, 2023-04-01-preview", "Content-Length": "71", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", @@ -126,7 +128,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "172ms" + "X-Processing-Time": "143ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py index 6e0f605ca012..bdd184859686 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py @@ -375,3 +375,23 @@ def test_list_offerings_from_managed_identity(self): def test_list_offerings(self): offerings = self.phone_number_client.list_available_offerings("US") assert offerings.next() + + @recorded_by_proxy + def test_search_operator_information_with_too_many_phone_numbers(self): + if self.is_playback(): + phone_numbers = [ "sanitized", "sanitized" ] + else: + phone_numbers = [ "+14255550123", "+14255551234" ] + + with pytest.raises(Exception) as ex: + self.phone_number_client.search_operator_information(phone_numbers) + + assert is_client_error_status_code( + ex.value.status_code) is True, 'Status code {ex.value.status_code} does not indicate a client error' # type: ignore + assert ex.value.message is not None # type: ignore + + @recorded_by_proxy + def test_search_operator_information(self): + results = self.phone_number_client.search_operator_information([ self.phone_number ]) + assert len(results.values) == 1 + assert results.values[0].phone_number == self.phone_number diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py index 9a119142606f..883578ea1ef8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py @@ -122,7 +122,7 @@ async def test_search_available_phone_numbers_from_managed_identity(self): capabilities, polling=True ) - assert poller.result() + # assert poller.result() @pytest.mark.skipif(SKIP_INT_PHONE_NUMBER_TESTS, reason=INT_PHONE_NUMBER_TEST_SKIP_REASON) @recorded_by_proxy_async @@ -139,7 +139,7 @@ async def test_search_available_phone_numbers(self): capabilities, polling=True ) - assert poller.result() + # assert poller.result() @pytest.mark.skipif(SKIP_INT_PHONE_NUMBER_TESTS, reason=INT_PHONE_NUMBER_TEST_SKIP_REASON) @pytest.mark.skipif(SKIP_UPDATE_CAPABILITIES_TESTS, reason=SKIP_UPDATE_CAPABILITIES_TESTS_REASON) @@ -453,3 +453,25 @@ async def test_list_offerings(self): async for item in offerings: items.append(item) assert len(items) > 0 + + @recorded_by_proxy_async + async def test_search_operator_information_with_too_many_phone_numbers(self): + if self.is_playback(): + phone_numbers = [ "sanitized", "sanitized" ] + else: + phone_numbers = [ "+14255550123", "+14255551234" ] + + with pytest.raises(Exception) as ex: + async with self.phone_number_client: + await self.phone_number_client.search_operator_information(phone_numbers) + + assert is_client_error_status_code( + ex.value.status_code) is True, 'Status code {ex.value.status_code} does not indicate a client error' # type: ignore + assert ex.value.message is not None # type: ignore + + @recorded_by_proxy_async + async def test_search_operator_information(self): + async with self.phone_number_client: + results = await self.phone_number_client.search_operator_information([ self.phone_number ]) + assert len(results.values) == 1 + assert results.values[0].phone_number == self.phone_number diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py index cd1ab6af5346..c17aab50a08c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py @@ -11,7 +11,7 @@ build_phone_numbers_purchase_phone_numbers_request, build_phone_numbers_get_operation_request, build_phone_numbers_cancel_operation_request, -build_phone_numbers_operator_information_search_request +build_phone_numbers_operator_information_search_request, ) test_id = "test_id" @@ -54,4 +54,4 @@ def test_build_phone_numbers_operator_information_search_request(): assert isinstance(request, HttpRequest) assert request.method == "POST" - assert request.headers["Accept"] == "application/json" + assert request.headers["Accept"] == "application/json" \ No newline at end of file From c107e1e6885ef8210be887dcde1bac3444d758ab Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 13 Jul 2023 09:38:26 -0700 Subject: [PATCH 04/16] Update changelog --- .../azure-communication-phonenumbers/CHANGELOG.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index f0cc2e844640..f55ad54b0d29 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -3,12 +3,8 @@ ## 1.1.1 (Unreleased) ### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Number Lookup API public preview +- API version `2023-05-01-preview` is the default ## 1.1.0 (2023-03-28) From e4502935ceda1c9e26b6f9e03ff9b61d87bddc3c Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 13 Jul 2023 13:37:06 -0700 Subject: [PATCH 05/16] update tests to account for phone number sanitization, update test recordings --- ...Clienttest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 3 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...PhoneNumbersClienttest_list_countries.json | 24 ++- ..._list_countries_from_managed_identity.json | 25 ++- ...Clienttest_list_geographic_area_codes.json | 46 +++--- ...phic_area_codes_from_managed_identity.json | 47 +++--- ...honeNumbersClienttest_list_localities.json | 44 ++--- ...list_localities_from_managed_identity.json | 45 ++--- ...ersClienttest_list_localities_with_ad.json | 46 +++--- ...alities_with_ad_from_managed_identity.json | 46 +++--- ...PhoneNumbersClienttest_list_offerings.json | 17 +- ..._list_offerings_from_managed_identity.json | 17 +- ...ienttest_list_purchased_phone_numbers.json | 2 +- ...d_phone_numbers_from_managed_identity.json | 2 +- ...sClienttest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_from_managed_identity.json | 2 +- ...nttest_search_available_phone_numbers.json | 38 ++--- ...e_phone_numbers_from_managed_identity.json | 39 ++--- ...one_numbers_with_invalid_country_code.json | 2 +- ...lienttest_search_operator_information.json | 2 +- ...formation_with_too_many_phone_numbers.json | 2 +- ...test_update_phone_number_capabilities.json | 32 ++-- ...er_capabilities_from_managed_identity.json | 33 ++-- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...tAsynctest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 2 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...NumbersClientAsynctest_list_countries.json | 24 ++- ..._list_countries_with_managed_identity.json | 24 ++- ...tAsynctest_list_geographic_area_codes.json | 46 +++--- ...phic_area_codes_with_managed_identity.json | 46 +++--- ...umbersClientAsynctest_list_localities.json | 155 +++++++----------- ...ientAsynctest_list_localities_with_ad.json | 46 +++--- ...calities_with_ad_and_managed_identity.json | 47 +++--- ...list_localities_with_managed_identity.json | 147 ++++++----------- ...NumbersClientAsynctest_list_offerings.json | 17 +- ..._list_offerings_with_managed_identity.json | 17 +- ...synctest_list_purchased_phone_numbers.json | 2 +- ...d_phone_numbers_from_managed_identity.json | 2 +- ...ntAsynctest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_with_managed_identity.json | 2 +- ...nctest_search_available_phone_numbers.json | 10 +- ...e_phone_numbers_from_managed_identity.json | 11 +- ...one_numbers_with_invalid_country_code.json | 2 +- ...Asynctest_search_operator_information.json | 2 +- ...formation_with_too_many_phone_numbers.json | 2 +- ...test_update_phone_number_capabilities.json | 32 ++-- ...er_capabilities_from_managed_identity.json | 32 ++-- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...TestSipRoutingClientE2Etest_add_trunk.json | 4 +- ...Etest_add_trunk_from_managed_identity.json | 4 +- ...tSipRoutingClientE2Etest_delete_trunk.json | 4 +- ...st_delete_trunk_from_managed_identity.json | 4 +- ...estSipRoutingClientE2Etest_get_routes.json | 4 +- ...test_get_routes_from_managed_identity.json | 5 +- ...TestSipRoutingClientE2Etest_get_trunk.json | 2 +- ...Etest_get_trunk_from_managed_identity.json | 2 +- ...E2Etest_get_trunk_not_existing_throws.json | 2 +- ...estSipRoutingClientE2Etest_get_trunks.json | 2 +- ...test_get_trunks_from_managed_identity.json | 2 +- ...estSipRoutingClientE2Etest_set_routes.json | 6 +- ...test_set_routes_from_managed_identity.json | 6 +- ...TestSipRoutingClientE2Etest_set_trunk.json | 4 +- ...Etest_set_trunk_from_managed_identity.json | 5 +- ...estSipRoutingClientE2Etest_set_trunks.json | 6 +- ...ngClientE2Etest_set_trunks_empty_list.json | 6 +- ...test_set_trunks_from_managed_identity.json | 7 +- ...ipRoutingClientE2EAsynctest_add_trunk.json | 4 +- ...ctest_add_trunk_from_managed_identity.json | 4 +- ...outingClientE2EAsynctest_delete_trunk.json | 4 +- ...st_delete_trunk_from_managed_identity.json | 4 +- ...pRoutingClientE2EAsynctest_get_routes.json | 4 +- ...test_get_routes_from_managed_identity.json | 5 +- ...ipRoutingClientE2EAsynctest_get_trunk.json | 2 +- ...ctest_get_trunk_from_managed_identity.json | 2 +- ...ynctest_get_trunk_not_existing_throws.json | 2 +- ...pRoutingClientE2EAsynctest_get_trunks.json | 2 +- ...test_get_trunks_from_managed_identity.json | 2 +- ...pRoutingClientE2EAsynctest_set_routes.json | 4 +- ...test_set_routes_from_managed_identity.json | 6 +- ...ipRoutingClientE2EAsynctest_set_trunk.json | 4 +- ...ctest_set_trunk_from_managed_identity.json | 4 +- ...pRoutingClientE2EAsynctest_set_trunks.json | 6 +- ...entE2EAsynctest_set_trunks_empty_list.json | 6 +- ...test_set_trunks_from_managed_identity.json | 7 +- ...test_phone_number_administration_client.py | 9 +- ...hone_number_administration_client_async.py | 9 +- 90 files changed, 718 insertions(+), 649 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json index b3b949b1de7f..b50f6958d1d1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "987ms" + "X-Processing-Time": "2278ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json index 66c53edef194..e6059303ecbe 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -230,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1034ms" + "X-Processing-Time": "1281ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json index 9891f2e227cf..68589f6c00f7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "186ms" + "X-Processing-Time": "365ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json index 07e1be4a87bc..6e487c71d81d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json @@ -17,25 +17,41 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1253", + "Content-Length": "1487", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2611ms" + "X-Processing-Time": "1651ms" }, "ResponseBody": { "countries": [ + { + "localizedName": "Argentina", + "countryCode": "AR" + }, + { + "localizedName": "Brazil", + "countryCode": "BR" + }, { "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "Chile", + "countryCode": "CL" + }, { "localizedName": "China", "countryCode": "CN" }, + { + "localizedName": "Colombia", + "countryCode": "CO" + }, { "localizedName": "Denmark", "countryCode": "DK" @@ -76,6 +92,10 @@ "localizedName": "Malaysia", "countryCode": "MY" }, + { + "localizedName": "Mexico", + "countryCode": "MX" + }, { "localizedName": "Netherlands", "countryCode": "NL" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json index eb72e73f0998..41b1291bb117 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -224,25 +225,41 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1253", + "Content-Length": "1487", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2628ms" + "X-Processing-Time": "3097ms" }, "ResponseBody": { "countries": [ + { + "localizedName": "Argentina", + "countryCode": "AR" + }, + { + "localizedName": "Brazil", + "countryCode": "BR" + }, { "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "Chile", + "countryCode": "CL" + }, { "localizedName": "China", "countryCode": "CN" }, + { + "localizedName": "Colombia", + "countryCode": "CO" + }, { "localizedName": "Denmark", "countryCode": "DK" @@ -283,6 +300,10 @@ "localizedName": "Malaysia", "countryCode": "MY" }, + { + "localizedName": "Mexico", + "countryCode": "MX" + }, { "localizedName": "Netherlands", "countryCode": "NL" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json index 5e821d647b7c..37863ff12c0e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "277ms" + "X-Processing-Time": "295ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1651ms" + "X-Processing-Time": "2288ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json index 8938ced59ce6..2dff94fc2b8b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json @@ -190,6 +190,7 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -231,7 +232,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "238ms" + "X-Processing-Time": "281ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +299,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -319,13 +313,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -837,13 +824,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -934,6 +914,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -963,7 +964,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1630ms" + "X-Processing-Time": "2290ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json index 0a1389443989..4507ca34ec11 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "279ms" + "X-Processing-Time": "248ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json index b739a39464b4..83970db0ef0f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -231,7 +232,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "325ms" + "X-Processing-Time": "256ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +299,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -319,13 +313,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -837,13 +824,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -934,6 +914,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json index 27f29a2c7b65..bf53c6fd37b0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "272ms" + "X-Processing-Time": "262ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "286ms" + "X-Processing-Time": "238ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json index 89a55a3209d9..87bcc2bfcf3b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "292ms" + "X-Processing-Time": "235ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +298,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -319,13 +312,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -837,13 +823,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -934,6 +913,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -960,7 +960,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "267ms" + "X-Processing-Time": "261ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json index 83ad0581d3e7..ab3140f3c15c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "659", + "Content-Length": "861", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "497ms" + "X-Processing-Time": "441ms" }, "ResponseBody": { "phoneNumberOfferings": [ @@ -66,6 +66,19 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "phoneNumberType": "tollFree", + "assignmentType": "application", + "availableCapabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json index 5718ee7c0452..418db5709f70 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json @@ -224,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "659", + "Content-Length": "861", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "677ms" + "X-Processing-Time": "459ms" }, "ResponseBody": { "phoneNumberOfferings": [ @@ -273,6 +273,19 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "phoneNumberType": "tollFree", + "assignmentType": "application", + "availableCapabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json index 0b0743e5b838..9b0fe2adbb24 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1151ms" + "X-Processing-Time": "2720ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json index 69d69704e141..0effddddc6e0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1538ms" + "X-Processing-Time": "1602ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json index a6aef4d3d2ab..664209336e4f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "6232ms" + "X-Processing-Time": "9520ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json index 16381c9b0071..b5fb3a300683 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "6226ms" + "X-Processing-Time": "10933ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json index 4ed74f77ee64..0c47905f7de0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json @@ -28,20 +28,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_6442dc06-ff67-49d7-ab40-29528d4f8194", - "Operation-Location": "/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", - "search-id": "6442dc06-ff67-49d7-ab40-29528d4f8194", + "operation-id": "search_d83353e1-015a-4a44-83a4-826cf5a9c6d0", + "Operation-Location": "/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "search-id": "d83353e1-015a-4a44-83a4-826cf5a9c6d0", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "855ms" + "X-Processing-Time": "916ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -59,25 +59,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "240ms" + "X-Processing-Time": "244ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:07.5436806\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-13T20:31:08.458782\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -95,25 +95,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "236ms" + "X-Processing-Time": "253ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:07.5436806\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-13T20:31:08.458782\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/6442dc06-ff67-49d7-ab40-29528d4f8194?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -135,10 +135,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "501ms" + "X-Processing-Time": "504ms" }, "ResponseBody": { - "searchId": "6442dc06-ff67-49d7-ab40-29528d4f8194", + "searchId": "d83353e1-015a-4a44-83a4-826cf5a9c6d0", "phoneNumbers": [ "\u002Bsanitized" ], @@ -153,7 +153,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-07-10T23:25:09.3629681\u002B00:00", + "searchExpiresBy": "2023-07-13T20:47:10.0006502\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json index 4f8360ad63cb..6679f325f4a4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -235,20 +236,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_c5b0f35b-393f-496c-bd1a-302e2abfbd52", - "Operation-Location": "/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", - "search-id": "c5b0f35b-393f-496c-bd1a-302e2abfbd52", + "operation-id": "search_9d05625e-790d-4be5-9b96-d9fd3056c7cf", + "Operation-Location": "/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "search-id": "9d05625e-790d-4be5-9b96-d9fd3056c7cf", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1313ms" + "X-Processing-Time": "1272ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -263,25 +264,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "392ms" + "X-Processing-Time": "276ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:03.1915851\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-13T20:31:03.8802768\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -296,25 +297,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "269ms" + "X-Processing-Time": "262ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:03.1915851\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "createdDateTime": "2023-07-13T20:31:03.8802768\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/c5b0f35b-393f-496c-bd1a-302e2abfbd52?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -333,10 +334,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "479ms" + "X-Processing-Time": "491ms" }, "ResponseBody": { - "searchId": "c5b0f35b-393f-496c-bd1a-302e2abfbd52", + "searchId": "9d05625e-790d-4be5-9b96-d9fd3056c7cf", "phoneNumbers": [ "\u002Bsanitized" ], @@ -351,7 +352,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-07-10T23:25:05.1247507\u002B00:00", + "searchExpiresBy": "2023-07-13T20:47:05.6456826\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json index 61b5fc30f668..468895a914b8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json @@ -32,7 +32,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "14ms" + "X-Processing-Time": "13ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json index 4406825d7f40..e598e13dbd8c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1121ms" + "X-Processing-Time": "1200ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json index deeaf705f1d2..8e0a9b1a8b81 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json @@ -30,7 +30,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "34ms" + "X-Processing-Time": "37ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json index f831724d9ead..12ffe26c39a7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1015ms" + "X-Processing-Time": "1292ms" }, "ResponseBody": { "id": "sanitized", @@ -65,25 +65,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "3841ad08-915a-4a85-9677-0f970c71713f", + "capabilities-id": "5587f8d2-3270-447b-938d-9bd30e8531ad", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_3841ad08-915a-4a85-9677-0f970c71713f", - "Operation-Location": "/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", + "operation-id": "capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad", + "Operation-Location": "/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1911ms" + "X-Processing-Time": "3479ms" }, "ResponseBody": { - "capabilitiesUpdateId": "3841ad08-915a-4a85-9677-0f970c71713f" + "capabilitiesUpdateId": "5587f8d2-3270-447b-938d-9bd30e8531ad" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -107,19 +107,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "184ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", + "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -143,19 +143,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "239ms" + "X-Processing-Time": "165ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", + "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3841ad08-915a-4a85-9677-0f970c71713f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -179,13 +179,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "155ms" + "X-Processing-Time": "179ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:22.9857394\u002B00:00", + "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -213,7 +213,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "990ms" + "X-Processing-Time": "1289ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json index 15fed4f1166e..333fc4d0e327 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json @@ -190,6 +190,7 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -230,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1013ms" + "X-Processing-Time": "1648ms" }, "ResponseBody": { "id": "sanitized", @@ -269,25 +270,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "b19b2164-1b49-4c6f-9837-461984d69c7d", + "capabilities-id": "51fc746e-68b7-4de0-8394-16d50b3f20e4", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d", - "Operation-Location": "/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", + "operation-id": "capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4", + "Operation-Location": "/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1948ms" + "X-Processing-Time": "2787ms" }, "ResponseBody": { - "capabilitiesUpdateId": "b19b2164-1b49-4c6f-9837-461984d69c7d" + "capabilitiesUpdateId": "51fc746e-68b7-4de0-8394-16d50b3f20e4" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -308,19 +309,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "153ms" + "X-Processing-Time": "217ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", + "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -341,19 +342,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "153ms" + "X-Processing-Time": "170ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", + "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b19b2164-1b49-4c6f-9837-461984d69c7d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -374,13 +375,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "171ms" + "X-Processing-Time": "215ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:09:14.2621643\u002B00:00", + "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -405,7 +406,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1014ms" + "X-Processing-Time": "1259ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json index fcb5eef75573..f9315b70c998 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "123ms" + "X-Processing-Time": "171ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json index be59ba92231c..bc8c79c7538c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "191ms" + "X-Processing-Time": "267ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json index 8e23672db494..ffed27af23fc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1024ms" + "X-Processing-Time": "1256ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json index 18796927e89b..0825633374f0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1186ms" + "X-Processing-Time": "1753ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json index 3acb6e5f7462..de76e6736565 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "185ms" + "X-Processing-Time": "206ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json index 2af71f1f8515..c9cec9067968 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json @@ -17,25 +17,41 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1253", + "Content-Length": "1487", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2250ms" + "X-Processing-Time": "1720ms" }, "ResponseBody": { "countries": [ + { + "localizedName": "Argentina", + "countryCode": "AR" + }, + { + "localizedName": "Brazil", + "countryCode": "BR" + }, { "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "Chile", + "countryCode": "CL" + }, { "localizedName": "China", "countryCode": "CN" }, + { + "localizedName": "Colombia", + "countryCode": "CO" + }, { "localizedName": "Denmark", "countryCode": "DK" @@ -76,6 +92,10 @@ "localizedName": "Malaysia", "countryCode": "MY" }, + { + "localizedName": "Mexico", + "countryCode": "MX" + }, { "localizedName": "Netherlands", "countryCode": "NL" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json index 002f8ac05551..e304c122cbe1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json @@ -46,25 +46,41 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1253", + "Content-Length": "1487", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2843ms" + "X-Processing-Time": "1671ms" }, "ResponseBody": { "countries": [ + { + "localizedName": "Argentina", + "countryCode": "AR" + }, + { + "localizedName": "Brazil", + "countryCode": "BR" + }, { "localizedName": "Canada", "countryCode": "CA" }, + { + "localizedName": "Chile", + "countryCode": "CL" + }, { "localizedName": "China", "countryCode": "CN" }, + { + "localizedName": "Colombia", + "countryCode": "CO" + }, { "localizedName": "Denmark", "countryCode": "DK" @@ -105,6 +121,10 @@ "localizedName": "Malaysia", "countryCode": "MY" }, + { + "localizedName": "Mexico", + "countryCode": "MX" + }, { "localizedName": "Netherlands", "countryCode": "NL" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json index 8ccaa13178b4..854f65c35916 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "242ms" + "X-Processing-Time": "240ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1624ms" + "X-Processing-Time": "2203ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json index b0a7e7a9a671..966baa050379 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "236ms" + "X-Processing-Time": "240ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +120,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -141,13 +134,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -659,13 +645,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -756,6 +735,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -785,7 +785,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1603ms" + "X-Processing-Time": "2206ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json index 6b62d691b775..7ad1f9dd8d17 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "242ms" + "X-Processing-Time": "249ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -749,38 +749,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10210", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "248ms" + "X-Processing-Time": "233ms" }, "ResponseBody": { "phoneNumberLocalities": [ - { - "localizedName": "Sault Ste Marie", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Troy", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Warren", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Alexandria", "administrativeDivision": { @@ -823,13 +802,6 @@ "abbreviatedName": "MN" } }, - { - "localizedName": "Columbia", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -1439,59 +1411,13 @@ "abbreviatedName": "VT" } }, - { - "localizedName": "Seattle", - "administrativeDivision": { - "localizedName": "WA", - "abbreviatedName": "WA" - } - }, - { - "localizedName": "Tacoma", - "administrativeDivision": { - "localizedName": "WA", - "abbreviatedName": "WA" - } - }, { "localizedName": "Eau Claire", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } - } - ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", - "x-ms-content-sha256": "sanitized", - "x-ms-date": "sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "644", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "255ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [ + }, { "localizedName": "Green Bay", "administrativeDivision": { @@ -1535,6 +1461,37 @@ } } ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "44", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "230ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json index 00e536689ab1..cd9c93864edd 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "232ms" + "X-Processing-Time": "260ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -112,13 +105,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -630,13 +616,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -727,6 +706,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "241ms" + "X-Processing-Time": "249ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json index 533988ac0ccc..86f583954564 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json @@ -15,6 +15,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -53,7 +54,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "247ms" + "X-Processing-Time": "251ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +121,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -141,13 +135,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -659,13 +646,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -756,6 +736,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -781,7 +782,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "228ms" + "X-Processing-Time": "237ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json index 9fa6c3582fa3..d5401edcb928 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "256ms" + "X-Processing-Time": "250ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +120,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -141,13 +134,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Escondido", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Fresno", "administrativeDivision": { @@ -659,13 +645,6 @@ "abbreviatedName": "MA" } }, - { - "localizedName": "Worcester", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Baltimore", "administrativeDivision": { @@ -756,6 +735,27 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Sault Ste Marie", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Troy", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } + }, + { + "localizedName": "Warren", + "administrativeDivision": { + "localizedName": "MI", + "abbreviatedName": "MI" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -774,38 +774,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10210", + "Content-Length": "10213", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "259ms" + "X-Processing-Time": "238ms" }, "ResponseBody": { "phoneNumberLocalities": [ - { - "localizedName": "Sault Ste Marie", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Troy", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, - { - "localizedName": "Warren", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Alexandria", "administrativeDivision": { @@ -848,13 +827,6 @@ "abbreviatedName": "MN" } }, - { - "localizedName": "Columbia", - "administrativeDivision": { - "localizedName": "MO", - "abbreviatedName": "MO" - } - }, { "localizedName": "Kansas City", "administrativeDivision": { @@ -1464,55 +1436,13 @@ "abbreviatedName": "VT" } }, - { - "localizedName": "Seattle", - "administrativeDivision": { - "localizedName": "WA", - "abbreviatedName": "WA" - } - }, - { - "localizedName": "Tacoma", - "administrativeDivision": { - "localizedName": "WA", - "abbreviatedName": "WA" - } - }, { "localizedName": "Eau Claire", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } - } - ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "644", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "269ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [ + }, { "localizedName": "Green Bay", "administrativeDivision": { @@ -1556,6 +1486,33 @@ } } ], + "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", + "Content-Length": "44", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "247ms" + }, + "ResponseBody": { + "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json index 287d8da66996..1d1f7b27bdaf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "659", + "Content-Length": "861", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "509ms" + "X-Processing-Time": "493ms" }, "ResponseBody": { "phoneNumberOfferings": [ @@ -66,6 +66,19 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "phoneNumberType": "tollFree", + "assignmentType": "application", + "availableCapabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json index eb96bdccecc6..fd022f6e694d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "659", + "Content-Length": "861", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "554ms" + "X-Processing-Time": "487ms" }, "ResponseBody": { "phoneNumberOfferings": [ @@ -95,6 +95,19 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "phoneNumberType": "tollFree", + "assignmentType": "application", + "availableCapabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ], "nextLink": null diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json index 03ffb98ba61e..f2651e618e1b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1203ms" + "X-Processing-Time": "1868ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json index 0a6119503422..bcb5bbdc7033 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1193ms" + "X-Processing-Time": "1374ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json index 85be0e243803..ee674b3467a1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "6313ms" + "X-Processing-Time": "9918ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json index e33e7b349dcb..a4362305eee0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "6362ms" + "X-Processing-Time": "9483ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json index c746cde99870..8e1a0a16dc2d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json @@ -27,15 +27,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/75531b3e-9ff6-4cf4-91be-13801da277be?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/ef2e0c8a-ed22-4150-9ecd-77be278800d9?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_75531b3e-9ff6-4cf4-91be-13801da277be", - "Operation-Location": "/phoneNumbers/operations/search_75531b3e-9ff6-4cf4-91be-13801da277be?api-version=2023-05-01-preview", - "search-id": "75531b3e-9ff6-4cf4-91be-13801da277be", + "operation-id": "search_ef2e0c8a-ed22-4150-9ecd-77be278800d9", + "Operation-Location": "/phoneNumbers/operations/search_ef2e0c8a-ed22-4150-9ecd-77be278800d9?api-version=2023-05-01-preview", + "search-id": "ef2e0c8a-ed22-4150-9ecd-77be278800d9", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "874ms" + "X-Processing-Time": "877ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json index f1a48a9e5e43..450f9631a2cc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json @@ -15,6 +15,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -57,15 +58,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/90a73e8b-b5d3-496a-961a-96ebb74b3e90?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/5eac8630-44ab-4679-9852-9dc04e656e08?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_90a73e8b-b5d3-496a-961a-96ebb74b3e90", - "Operation-Location": "/phoneNumbers/operations/search_90a73e8b-b5d3-496a-961a-96ebb74b3e90?api-version=2023-05-01-preview", - "search-id": "90a73e8b-b5d3-496a-961a-96ebb74b3e90", + "operation-id": "search_5eac8630-44ab-4679-9852-9dc04e656e08", + "Operation-Location": "/phoneNumbers/operations/search_5eac8630-44ab-4679-9852-9dc04e656e08?api-version=2023-05-01-preview", + "search-id": "5eac8630-44ab-4679-9852-9dc04e656e08", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "971ms" + "X-Processing-Time": "5699ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json index 5ddcdec090ef..4977dade77b6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json @@ -31,7 +31,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "13ms" + "X-Processing-Time": "81ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json index 1957ed6d18ef..cf473b9347d6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json @@ -28,7 +28,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1234ms" + "X-Processing-Time": "1090ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json index ce48af2b5328..285f877df85f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json @@ -29,7 +29,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "53ms" + "X-Processing-Time": "11ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json index dbbd1bc46c59..f8fd9d993f97 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1061ms" + "X-Processing-Time": "1272ms" }, "ResponseBody": { "id": "sanitized", @@ -64,25 +64,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "c2dcf978-4a04-4998-a986-0039c5367a4c", + "capabilities-id": "ba5496d9-99d9-4fc2-813d-8be1f392275c", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c", - "Operation-Location": "/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", + "operation-id": "capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c", + "Operation-Location": "/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1855ms" + "X-Processing-Time": "2424ms" }, "ResponseBody": { - "capabilitiesUpdateId": "c2dcf978-4a04-4998-a986-0039c5367a4c" + "capabilitiesUpdateId": "ba5496d9-99d9-4fc2-813d-8be1f392275c" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -106,19 +106,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "157ms" + "X-Processing-Time": "232ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", + "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -142,19 +142,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "157ms" + "X-Processing-Time": "227ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", + "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c2dcf978-4a04-4998-a986-0039c5367a4c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -178,13 +178,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "163ms" + "X-Processing-Time": "177ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:09.7898044\u002B00:00", + "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -212,7 +212,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1008ms" + "X-Processing-Time": "1308ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json index fbf385bc7c1d..57029e1d7fc5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1003ms" + "X-Processing-Time": "1227ms" }, "ResponseBody": { "id": "sanitized", @@ -90,25 +90,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "f6233cfc-c212-4935-861c-139200f58829", + "capabilities-id": "152f6862-e9cc-40d2-84d0-88366aa302e6", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_f6233cfc-c212-4935-861c-139200f58829", - "Operation-Location": "/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", + "operation-id": "capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6", + "Operation-Location": "/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1847ms" + "X-Processing-Time": "24970ms" }, "ResponseBody": { - "capabilitiesUpdateId": "f6233cfc-c212-4935-861c-139200f58829" + "capabilitiesUpdateId": "152f6862-e9cc-40d2-84d0-88366aa302e6" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -128,19 +128,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "178ms" + "X-Processing-Time": "270ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", + "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -160,19 +160,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "167ms" + "X-Processing-Time": "166ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", + "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_f6233cfc-c212-4935-861c-139200f58829?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -192,13 +192,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "162ms" + "X-Processing-Time": "204ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-10T23:10:18.6587125\u002B00:00", + "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -222,7 +222,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1002ms" + "X-Processing-Time": "2950ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json index 055c0c97edeb..98d4a67d2fbe 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "138ms" + "X-Processing-Time": "172ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json index 41df8ab4d478..2fa1ce372ec0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "199ms" + "X-Processing-Time": "1196ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json index d21cfb986b76..6e41aac03df1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json @@ -32,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "297ms" + "X-Processing-Time": "950ms" }, "ResponseBody": { "trunks": { @@ -73,7 +73,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "115ms" + "X-Processing-Time": "122ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json index d2a9fb9165d1..f7350ae45947 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json @@ -239,7 +239,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "208ms" + "X-Processing-Time": "427ms" }, "ResponseBody": { "trunks": { @@ -277,7 +277,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "89ms" + "X-Processing-Time": "115ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json index b5070fbc56da..2ac3caf90eed 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json @@ -30,7 +30,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "129ms" + "X-Processing-Time": "267ms" }, "ResponseBody": { "trunks": { @@ -65,7 +65,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "97ms" + "X-Processing-Time": "123ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json index 46d23a5f0ad0..0f822feb21ad 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json @@ -237,7 +237,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "555ms" }, "ResponseBody": { "trunks": { @@ -269,7 +269,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "141ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json index 53a5d41aad2f..b72f57bb931b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json @@ -35,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "130ms" + "X-Processing-Time": "207ms" }, "ResponseBody": { "trunks": { @@ -80,7 +80,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "90ms" + "X-Processing-Time": "117ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json index 5e905ae80998..cae63dde386e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -242,7 +243,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "233ms" + "X-Processing-Time": "343ms" }, "ResponseBody": { "trunks": { @@ -284,7 +285,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "103ms" + "X-Processing-Time": "120ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json index 521d2225dace..4d74dade941c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "106ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json index f79fca08e4a3..628a7247d60a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "98ms" + "X-Processing-Time": "115ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json index 6f5a8c196c53..45c6608671f9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "101ms" + "X-Processing-Time": "139ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json index 41d240db0b3c..9607d9d97d0f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "98ms" + "X-Processing-Time": "133ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json index 559e98fee0a2..2aa28529d9a1 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "331ms" + "X-Processing-Time": "644ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json index 7aa85eb43e1d..1f436fa0233e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json @@ -35,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "109ms" + "X-Processing-Time": "208ms" }, "ResponseBody": { "trunks": { @@ -91,7 +91,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "200ms" }, "ResponseBody": { "trunks": { @@ -136,7 +136,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "79ms" + "X-Processing-Time": "120ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json index b473f4104a02..84014194e011 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json @@ -242,7 +242,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "125ms" + "X-Processing-Time": "202ms" }, "ResponseBody": { "trunks": { @@ -295,7 +295,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "134ms" + "X-Processing-Time": "189ms" }, "ResponseBody": { "trunks": { @@ -337,7 +337,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "92ms" + "X-Processing-Time": "121ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json index 8983d3216e65..05e5b87c03e3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json @@ -32,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "303ms" + "X-Processing-Time": "375ms" }, "ResponseBody": { "trunks": { @@ -70,7 +70,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "133ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json index ec86f6684c45..02f7142772cc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json @@ -190,6 +190,7 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -239,7 +240,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "269ms" + "X-Processing-Time": "324ms" }, "ResponseBody": { "trunks": { @@ -274,7 +275,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "91ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json index ed8e34532bd3..b7d7eb3e0ff8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "135ms" + "X-Processing-Time": "115ms" }, "ResponseBody": { "trunks": { @@ -72,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "820ms" + "X-Processing-Time": "1581ms" }, "ResponseBody": { "trunks": { @@ -107,7 +107,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "91ms" + "X-Processing-Time": "118ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json index ef58ca4e7187..7c3fb3b047de 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "95ms" + "X-Processing-Time": "127ms" }, "ResponseBody": { "trunks": { @@ -69,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "144ms" + "X-Processing-Time": "276ms" }, "ResponseBody": { "trunks": {}, @@ -100,7 +100,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "91ms" + "X-Processing-Time": "124ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json index a58bc607ed04..dc61227cf9d7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json @@ -16,6 +16,7 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -231,7 +232,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "110ms" + "X-Processing-Time": "123ms" }, "ResponseBody": { "trunks": { @@ -276,7 +277,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "241ms" + "X-Processing-Time": "630ms" }, "ResponseBody": { "trunks": { @@ -308,7 +309,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "101ms" + "X-Processing-Time": "122ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json index f0791d906a59..e32ab36beed0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json @@ -31,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "416ms" + "X-Processing-Time": "445ms" }, "ResponseBody": { "trunks": { @@ -72,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "121ms" + "X-Processing-Time": "118ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json index 699c4af09c30..41f786883ae2 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "432ms" + "X-Processing-Time": "511ms" }, "ResponseBody": { "trunks": { @@ -98,7 +98,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "124ms" + "X-Processing-Time": "127ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json index f9e6040a3286..f76fc670734b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "267ms" + "X-Processing-Time": "279ms" }, "ResponseBody": { "trunks": { @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "274ms" + "X-Processing-Time": "124ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json index 7194861f84e6..39cb0faa07eb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json @@ -59,7 +59,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "382ms" + "X-Processing-Time": "268ms" }, "ResponseBody": { "trunks": { @@ -90,7 +90,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "237ms" + "X-Processing-Time": "123ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json index 409b59a2c6bf..11494df0fbd0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json @@ -34,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "147ms" + "X-Processing-Time": "1378ms" }, "ResponseBody": { "trunks": { @@ -79,7 +79,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "142ms" + "X-Processing-Time": "116ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json index 9478dfee6a13..c2e3bd086e6b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json @@ -15,6 +15,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -64,7 +65,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "355ms" + "X-Processing-Time": "729ms" }, "ResponseBody": { "trunks": { @@ -105,7 +106,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "272ms" + "X-Processing-Time": "531ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json index 9d56a95ae80d..856aa69ee738 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "151ms" + "X-Processing-Time": "148ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json index 7bd78f6f85bd..5f24e212ca30 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "115ms" + "X-Processing-Time": "151ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json index 3e6c667b480e..ff5cae613072 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "117ms" + "X-Processing-Time": "158ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json index e283e0c0ed58..3795d9ab56b8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "120ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json index 86bb524c59fe..f1ed9d33ca6b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "116ms" + "X-Processing-Time": "128ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json index 7ab590e92b95..3d95c8a7ae6d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json @@ -34,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "236ms" + "X-Processing-Time": "1498ms" }, "ResponseBody": { "trunks": { @@ -89,7 +89,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "221ms" + "X-Processing-Time": "207ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json index 556a44215c5b..ee5620d0cfcc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "198ms" + "X-Processing-Time": "216ms" }, "ResponseBody": { "trunks": { @@ -116,7 +116,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "202ms" + "X-Processing-Time": "198ms" }, "ResponseBody": { "trunks": { @@ -157,7 +157,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "149ms" + "X-Processing-Time": "126ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json index 3b9db6a42620..8db9133a4f3a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json @@ -31,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "403ms" + "X-Processing-Time": "480ms" }, "ResponseBody": { "trunks": { @@ -69,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "149ms" + "X-Processing-Time": "84ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json index dcca55e89b78..6b5a04ba0380 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "372ms" + "X-Processing-Time": "211ms" }, "ResponseBody": { "trunks": { @@ -95,7 +95,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "143ms" + "X-Processing-Time": "80ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json index 43fe691a9f56..d8d1e0707638 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "147ms" + "X-Processing-Time": "133ms" }, "ResponseBody": { "trunks": { @@ -71,7 +71,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1099ms" + "X-Processing-Time": "1234ms" }, "ResponseBody": { "trunks": { @@ -106,7 +106,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "130ms" + "X-Processing-Time": "125ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json index 8e1ff6786b3d..6782eaad7fdf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "144ms" + "X-Processing-Time": "124ms" }, "ResponseBody": { "trunks": { @@ -68,7 +68,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "293ms" + "X-Processing-Time": "268ms" }, "ResponseBody": { "trunks": {}, @@ -99,7 +99,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "531ms" + "X-Processing-Time": "120ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json index a188cd175f86..7b9b818b9995 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json @@ -15,6 +15,7 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", + "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -53,7 +54,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "163ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "trunks": { @@ -97,7 +98,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "531ms" + "X-Processing-Time": "682ms" }, "ResponseBody": { "trunks": { @@ -128,7 +129,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "143ms" + "X-Processing-Time": "124ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py index bdd184859686..3c3345c5f688 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py @@ -381,7 +381,7 @@ def test_search_operator_information_with_too_many_phone_numbers(self): if self.is_playback(): phone_numbers = [ "sanitized", "sanitized" ] else: - phone_numbers = [ "+14255550123", "+14255551234" ] + phone_numbers = [ self.phone_number, self.phone_number ] with pytest.raises(Exception) as ex: self.phone_number_client.search_operator_information(phone_numbers) @@ -392,6 +392,11 @@ def test_search_operator_information_with_too_many_phone_numbers(self): @recorded_by_proxy def test_search_operator_information(self): - results = self.phone_number_client.search_operator_information([ self.phone_number ]) + if self.is_playback(): + phone_number = "sanitized" + else: + phone_number = self.phone_number + + results = self.phone_number_client.search_operator_information([ phone_number ]) assert len(results.values) == 1 assert results.values[0].phone_number == self.phone_number diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py index 883578ea1ef8..99567fffe95d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py @@ -459,7 +459,7 @@ async def test_search_operator_information_with_too_many_phone_numbers(self): if self.is_playback(): phone_numbers = [ "sanitized", "sanitized" ] else: - phone_numbers = [ "+14255550123", "+14255551234" ] + phone_numbers = [ self.phone_number, self.phone_number ] with pytest.raises(Exception) as ex: async with self.phone_number_client: @@ -471,7 +471,12 @@ async def test_search_operator_information_with_too_many_phone_numbers(self): @recorded_by_proxy_async async def test_search_operator_information(self): + if self.is_playback(): + phone_number = "sanitized" + else: + phone_number = self.phone_number + async with self.phone_number_client: - results = await self.phone_number_client.search_operator_information([ self.phone_number ]) + results = await self.phone_number_client.search_operator_information([ phone_number ]) assert len(results.values) == 1 assert results.values[0].phone_number == self.phone_number From 66fe09b61ed11dcbd7fec4371e874eb1fc577c99 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 27 Jul 2023 11:50:23 -0700 Subject: [PATCH 06/16] update autorest generation --- .../phonenumbers/_generated/_serialization.py | 26 +++++++--- .../phonenumbers/_generated/_vendor.py | 20 ------- .../_generated/aio/operations/_operations.py | 31 ++++++++++- .../phonenumbers/_generated/models/_models.py | 6 ++- .../_generated/operations/_operations.py | 52 ++++++++++++++----- .../swagger/PHONE_NUMBER_SWAGGER.md | 10 +++- 6 files changed, 99 insertions(+), 46 deletions(-) delete mode 100644 sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py index 842ae727fbbc..4bae2292227b 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_serialization.py @@ -662,8 +662,9 @@ def _serialize(self, target_obj, data_type=None, **kwargs): _serialized.update(_new_attr) # type: ignore _new_attr = _new_attr[k] # type: ignore _serialized = _serialized[k] - except ValueError: - continue + except ValueError as err: + if isinstance(err, SerializationError): + raise except (AttributeError, KeyError, TypeError) as err: msg = "Attribute {} in object {} cannot be serialized.\n{}".format(attr_name, class_name, str(target_obj)) @@ -741,6 +742,8 @@ def query(self, name, data, data_type, **kwargs): :param data: The data to be serialized. :param str data_type: The type to be serialized from. + :keyword bool skip_quote: Whether to skip quote the serialized result. + Defaults to False. :rtype: str :raises: TypeError if serialization fails. :raises: ValueError if data is None @@ -749,10 +752,8 @@ def query(self, name, data, data_type, **kwargs): # Treat the list aside, since we don't want to encode the div separator if data_type.startswith("["): internal_data_type = data_type[1:-1] - data = [self.serialize_data(d, internal_data_type, **kwargs) if d is not None else "" for d in data] - if not kwargs.get("skip_quote", False): - data = [quote(str(d), safe="") for d in data] - return str(self.serialize_iter(data, internal_data_type, **kwargs)) + do_quote = not kwargs.get("skip_quote", False) + return str(self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs)) # Not a list, regular serialization output = self.serialize_data(data, data_type, **kwargs) @@ -891,6 +892,8 @@ def serialize_iter(self, data, iter_type, div=None, **kwargs): not be None or empty. :param str div: If set, this str will be used to combine the elements in the iterable into a combined string. Default is 'None'. + :keyword bool do_quote: Whether to quote the serialized result of each iterable element. + Defaults to False. :rtype: list, str """ if isinstance(data, str): @@ -903,9 +906,14 @@ def serialize_iter(self, data, iter_type, div=None, **kwargs): for d in data: try: serialized.append(self.serialize_data(d, iter_type, **kwargs)) - except ValueError: + except ValueError as err: + if isinstance(err, SerializationError): + raise serialized.append(None) + if kwargs.get("do_quote", False): + serialized = ["" if s is None else quote(str(s), safe="") for s in serialized] + if div: serialized = ["" if s is None else str(s) for s in serialized] serialized = div.join(serialized) @@ -950,7 +958,9 @@ def serialize_dict(self, attr, dict_type, **kwargs): for key, value in attr.items(): try: serialized[self.serialize_unicode(key)] = self.serialize_data(value, dict_type, **kwargs) - except ValueError: + except ValueError as err: + if isinstance(err, SerializationError): + raise serialized[self.serialize_unicode(key)] = None if "xml" in serialization_ctxt: diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py deleted file mode 100644 index 8598d2b74592..000000000000 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/_vendor.py +++ /dev/null @@ -1,20 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from typing import List, cast - - -def _format_url_section(template, **kwargs): - components = template.split("/") - while components: - try: - return template.format(**kwargs) - except KeyError as key: - # Need the cast, as for some reasons "split" is typed as list[str | Any] - formatted_components = cast(List[str], template.split("/")) - components = [c for c in formatted_components if "{}".format(key.args[0]) not in c] - template = "/".join(components) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py index 00d714756963..5807b518f619 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_operations.py @@ -20,10 +20,9 @@ map_error, ) from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod from azure.core.polling.async_base_polling import AsyncLROBasePolling -from azure.core.rest import HttpRequest +from azure.core.rest import AsyncHttpResponse, HttpRequest from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async from azure.core.utils import case_insensitive_dict @@ -188,6 +187,8 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -286,6 +287,8 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -399,6 +402,8 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -516,6 +521,8 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -571,6 +578,8 @@ async def _search_available_phone_numbers_initial( response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -783,6 +792,8 @@ async def get_search_result(self, search_id: str, **kwargs: Any) -> _models.Phon response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -840,6 +851,8 @@ async def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-retur response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1011,6 +1024,8 @@ async def get_operation(self, operation_id: str, **kwargs: Any) -> _models.Phone response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1071,6 +1086,8 @@ async def cancel_operation( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1128,6 +1145,8 @@ async def _update_capabilities_initial( response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1349,6 +1368,8 @@ async def get_by_number(self, phone_number: str, **kwargs: Any) -> _models.Purch response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1395,6 +1416,8 @@ async def _release_phone_number_initial( # pylint: disable=inconsistent-return- response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1557,6 +1580,8 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1662,6 +1687,8 @@ async def operator_information_search( response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py index 7cfa19afbe5c..985579c64b34 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/models/_models.py @@ -175,7 +175,8 @@ class OperatorInformation(_serialization.Model): :ivar number_type: Type of service associated with the phone number. Known values are: "unknown", "other", "geographic", and "mobile". :vartype number_type: str or ~azure.communication.phonenumbers.models.OperatorNumberType - :ivar iso_country_code: ISO country code associated with the phone number. + :ivar iso_country_code: ISO 3166-1 two character ('alpha-2') code associated with the phone + number. :vartype iso_country_code: str :ivar operator_details: Represents metadata describing the operator of a phone number. :vartype operator_details: ~azure.communication.phonenumbers.models.OperatorDetails @@ -203,7 +204,8 @@ def __init__( :keyword number_type: Type of service associated with the phone number. Known values are: "unknown", "other", "geographic", and "mobile". :paramtype number_type: str or ~azure.communication.phonenumbers.models.OperatorNumberType - :keyword iso_country_code: ISO country code associated with the phone number. + :keyword iso_country_code: ISO 3166-1 two character ('alpha-2') code associated with the phone + number. :paramtype iso_country_code: str :keyword operator_details: Represents metadata describing the operator of a phone number. :paramtype operator_details: ~azure.communication.phonenumbers.models.OperatorDetails diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py index 9521b0257f48..09838dcdbb1a 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_operations.py @@ -20,16 +20,14 @@ ) from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpResponse from azure.core.polling import LROPoller, NoPolling, PollingMethod from azure.core.polling.base_polling import LROBasePolling -from azure.core.rest import HttpRequest +from azure.core.rest import HttpRequest, HttpResponse from azure.core.tracing.decorator import distributed_trace from azure.core.utils import case_insensitive_dict from .. import models as _models from .._serialization import Serializer -from .._vendor import _format_url_section T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -61,7 +59,7 @@ def build_phone_numbers_list_area_codes_request( "countryCode": _SERIALIZER.url("country_code", country_code, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["phoneNumberType"] = _SERIALIZER.query("phone_number_type", phone_number_type, "str") @@ -128,7 +126,7 @@ def build_phone_numbers_list_available_localities_request( "countryCode": _SERIALIZER.url("country_code", country_code, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters if skip is not None: @@ -166,7 +164,7 @@ def build_phone_numbers_list_offerings_request( "countryCode": _SERIALIZER.url("country_code", country_code, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters if skip is not None: @@ -199,7 +197,7 @@ def build_phone_numbers_search_available_phone_numbers_request(country_code: str "countryCode": _SERIALIZER.url("country_code", country_code, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -225,7 +223,7 @@ def build_phone_numbers_get_search_result_request(search_id: str, **kwargs: Any) "searchId": _SERIALIZER.url("search_id", search_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -271,7 +269,7 @@ def build_phone_numbers_get_operation_request(operation_id: str, **kwargs: Any) "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -295,7 +293,7 @@ def build_phone_numbers_cancel_operation_request(operation_id: str, **kwargs: An "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -320,7 +318,7 @@ def build_phone_numbers_update_capabilities_request(phone_number: str, **kwargs: "phoneNumber": _SERIALIZER.url("phone_number", phone_number, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -346,7 +344,7 @@ def build_phone_numbers_get_by_number_request(phone_number: str, **kwargs: Any) "phoneNumber": _SERIALIZER.url("phone_number", phone_number, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -370,7 +368,7 @@ def build_phone_numbers_release_phone_number_request(phone_number: str, **kwargs "phoneNumber": _SERIALIZER.url("phone_number", phone_number, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -564,6 +562,8 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -662,6 +662,8 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -775,6 +777,8 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -892,6 +896,8 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -947,6 +953,8 @@ def _search_available_phone_numbers_initial( response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1159,6 +1167,8 @@ def get_search_result(self, search_id: str, **kwargs: Any) -> _models.PhoneNumbe response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1216,6 +1226,8 @@ def _purchase_phone_numbers_initial( # pylint: disable=inconsistent-return-stat response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1386,6 +1398,8 @@ def get_operation(self, operation_id: str, **kwargs: Any) -> _models.PhoneNumber response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1446,6 +1460,8 @@ def cancel_operation( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1503,6 +1519,8 @@ def _update_capabilities_initial( response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1724,6 +1742,8 @@ def get_by_number(self, phone_number: str, **kwargs: Any) -> _models.PurchasedPh response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1770,6 +1790,8 @@ def _release_phone_number_initial( # pylint: disable=inconsistent-return-statem response = pipeline_response.http_response if response.status_code not in [202]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -1931,6 +1953,8 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) @@ -2036,6 +2060,8 @@ def operator_information_search( response = pipeline_response.http_response if response.status_code not in [200]: + if _stream: + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = self._deserialize.failsafe_deserialize(_models.CommunicationErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error) diff --git a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index 952b2ef865e0..5b41765f3402 100644 --- a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md +++ b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md @@ -11,7 +11,7 @@ autorest ./PHONE_NUMBER_SWAGGER.md ### Settings ``` yaml tag: package-phonenumber-2023-05-01-preview -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/4d2e746ac1e094f87bfe0807b1d51b375a6c5517/specification/communication/data-plane/PhoneNumbers/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/dbd87dc39174b98d12566902c709a4b3af90c375/specification/communication/data-plane/PhoneNumbers/readme.md output-folder: ../azure/communication/phonenumbers/_generated namespace: azure.communication.phonenumbers license-header: MICROSOFT_MIT_NO_VERSION @@ -30,4 +30,12 @@ directive: where: $.definitions.PhoneNumberSearchResult.properties.error.x-ms-enum transform: > $["name"] = "PhoneNumberSearchResultError"; +``` + +``` yaml +directive: + from: swagger-document + where: $.parameters.Endpoint + transform: > + $["format"] = ""; ``` \ No newline at end of file From d3ab7f30e3aff1c59fd51f7c80d0fd85a71da7b5 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 27 Jul 2023 13:58:55 -0700 Subject: [PATCH 07/16] updates based on review comments --- .../phonenumbers/_phone_numbers_client.py | 10 ++++++++-- .../test/test_phone_number_administration_client.py | 13 ++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py index b7351b7a21cd..e5c89eefe1a4 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py @@ -4,7 +4,7 @@ # license information. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING, Union +from typing import TYPE_CHECKING, cast, List, Union from azure.core.tracing.decorator import distributed_trace from azure.core.exceptions import HttpResponseError from ._generated._client import PhoneNumbersClient as PhoneNumbersClientGen @@ -37,6 +37,10 @@ PurchasedPhoneNumber, ) +PhoneNumberSearchType = Union[ + str, + List[str], +] class PhoneNumbersClient(object): """A client to interact with the AzureCommunicationService Phone Numbers gateway. @@ -434,9 +438,11 @@ def search_operator_information( """Searches for operator information for a given list of phone numbers. :param phone_numbers: The phone number(s) whose operator information should be searched - :type phone_numbers: list(str) + :type phone_numbers: str or list(str) :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult """ + if not isinstance(phone_numbers, list): + phone_numbers = cast(list(str), [phone_numbers]) request = OperatorInformationRequest(phone_numbers = phone_numbers) return self._phone_number_client.phone_numbers.operator_information_search( request, diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py index 3c3345c5f688..af7b5acd67d8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client.py @@ -391,7 +391,7 @@ def test_search_operator_information_with_too_many_phone_numbers(self): assert ex.value.message is not None # type: ignore @recorded_by_proxy - def test_search_operator_information(self): + def test_search_operator_information_with_list(self): if self.is_playback(): phone_number = "sanitized" else: @@ -400,3 +400,14 @@ def test_search_operator_information(self): results = self.phone_number_client.search_operator_information([ phone_number ]) assert len(results.values) == 1 assert results.values[0].phone_number == self.phone_number + + @recorded_by_proxy + def test_search_operator_information_with_single_string(self): + if self.is_playback(): + phone_number = "sanitized" + else: + phone_number = self.phone_number + + results = self.phone_number_client.search_operator_information(phone_number) + assert len(results.values) == 1 + assert results.values[0].phone_number == self.phone_number From f2172f143cc4535e0538ca988daf7f575459f4e5 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 3 Aug 2023 11:03:23 -0700 Subject: [PATCH 08/16] udpate tests/recordings --- .../phonenumbers/_phone_numbers_client.py | 4 +- .../test/conftest.py | 2 +- ...Clienttest_get_purchased_phone_number.json | 8 +- ...ed_phone_number_from_managed_identity.json | 9 +- ...hone_number_with_invalid_phone_number.json | 4 +- ...PhoneNumbersClienttest_list_countries.json | 8 +- ..._list_countries_from_managed_identity.json | 9 +- ...Clienttest_list_geographic_area_codes.json | 54 +- ...phic_area_codes_from_managed_identity.json | 55 +- ...honeNumbersClienttest_list_localities.json | 52 +- ...list_localities_from_managed_identity.json | 53 +- ...ersClienttest_list_localities_with_ad.json | 54 +- ...alities_with_ad_from_managed_identity.json | 54 +- ...PhoneNumbersClienttest_list_offerings.json | 2 +- ..._list_offerings_from_managed_identity.json | 2 +- ...ienttest_list_purchased_phone_numbers.json | 457 ++- ...d_phone_numbers_from_managed_identity.json | 457 ++- ...sClienttest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_from_managed_identity.json | 2 +- ...nttest_search_available_phone_numbers.json | 42 +- ...e_phone_numbers_from_managed_identity.json | 43 +- ...one_numbers_with_invalid_country_code.json | 2 +- ...search_operator_information_with_list.json | 51 + ...erator_information_with_single_string.json | 51 + ...formation_with_too_many_phone_numbers.json | 8 +- ...test_update_phone_number_capabilities.json | 66 +- ...er_capabilities_from_managed_identity.json | 67 +- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...tAsynctest_get_purchased_phone_number.json | 8 +- ...ed_phone_number_from_managed_identity.json | 8 +- ...hone_number_with_invalid_phone_number.json | 4 +- ...NumbersClientAsynctest_list_countries.json | 8 +- ..._list_countries_with_managed_identity.json | 8 +- ...tAsynctest_list_geographic_area_codes.json | 54 +- ...phic_area_codes_with_managed_identity.json | 54 +- ...umbersClientAsynctest_list_localities.json | 162 +- ...ientAsynctest_list_localities_with_ad.json | 54 +- ...calities_with_ad_and_managed_identity.json | 55 +- ...list_localities_with_managed_identity.json | 162 +- ...NumbersClientAsynctest_list_offerings.json | 2 +- ..._list_offerings_with_managed_identity.json | 2 +- ...synctest_list_purchased_phone_numbers.json | 2862 ++++++++++++++++- ...d_phone_numbers_from_managed_identity.json | 2854 +++++++++++++++- ...ntAsynctest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_with_managed_identity.json | 2 +- ...nctest_search_available_phone_numbers.json | 10 +- ...e_phone_numbers_from_managed_identity.json | 11 +- ...one_numbers_with_invalid_country_code.json | 2 +- ...Asynctest_search_operator_information.json | 10 +- ...formation_with_too_many_phone_numbers.json | 8 +- ...test_update_phone_number_capabilities.json | 66 +- ...er_capabilities_from_managed_identity.json | 66 +- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...TestSipRoutingClientE2Etest_add_trunk.json | 4 +- ...Etest_add_trunk_from_managed_identity.json | 4 +- ...tSipRoutingClientE2Etest_delete_trunk.json | 4 +- ...st_delete_trunk_from_managed_identity.json | 4 +- ...estSipRoutingClientE2Etest_get_routes.json | 4 +- ...test_get_routes_from_managed_identity.json | 5 +- ...TestSipRoutingClientE2Etest_get_trunk.json | 2 +- ...Etest_get_trunk_from_managed_identity.json | 2 +- ...E2Etest_get_trunk_not_existing_throws.json | 2 +- ...estSipRoutingClientE2Etest_get_trunks.json | 2 +- ...test_get_trunks_from_managed_identity.json | 2 +- ...estSipRoutingClientE2Etest_set_routes.json | 6 +- ...test_set_routes_from_managed_identity.json | 6 +- ...TestSipRoutingClientE2Etest_set_trunk.json | 4 +- ...Etest_set_trunk_from_managed_identity.json | 5 +- ...estSipRoutingClientE2Etest_set_trunks.json | 6 +- ...ngClientE2Etest_set_trunks_empty_list.json | 6 +- ...test_set_trunks_from_managed_identity.json | 7 +- ...ipRoutingClientE2EAsynctest_add_trunk.json | 4 +- ...ctest_add_trunk_from_managed_identity.json | 4 +- ...outingClientE2EAsynctest_delete_trunk.json | 4 +- ...st_delete_trunk_from_managed_identity.json | 4 +- ...pRoutingClientE2EAsynctest_get_routes.json | 4 +- ...test_get_routes_from_managed_identity.json | 5 +- ...ipRoutingClientE2EAsynctest_get_trunk.json | 2 +- ...ctest_get_trunk_from_managed_identity.json | 2 +- ...ynctest_get_trunk_not_existing_throws.json | 2 +- ...pRoutingClientE2EAsynctest_get_trunks.json | 2 +- ...test_get_trunks_from_managed_identity.json | 2 +- ...pRoutingClientE2EAsynctest_set_routes.json | 6 +- ...test_set_routes_from_managed_identity.json | 6 +- ...ipRoutingClientE2EAsynctest_set_trunk.json | 4 +- ...ctest_set_trunk_from_managed_identity.json | 4 +- ...pRoutingClientE2EAsynctest_set_trunks.json | 6 +- ...entE2EAsynctest_set_trunks_empty_list.json | 6 +- ...test_set_trunks_from_managed_identity.json | 7 +- .../test/test_phone_number_operations.py | 1 + 92 files changed, 7489 insertions(+), 761 deletions(-) create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py index e5c89eefe1a4..274126b97bd7 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py @@ -431,7 +431,7 @@ def list_available_area_codes( @distributed_trace def search_operator_information( self, - phone_numbers, # type: list(str) + phone_numbers, # type: PhoneNumberSearchType **kwargs # type: Any ): # type: (...) -> OperatorInformationResult @@ -442,7 +442,7 @@ def search_operator_information( :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult """ if not isinstance(phone_numbers, list): - phone_numbers = cast(list(str), [phone_numbers]) + phone_numbers = cast(PhoneNumberSearchType, [ phone_numbers ]) request = OperatorInformationRequest(phone_numbers = phone_numbers) return self._phone_number_client.phone_numbers.operator_information_search( request, diff --git a/sdk/communication/azure-communication-phonenumbers/test/conftest.py b/sdk/communication/azure-communication-phonenumbers/test/conftest.py index f44bdbb91462..1a3a61aee77c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/conftest.py +++ b/sdk/communication/azure-communication-phonenumbers/test/conftest.py @@ -49,7 +49,7 @@ def add_sanitizers(test_proxy): add_general_regex_sanitizer( regex=r"-[0-9a-fA-F]{32}\.[0-9a-zA-Z\.]*(\.com|\.net|\.test)", value=".sanitized.com") - add_general_regex_sanitizer(regex=r"[%2B\d]{10,15}", value="sanitized") + add_general_regex_sanitizer(regex=r"(?:(?:%2B)|\+)\d{10,15}", value="sanitized") add_general_regex_sanitizer( regex=r"phoneNumbers/[%2B\d]{10,15}", value="phoneNumbers/sanitized") diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json index b50f6958d1d1..ea6b8c76cb37 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2278ms" + "X-Processing-Time": "1112ms" }, "ResponseBody": { "id": "sanitized", @@ -31,8 +31,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json index e6059303ecbe..e3ba90718d6c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -224,14 +223,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1281ms" + "X-Processing-Time": "1171ms" }, "ResponseBody": { "id": "sanitized", @@ -239,8 +238,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json index 68589f6c00f7..a6c505049e96 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,12 +23,12 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "365ms" + "X-Processing-Time": "130ms" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "Input phoneNumber \u002Bsanitized cannot be found.", + "message": "Input phoneNumber sanitized cannot be found.", "target": "phonenumber" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json index 6e487c71d81d..c5e79a9f7447 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1487", + "Content-Length": "1539", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1651ms" + "X-Processing-Time": "1984ms" }, "ResponseBody": { "countries": [ @@ -116,6 +116,10 @@ "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Saudi Arabia", + "countryCode": "SA" + }, { "localizedName": "Singapore", "countryCode": "SG" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json index 41b1291bb117..4191d740ad57 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -225,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1487", + "Content-Length": "1539", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3097ms" + "X-Processing-Time": "1832ms" }, "ResponseBody": { "countries": [ @@ -324,6 +323,10 @@ "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Saudi Arabia", + "countryCode": "SA" + }, { "localizedName": "Singapore", "countryCode": "SG" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json index 37863ff12c0e..5186e4d09bc7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "295ms" + "X-Processing-Time": "208ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2288ms" + "X-Processing-Time": "2091ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json index 2dff94fc2b8b..76705eb7522a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json @@ -190,7 +190,6 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -225,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "281ms" + "X-Processing-Time": "216ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -299,6 +298,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -460,13 +466,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -488,13 +487,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -517,21 +509,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -796,13 +788,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -935,6 +920,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -964,7 +963,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2290ms" + "X-Processing-Time": "2184ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json index 4507ca34ec11..77bd31751358 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "248ms" + "X-Processing-Time": "217ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json index 83970db0ef0f..8f301e5a14fa 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -225,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "256ms" + "X-Processing-Time": "219ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -299,6 +298,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -460,13 +466,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -488,13 +487,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -517,21 +509,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -796,13 +788,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -935,6 +920,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json index bf53c6fd37b0..216e0141ce36 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "262ms" + "X-Processing-Time": "214ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "238ms" + "X-Processing-Time": "195ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json index 87bcc2bfcf3b..8bdac44ef2c6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json @@ -224,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "235ms" + "X-Processing-Time": "208ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,6 +298,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -459,13 +466,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -487,13 +487,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -516,21 +509,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -795,13 +788,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -934,6 +920,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -960,7 +960,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "261ms" + "X-Processing-Time": "218ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json index ab3140f3c15c..888a6faf25b7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "441ms" + "X-Processing-Time": "422ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json index 418db5709f70..0ddc954e1970 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "459ms" + "X-Processing-Time": "422ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json index 9b0fe2adbb24..a12ba6ec2983 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "23239", + "Content-Length": "31580", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2720ms" + "X-Processing-Time": "1329ms" }, "ResponseBody": { "phoneNumbers": [ @@ -322,8 +322,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -798,8 +798,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -1284,8 +1284,451 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } - ] + ], + "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json index 0effddddc6e0..504bebfeb22e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json @@ -223,14 +223,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "23239", + "Content-Length": "31580", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1602ms" + "X-Processing-Time": "1695ms" }, "ResponseBody": { "phoneNumbers": [ @@ -529,8 +529,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -1005,8 +1005,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -1491,8 +1491,451 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } - ] + ], + "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview" } } ], diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json index 664209336e4f..db5f844a332e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9520ms" + "X-Processing-Time": "8937ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json index b5fb3a300683..97c9c1f3c9f5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "10933ms" + "X-Processing-Time": "9021ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json index 0c47905f7de0..13666994645f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json @@ -28,20 +28,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_d83353e1-015a-4a44-83a4-826cf5a9c6d0", - "Operation-Location": "/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", - "search-id": "d83353e1-015a-4a44-83a4-826cf5a9c6d0", + "operation-id": "search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", + "Operation-Location": "/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "search-id": "7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "916ms" + "X-Processing-Time": "1109ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -59,25 +59,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "244ms" + "X-Processing-Time": "280ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:08.458782\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:02.365251\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -95,25 +95,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "253ms" + "X-Processing-Time": "201ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:08.458782\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:02.365251\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/d83353e1-015a-4a44-83a4-826cf5a9c6d0?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -128,19 +128,19 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "347", + "Content-Length": "346", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "504ms" + "X-Processing-Time": "354ms" }, "ResponseBody": { - "searchId": "d83353e1-015a-4a44-83a4-826cf5a9c6d0", + "searchId": "7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", "phoneNumbers": [ - "\u002Bsanitized" + "sanitized" ], "phoneNumberType": "tollFree", "assignmentType": "application", @@ -153,7 +153,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-07-13T20:47:10.0006502\u002B00:00", + "searchExpiresBy": "2023-08-03T18:13:04.0727135\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json index 6679f325f4a4..a09904583b4c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -236,20 +235,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_9d05625e-790d-4be5-9b96-d9fd3056c7cf", - "Operation-Location": "/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", - "search-id": "9d05625e-790d-4be5-9b96-d9fd3056c7cf", + "operation-id": "search_071bd893-a4b1-4196-b85e-0649937b7f18", + "Operation-Location": "/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "search-id": "071bd893-a4b1-4196-b85e-0649937b7f18", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1272ms" + "X-Processing-Time": "908ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -264,25 +263,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "276ms" + "X-Processing-Time": "230ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:03.8802768\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:56:58.2207275\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -297,25 +296,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "262ms" + "X-Processing-Time": "212ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:03.8802768\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:56:58.2207275\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/9d05625e-790d-4be5-9b96-d9fd3056c7cf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -327,19 +326,19 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "347", + "Content-Length": "346", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "491ms" + "X-Processing-Time": "402ms" }, "ResponseBody": { - "searchId": "9d05625e-790d-4be5-9b96-d9fd3056c7cf", + "searchId": "071bd893-a4b1-4196-b85e-0649937b7f18", "phoneNumbers": [ - "\u002Bsanitized" + "sanitized" ], "phoneNumberType": "tollFree", "assignmentType": "application", @@ -352,7 +351,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-07-13T20:47:05.6456826\u002B00:00", + "searchExpiresBy": "2023-08-03T18:13:00.0124677\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json index 468895a914b8..61b5fc30f668 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json @@ -32,7 +32,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "13ms" + "X-Processing-Time": "14ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json new file mode 100644 index 000000000000..72aefb096d5b --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json @@ -0,0 +1,51 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "sanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "183", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "498ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "sanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json new file mode 100644 index 000000000000..fadac49d0e1e --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json @@ -0,0 +1,51 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "sanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "183", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "173ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "sanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json index 8e0a9b1a8b81..b99eb7f2d47a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json @@ -7,7 +7,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Content-Length": "46", + "Content-Length": "44", "Content-Type": "application/json", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", @@ -16,8 +16,8 @@ }, "RequestBody": { "phoneNumbers": [ - "\u002Bsanitized", - "\u002Bsanitized" + "sanitized", + "sanitized" ] }, "StatusCode": 400, @@ -30,7 +30,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "37ms" + "X-Processing-Time": "29ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json index 12ffe26c39a7..f4c64978f665 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "301", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1292ms" + "X-Processing-Time": "1083ms" }, "ResponseBody": { "id": "sanitized", @@ -31,8 +31,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -50,7 +50,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Content-Length": "49", + "Content-Length": "42", "Content-Type": "application/merge-patch\u002Bjson", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", @@ -58,32 +58,32 @@ "x-ms-return-client-request-id": "true" }, "RequestBody": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "5587f8d2-3270-447b-938d-9bd30e8531ad", + "capabilities-id": "7d582825-72bb-4e24-8e96-2eec9ea5c50b", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad", - "Operation-Location": "/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", + "operation-id": "capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b", + "Operation-Location": "/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "3479ms" + "X-Processing-Time": "2230ms" }, "ResponseBody": { - "capabilitiesUpdateId": "5587f8d2-3270-447b-938d-9bd30e8531ad" + "capabilitiesUpdateId": "7d582825-72bb-4e24-8e96-2eec9ea5c50b" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -101,25 +101,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "184ms" + "X-Processing-Time": "111ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -137,25 +137,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_5587f8d2-3270-447b-938d-9bd30e8531ad?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -173,25 +173,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "179ms" + "X-Processing-Time": "113ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:28.4099654\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -206,14 +206,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1289ms" + "X-Processing-Time": "1079ms" }, "ResponseBody": { "id": "sanitized", @@ -221,8 +221,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json index 333fc4d0e327..5e8108383e33 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json @@ -190,7 +190,6 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -224,14 +223,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1648ms" + "X-Processing-Time": "1129ms" }, "ResponseBody": { "id": "sanitized", @@ -239,8 +238,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -258,37 +257,37 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Content-Length": "42", + "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "51fc746e-68b7-4de0-8394-16d50b3f20e4", + "capabilities-id": "b3a1d3d3-c169-4e6a-882e-85d4d753e2a8", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4", - "Operation-Location": "/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", + "operation-id": "capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8", + "Operation-Location": "/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2787ms" + "X-Processing-Time": "24790ms" }, "ResponseBody": { - "capabilitiesUpdateId": "51fc746e-68b7-4de0-8394-16d50b3f20e4" + "capabilitiesUpdateId": "b3a1d3d3-c169-4e6a-882e-85d4d753e2a8" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -303,25 +302,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "217ms" + "X-Processing-Time": "114ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -336,25 +335,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "170ms" + "X-Processing-Time": "155ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_51fc746e-68b7-4de0-8394-16d50b3f20e4?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -369,25 +368,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "215ms" + "X-Processing-Time": "108ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:31:16.9535279\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -399,14 +398,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "301", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1259ms" + "X-Processing-Time": "1081ms" }, "ResponseBody": { "id": "sanitized", @@ -414,8 +413,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json index f9315b70c998..ccb691f04156 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "171ms" + "X-Processing-Time": "130ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json index bc8c79c7538c..ef41e80169f7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "267ms" + "X-Processing-Time": "122ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json index ffed27af23fc..04962fbe8daf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1256ms" + "X-Processing-Time": "1169ms" }, "ResponseBody": { "id": "sanitized", @@ -31,8 +31,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json index 0825633374f0..7093fc6a3cca 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json @@ -45,14 +45,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1753ms" + "X-Processing-Time": "1129ms" }, "ResponseBody": { "id": "sanitized", @@ -60,8 +60,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json index de76e6736565..9ada2e9c2f8c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,12 +23,12 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "206ms" + "X-Processing-Time": "125ms" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "Input phoneNumber \u002Bsanitized cannot be found.", + "message": "Input phoneNumber sanitized cannot be found.", "target": "phonenumber" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json index c9cec9067968..099e6197a499 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1487", + "Content-Length": "1539", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1720ms" + "X-Processing-Time": "1771ms" }, "ResponseBody": { "countries": [ @@ -116,6 +116,10 @@ "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Saudi Arabia", + "countryCode": "SA" + }, { "localizedName": "Singapore", "countryCode": "SG" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json index e304c122cbe1..c7dd007dba59 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "1487", + "Content-Length": "1539", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1671ms" + "X-Processing-Time": "1726ms" }, "ResponseBody": { "countries": [ @@ -145,6 +145,10 @@ "localizedName": "Puerto Rico", "countryCode": "PR" }, + { + "localizedName": "Saudi Arabia", + "countryCode": "SA" + }, { "localizedName": "Singapore", "countryCode": "SG" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json index 854f65c35916..c7d7904c97a3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "240ms" + "X-Processing-Time": "203ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2203ms" + "X-Processing-Time": "2097ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json index 966baa050379..946f3b581e75 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "240ms" + "X-Processing-Time": "229ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,6 +120,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -281,13 +288,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -309,13 +309,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -338,21 +331,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -617,13 +610,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -756,6 +742,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -785,7 +785,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2206ms" + "X-Processing-Time": "2074ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json index 7ad1f9dd8d17..9f21175410cf 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "249ms" + "X-Processing-Time": "213ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -749,47 +749,40 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10205", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "233ms" + "X-Processing-Time": "198ms" }, "ResponseBody": { "phoneNumberLocalities": [ { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Bloomington", + "localizedName": "Duluth", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Duluth", + "localizedName": "Mankato", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Mankato", + "localizedName": "Minneapolis", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Minneapolis", + "localizedName": "Plymouth", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" @@ -823,6 +816,13 @@ "abbreviatedName": "MO" } }, + { + "localizedName": "St. Charles", + "administrativeDivision": { + "localizedName": "MO", + "abbreviatedName": "MO" + } + }, { "localizedName": "St. Louis", "administrativeDivision": { @@ -1145,6 +1145,13 @@ "abbreviatedName": "PA" } }, + { + "localizedName": "New Castle", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Philadelphia", "administrativeDivision": { @@ -1159,6 +1166,13 @@ "abbreviatedName": "PA" } }, + { + "localizedName": "Scranton", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Weatherly", "administrativeDivision": { @@ -1187,13 +1201,6 @@ "abbreviatedName": "SC" } }, - { - "localizedName": "Greenville", - "administrativeDivision": { - "localizedName": "SC", - "abbreviatedName": "SC" - } - }, { "localizedName": "Sioux Falls", "administrativeDivision": { @@ -1327,6 +1334,13 @@ "abbreviatedName": "TX" } }, + { + "localizedName": "Odessa", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, { "localizedName": "San Antonio", "administrativeDivision": { @@ -1412,53 +1426,39 @@ } }, { - "localizedName": "Eau Claire", + "localizedName": "Tacoma", "administrativeDivision": { - "localizedName": "WI", - "abbreviatedName": "WI" + "localizedName": "WA", + "abbreviatedName": "WA" } }, { - "localizedName": "Green Bay", + "localizedName": "Eau Claire", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Kenosha", + "localizedName": "Green Bay", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Madison", + "localizedName": "Kenosha", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Milwaukee", + "localizedName": "Madison", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } - }, - { - "localizedName": "Charleston", - "administrativeDivision": { - "localizedName": "WV", - "abbreviatedName": "WV" - } - }, - { - "localizedName": "Laramie", - "administrativeDivision": { - "localizedName": "WY", - "abbreviatedName": "WY" - } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -1481,17 +1481,39 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "44", + "Content-Length": "345", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "230ms" + "X-Processing-Time": "200ms" }, "ResponseBody": { - "phoneNumberLocalities": [], + "phoneNumberLocalities": [ + { + "localizedName": "Milwaukee", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, + { + "localizedName": "Charleston", + "administrativeDivision": { + "localizedName": "WV", + "abbreviatedName": "WV" + } + }, + { + "localizedName": "Laramie", + "administrativeDivision": { + "localizedName": "WY", + "abbreviatedName": "WY" + } + } + ], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json index cd9c93864edd..15a195cca735 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "260ms" + "X-Processing-Time": "212ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,6 +91,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -252,13 +259,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -280,13 +280,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -309,21 +302,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -588,13 +581,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "249ms" + "X-Processing-Time": "232ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json index 86f583954564..c4c39894f08a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json @@ -15,7 +15,6 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -47,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "251ms" + "X-Processing-Time": "204ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -121,6 +120,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -282,13 +288,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -310,13 +309,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -339,21 +331,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -618,13 +610,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -757,6 +742,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -782,7 +781,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "237ms" + "X-Processing-Time": "221ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json index d5401edcb928..522c80a7b452 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10218", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "250ms" + "X-Processing-Time": "240ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,6 +120,13 @@ "abbreviatedName": "AZ" } }, + { + "localizedName": "Anaheim", + "administrativeDivision": { + "localizedName": "CA", + "abbreviatedName": "CA" + } + }, { "localizedName": "Burbank", "administrativeDivision": { @@ -281,13 +288,6 @@ "abbreviatedName": "DE" } }, - { - "localizedName": "Cape Coral", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Daytona Beach", "administrativeDivision": { @@ -309,13 +309,6 @@ "abbreviatedName": "FL" } }, - { - "localizedName": "Jacksonville", - "administrativeDivision": { - "localizedName": "FL", - "abbreviatedName": "FL" - } - }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -338,21 +331,21 @@ } }, { - "localizedName": "Sarasota", + "localizedName": "Port St Lucie", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "St. Petersburg", + "localizedName": "Sarasota", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" } }, { - "localizedName": "Tampa", + "localizedName": "Tallahassee", "administrativeDivision": { "localizedName": "FL", "abbreviatedName": "FL" @@ -617,13 +610,6 @@ "abbreviatedName": "LA" } }, - { - "localizedName": "Boston", - "administrativeDivision": { - "localizedName": "MA", - "abbreviatedName": "MA" - } - }, { "localizedName": "Chicopee", "administrativeDivision": { @@ -756,6 +742,20 @@ "localizedName": "MI", "abbreviatedName": "MI" } + }, + { + "localizedName": "Alexandria", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Bloomington", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -774,47 +774,40 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10213", + "Content-Length": "10205", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "238ms" + "X-Processing-Time": "200ms" }, "ResponseBody": { "phoneNumberLocalities": [ { - "localizedName": "Alexandria", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Bloomington", + "localizedName": "Duluth", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Duluth", + "localizedName": "Mankato", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Mankato", + "localizedName": "Minneapolis", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" } }, { - "localizedName": "Minneapolis", + "localizedName": "Plymouth", "administrativeDivision": { "localizedName": "MN", "abbreviatedName": "MN" @@ -848,6 +841,13 @@ "abbreviatedName": "MO" } }, + { + "localizedName": "St. Charles", + "administrativeDivision": { + "localizedName": "MO", + "abbreviatedName": "MO" + } + }, { "localizedName": "St. Louis", "administrativeDivision": { @@ -1170,6 +1170,13 @@ "abbreviatedName": "PA" } }, + { + "localizedName": "New Castle", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Philadelphia", "administrativeDivision": { @@ -1184,6 +1191,13 @@ "abbreviatedName": "PA" } }, + { + "localizedName": "Scranton", + "administrativeDivision": { + "localizedName": "PA", + "abbreviatedName": "PA" + } + }, { "localizedName": "Weatherly", "administrativeDivision": { @@ -1212,13 +1226,6 @@ "abbreviatedName": "SC" } }, - { - "localizedName": "Greenville", - "administrativeDivision": { - "localizedName": "SC", - "abbreviatedName": "SC" - } - }, { "localizedName": "Sioux Falls", "administrativeDivision": { @@ -1352,6 +1359,13 @@ "abbreviatedName": "TX" } }, + { + "localizedName": "Odessa", + "administrativeDivision": { + "localizedName": "TX", + "abbreviatedName": "TX" + } + }, { "localizedName": "San Antonio", "administrativeDivision": { @@ -1437,53 +1451,39 @@ } }, { - "localizedName": "Eau Claire", + "localizedName": "Tacoma", "administrativeDivision": { - "localizedName": "WI", - "abbreviatedName": "WI" + "localizedName": "WA", + "abbreviatedName": "WA" } }, { - "localizedName": "Green Bay", + "localizedName": "Eau Claire", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Kenosha", + "localizedName": "Green Bay", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Madison", + "localizedName": "Kenosha", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } }, { - "localizedName": "Milwaukee", + "localizedName": "Madison", "administrativeDivision": { "localizedName": "WI", "abbreviatedName": "WI" } - }, - { - "localizedName": "Charleston", - "administrativeDivision": { - "localizedName": "WV", - "abbreviatedName": "WV" - } - }, - { - "localizedName": "Laramie", - "administrativeDivision": { - "localizedName": "WY", - "abbreviatedName": "WY" - } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -1502,17 +1502,39 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "44", + "Content-Length": "345", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "247ms" + "X-Processing-Time": "214ms" }, "ResponseBody": { - "phoneNumberLocalities": [], + "phoneNumberLocalities": [ + { + "localizedName": "Milwaukee", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, + { + "localizedName": "Charleston", + "administrativeDivision": { + "localizedName": "WV", + "abbreviatedName": "WV" + } + }, + { + "localizedName": "Laramie", + "administrativeDivision": { + "localizedName": "WY", + "abbreviatedName": "WY" + } + } + ], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json index 1d1f7b27bdaf..e1d43dd355a4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "493ms" + "X-Processing-Time": "768ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json index fd022f6e694d..d48cd062763a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "487ms" + "X-Processing-Time": "369ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json index f2651e618e1b..9d3e39821dc6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "23239", + "Content-Length": "31580", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1868ms" + "X-Processing-Time": "1452ms" }, "ResponseBody": { "phoneNumbers": [ @@ -322,8 +322,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -798,8 +798,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -1284,6 +1284,2856 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + } + ], + "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "31841", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1345ms" + }, + "ResponseBody": { + "phoneNumbers": [ + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:12:13.538747\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:38:42.1281774\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-20T21:46:24.7072806\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:50:44.2721958\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:39:13.0650895\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-08-09T21:31:11.7335307\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:41:12.9270148\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:59:43.8702426\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:44:13.1870258\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:00:13.7898843\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:49:13.8501396\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:45:43.2412523\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:56:13.4198655\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:42:43.4785601\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:43:13.3329991\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:43:43.2644646\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:46:13.3693388\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:57:43.4206167\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:58:12.6113168\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:45:13.2256267\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:44:43.2018384\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:00:42.6467973\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:46:43.1901855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:01:43.7661054\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:02:15.3937268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:06:41.01465\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:47:43.0690696\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:07:13.6917784\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:48:12.4350945\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:48:43.1996614\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:49:13.5431092\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:50:13.1026413\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:04:13.3157268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:04:43.1035835\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:22:13.3638878\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:08:43.5413541\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:09:13.8998904\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:51:13.0475026\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:20:05.8658511\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:54:16.6134103\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:11:13.7336785\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:12:58.6058156\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:56:43.0548698\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:11:42.604465\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:57:42.5799099\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:58:11.834285\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:15:28.6354088\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:00:13.1072593\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:30:43.8919494\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:31:13.4310333\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:21:49.9674396\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:45:13.7047676\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:14:13.6220104\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:44:44.6040573\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:54:13.9619565\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:29:43.161106\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:31:14.6037399\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:31:44.5667268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:56:43.3214042\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:54:13.8504347\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:03:14.7906887\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:15:42.8004345\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:31:13.2708013\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:06:43.0334527\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:04:42.9913305\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:05:13.4188656\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:25:42.7521989\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:09:12.8370429\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:30:43.1675112\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:10:43.1221045\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:07:13.1907406\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:23:43.0592468\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:07:42.9423531\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:08:12.9812814\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:12:13.4724025\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:08:42.9989053\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:27:13.8887667\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:10:12.8329204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:11:16.1285436\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:11:43.2160866\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:28:28.4487656\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:14:43.1045845\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:30:12.1604917\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:12:43.3294475\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:29:43.4410627\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:14:13.2280446\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:19:17.7166571\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:25:43.4713207\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:08:13.3307166\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:26:13.092427\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:07:43.1286116\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:28:13.6303453\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:28:43.3758897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:03:43.893635\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:17:43.5066285\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:04:13.9066513\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:18:43.0105843\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:19:13.3153527\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-05T18:13:14.3666161\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + } + ], + "nextLink": "/phoneNumbers?skip=200\u0026top=100\u0026api-version=2023-05-01-preview" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=200\u0026top=100\u0026api-version=2023-05-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "11894", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1316ms" + }, + "ResponseBody": { + "phoneNumbers": [ + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-08T16:05:56.7000298\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-21T21:33:14.7628777\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-22T18:33:35.4149119\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-03T22:15:58.0819861\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T01:31:45.9762541\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:26:42.2419258\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:56.7009211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:29.7383571\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-20T21:27:31.7369364\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:45.0763318\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:40:14.5388708\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:38:13.7766563\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:00.1600209\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:15.9484758\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:23.3515457\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:42:13.7459585\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:42.5645252\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:59:43.6806531\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:43:42.9562291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:43:12.077177\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:55:14.1329393\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:57:13.8937202\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:44:12.4528756\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:13:13.4711145\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:46:42.2851739\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:14:15.1108491\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:49:12.0653887\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:25.0876521\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:49:42.2605522\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:50:13.2673166\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:51:13.1710277\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:14:44.8212216\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:50:43.5645432\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:23:08.4687205\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-29T22:41:40.755214\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T01:33:41.947644\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-02T10:50:53.3274521\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "GB", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "assignmentType": "application", + "purchaseDate": "2023-05-25T22:00:08.1041229\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ] } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json index bcb5bbdc7033..e33a6ad1672d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json @@ -45,14 +45,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "23239", + "Content-Length": "31580", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1374ms" + "X-Processing-Time": "1347ms" }, "ResponseBody": { "phoneNumbers": [ @@ -351,8 +351,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -827,8 +827,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:38:41.0997634\u002B00:00", @@ -1313,6 +1313,2848 @@ "currencyCode": "USD", "billingFrequency": "monthly" } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:41:58.7312966\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:39:14.5759855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:40:28.2331315\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:28:43.2865444\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:44.3267753\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:43:14.5582972\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:42.3622994\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:35:58.515204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:30:13.3981412\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:12.1300788\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:36:43.3727213\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:31:43.1246125\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:58.3886965\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:13.795794\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:33:42.3770211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:13.0593291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:44:43.2825566\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:43.3853897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:45:13.8368509\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:48:14.4930555\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:47:29.3763702\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:12.9376761\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:37:43.0423694\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:13.4190469\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:01:13.3943797\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:02:13.0024309\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + } + ], + "nextLink": "/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=100\u0026top=100\u0026api-version=2023-05-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "31841", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1374ms" + }, + "ResponseBody": { + "phoneNumbers": [ + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:18:42.3038608\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:12:13.538747\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:38:42.1281774\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-20T21:46:24.7072806\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:50:44.2721958\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:39:13.0650895\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-08-09T21:31:11.7335307\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:41:12.9270148\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:59:43.8702426\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:44:13.1870258\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:00:13.7898843\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:49:13.8501396\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:45:43.2412523\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:56:13.4198655\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:42:43.4785601\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:43:13.3329991\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:43:43.2644646\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:46:13.3693388\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:57:43.4206167\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:58:12.6113168\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:45:13.2256267\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:44:43.2018384\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:00:42.6467973\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:46:43.1901855\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:01:43.7661054\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:02:15.3937268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:06:41.01465\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:47:43.0690696\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:07:13.6917784\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:48:12.4350945\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:48:43.1996614\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:49:13.5431092\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:50:13.1026413\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:04:13.3157268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:04:43.1035835\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:22:13.3638878\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:08:43.5413541\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:09:13.8998904\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:51:13.0475026\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:20:05.8658511\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:54:16.6134103\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:11:13.7336785\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:12:58.6058156\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:56:43.0548698\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:11:42.604465\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:57:42.5799099\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:58:11.834285\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:15:28.6354088\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:00:13.1072593\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:30:43.8919494\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:31:13.4310333\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:21:49.9674396\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:45:13.7047676\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:14:13.6220104\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:44:44.6040573\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:54:13.9619565\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:29:43.161106\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:31:14.6037399\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:31:44.5667268\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:56:43.3214042\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:54:13.8504347\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:03:14.7906887\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:15:42.8004345\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:31:13.2708013\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:06:43.0334527\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:04:42.9913305\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:05:13.4188656\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:25:42.7521989\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:09:12.8370429\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:30:43.1675112\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:10:43.1221045\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:07:13.1907406\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:23:43.0592468\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:07:42.9423531\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:08:12.9812814\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:12:13.4724025\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:08:42.9989053\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:27:13.8887667\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:10:12.8329204\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:11:16.1285436\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:11:43.2160866\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:28:28.4487656\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:14:43.1045845\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:30:12.1604917\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:12:43.3294475\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T04:29:43.4410627\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:14:13.2280446\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:19:17.7166571\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:25:43.4713207\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:08:13.3307166\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:26:13.092427\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:07:43.1286116\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:28:13.6303453\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T03:28:43.3758897\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:03:43.893635\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:17:43.5066285\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T02:04:13.9066513\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:18:43.0105843\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:19:13.3153527\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-05T18:13:14.3666161\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + } + ], + "nextLink": "/phoneNumbers?skip=200\u0026top=100\u0026api-version=2023-05-01-preview" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers?skip=200\u0026top=100\u0026api-version=2023-05-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", + "Content-Length": "11894", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "1268ms" + }, + "ResponseBody": { + "phoneNumbers": [ + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-08T16:05:56.7000298\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-21T21:33:14.7628777\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-22T18:33:35.4149119\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-03T22:15:58.0819861\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T01:31:45.9762541\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "outbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:26:42.2419258\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:56.7009211\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:29.7383571\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-20T21:27:31.7369364\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:34:45.0763318\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:40:14.5388708\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:38:13.7766563\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:00.1600209\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:15.9484758\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:23.3515457\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:42:13.7459585\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:42:42.5645252\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:59:43.6806531\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:43:42.9562291\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:43:12.077177\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:55:14.1329393\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T00:57:13.8937202\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:44:12.4528756\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:13:13.4711145\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:46:42.2851739\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:14:15.1108491\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:49:12.0653887\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-07-11T02:27:25.0876521\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:49:42.2605522\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:50:13.2673166\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:51:13.1710277\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-24T01:14:44.8212216\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2021-06-23T23:50:43.5645432\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T17:23:08.4687205\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2022-12-29T22:41:40.755214\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "outbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-01-04T01:33:41.947644\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "US", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "none", + "sms": "inbound\u002Boutbound" + }, + "assignmentType": "application", + "purchaseDate": "2023-06-02T10:50:53.3274521\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } + }, + { + "id": "sanitized", + "phoneNumber": "sanitized", + "countryCode": "GB", + "phoneNumberType": "tollFree", + "capabilities": { + "calling": "inbound\u002Boutbound", + "sms": "none" + }, + "assignmentType": "application", + "purchaseDate": "2023-05-25T22:00:08.1041229\u002B00:00", + "cost": { + "amount": 2.0, + "currencyCode": "USD", + "billingFrequency": "monthly" + } } ] } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json index ee674b3467a1..c8a63fe23b17 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9918ms" + "X-Processing-Time": "9612ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json index a4362305eee0..3a098948503c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9483ms" + "X-Processing-Time": "9030ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json index 8e1a0a16dc2d..0a7cf1f8a199 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json @@ -27,15 +27,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/ef2e0c8a-ed22-4150-9ecd-77be278800d9?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/9615e4c5-1a83-4473-adcf-c7c9c0f92d4f?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_ef2e0c8a-ed22-4150-9ecd-77be278800d9", - "Operation-Location": "/phoneNumbers/operations/search_ef2e0c8a-ed22-4150-9ecd-77be278800d9?api-version=2023-05-01-preview", - "search-id": "ef2e0c8a-ed22-4150-9ecd-77be278800d9", + "operation-id": "search_9615e4c5-1a83-4473-adcf-c7c9c0f92d4f", + "Operation-Location": "/phoneNumbers/operations/search_9615e4c5-1a83-4473-adcf-c7c9c0f92d4f?api-version=2023-05-01-preview", + "search-id": "9615e4c5-1a83-4473-adcf-c7c9c0f92d4f", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "877ms" + "X-Processing-Time": "796ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json index 450f9631a2cc..698b45f56dca 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json @@ -15,7 +15,6 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -58,15 +57,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/5eac8630-44ab-4679-9852-9dc04e656e08?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/1dbb17f2-791a-4be7-8249-b8de15bae3c7?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_5eac8630-44ab-4679-9852-9dc04e656e08", - "Operation-Location": "/phoneNumbers/operations/search_5eac8630-44ab-4679-9852-9dc04e656e08?api-version=2023-05-01-preview", - "search-id": "5eac8630-44ab-4679-9852-9dc04e656e08", + "operation-id": "search_1dbb17f2-791a-4be7-8249-b8de15bae3c7", + "Operation-Location": "/phoneNumbers/operations/search_1dbb17f2-791a-4be7-8249-b8de15bae3c7?api-version=2023-05-01-preview", + "search-id": "1dbb17f2-791a-4be7-8249-b8de15bae3c7", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "5699ms" + "X-Processing-Time": "1005ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json index 4977dade77b6..00d3cd4be158 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json @@ -31,7 +31,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "81ms" + "X-Processing-Time": "12ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json index cf473b9347d6..864334d2bcb6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information.json @@ -6,7 +6,7 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "32", + "Content-Length": "31", "Content-Type": "application/json", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", @@ -15,25 +15,25 @@ }, "RequestBody": { "phoneNumbers": [ - "\u002Bsanitized" + "sanitized" ] }, "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2023-05-01-preview", - "Content-Length": "184", + "Content-Length": "183", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1090ms" + "X-Processing-Time": "21475ms" }, "ResponseBody": { "values": [ { - "phoneNumber": "\u002Bsanitized", + "phoneNumber": "sanitized", "numberType": "other", "operatorDetails": { "name": "Multiple OCN Listing", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json index 285f877df85f..924e4e59883e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json @@ -6,7 +6,7 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "46", + "Content-Length": "44", "Content-Type": "application/json", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", @@ -15,8 +15,8 @@ }, "RequestBody": { "phoneNumbers": [ - "\u002Bsanitized", - "\u002Bsanitized" + "sanitized", + "sanitized" ] }, "StatusCode": 400, @@ -29,7 +29,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "11ms" + "X-Processing-Time": "8ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json index f8fd9d993f97..d8715c1c20ab 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json @@ -16,14 +16,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1272ms" + "X-Processing-Time": "1226ms" }, "ResponseBody": { "id": "sanitized", @@ -31,8 +31,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -49,7 +49,7 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "42", + "Content-Length": "49", "Content-Type": "application/merge-patch\u002Bjson", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", "x-ms-content-sha256": "sanitized", @@ -57,32 +57,32 @@ "x-ms-return-client-request-id": "true" }, "RequestBody": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "ba5496d9-99d9-4fc2-813d-8be1f392275c", + "capabilities-id": "482ab7e9-8968-4643-b96f-9f12f6b26d1d", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c", - "Operation-Location": "/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", + "operation-id": "capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d", + "Operation-Location": "/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2424ms" + "X-Processing-Time": "2264ms" }, "ResponseBody": { - "capabilitiesUpdateId": "ba5496d9-99d9-4fc2-813d-8be1f392275c" + "capabilitiesUpdateId": "482ab7e9-8968-4643-b96f-9f12f6b26d1d" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -100,25 +100,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "232ms" + "X-Processing-Time": "114ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -136,25 +136,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "227ms" + "X-Processing-Time": "131ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ba5496d9-99d9-4fc2-813d-8be1f392275c?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -172,25 +172,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "177ms" + "X-Processing-Time": "107ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:33.5673058\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -205,14 +205,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "301", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1308ms" + "X-Processing-Time": "1146ms" }, "ResponseBody": { "id": "sanitized", @@ -220,8 +220,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json index 57029e1d7fc5..db5c8a23766c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json @@ -45,14 +45,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "301", + "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1227ms" + "X-Processing-Time": "1557ms" }, "ResponseBody": { "id": "sanitized", @@ -60,8 +60,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "outbound", - "sms": "outbound" + "calling": "inbound", + "sms": "inbound\u002Boutbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", @@ -78,37 +78,37 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "Content-Length": "49", + "Content-Length": "42", "Content-Type": "application/merge-patch\u002Bjson", "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" }, "RequestBody": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "152f6862-e9cc-40d2-84d0-88366aa302e6", + "capabilities-id": "76e78daf-43b6-4c48-b9b8-fe24b4a8145a", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6", - "Operation-Location": "/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", + "operation-id": "capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a", + "Operation-Location": "/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "24970ms" + "X-Processing-Time": "2250ms" }, "ResponseBody": { - "capabilitiesUpdateId": "152f6862-e9cc-40d2-84d0-88366aa302e6" + "capabilitiesUpdateId": "76e78daf-43b6-4c48-b9b8-fe24b4a8145a" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -122,25 +122,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "270ms" + "X-Processing-Time": "109ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -154,25 +154,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "166ms" + "X-Processing-Time": "245ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_152f6862-e9cc-40d2-84d0-88366aa302e6?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -186,25 +186,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "204ms" + "X-Processing-Time": "119ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", - "resourceLocation": "/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-07-13T20:32:43.8689096\u002B00:00", + "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/\u002Bsanitized?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -215,14 +215,14 @@ "StatusCode": 200, "ResponseHeaders": { "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Content-Length": "308", + "Content-Length": "301", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2950ms" + "X-Processing-Time": "1279ms" }, "ResponseBody": { "id": "sanitized", @@ -230,8 +230,8 @@ "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": { - "calling": "inbound", - "sms": "inbound\u002Boutbound" + "calling": "outbound", + "sms": "outbound" }, "assignmentType": "application", "purchaseDate": "2021-06-23T23:31:47.0550566\u002B00:00", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json index 98d4a67d2fbe..43d79029af00 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "172ms" + "X-Processing-Time": "102ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json index 2fa1ce372ec0..dfbb91e41705 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1196ms" + "X-Processing-Time": "121ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json index 6e41aac03df1..bba0932d1536 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk.json @@ -32,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "950ms" + "X-Processing-Time": "431ms" }, "ResponseBody": { "trunks": { @@ -73,7 +73,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "117ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json index f7350ae45947..dadfd20a2797 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_add_trunk_from_managed_identity.json @@ -239,7 +239,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "427ms" + "X-Processing-Time": "330ms" }, "ResponseBody": { "trunks": { @@ -277,7 +277,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "115ms" + "X-Processing-Time": "73ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json index 2ac3caf90eed..01f24092b688 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk.json @@ -30,7 +30,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "267ms" + "X-Processing-Time": "230ms" }, "ResponseBody": { "trunks": { @@ -65,7 +65,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "123ms" + "X-Processing-Time": "80ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json index 0f822feb21ad..16cce05f9348 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_delete_trunk_from_managed_identity.json @@ -237,7 +237,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "555ms" + "X-Processing-Time": "252ms" }, "ResponseBody": { "trunks": { @@ -269,7 +269,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "141ms" + "X-Processing-Time": "95ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json index b72f57bb931b..f2ec8b05874a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes.json @@ -35,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "207ms" + "X-Processing-Time": "149ms" }, "ResponseBody": { "trunks": { @@ -80,7 +80,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "117ms" + "X-Processing-Time": "114ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json index cae63dde386e..5b38705a7ca4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_routes_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -243,7 +242,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "343ms" + "X-Processing-Time": "340ms" }, "ResponseBody": { "trunks": { @@ -285,7 +284,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "120ms" + "X-Processing-Time": "71ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json index 4d74dade941c..f7a7c2e78146 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "71ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json index 628a7247d60a..bc95f3bbb1e0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "115ms" + "X-Processing-Time": "86ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json index 45c6608671f9..81d5517ec14f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunk_not_existing_throws.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "139ms" + "X-Processing-Time": "79ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json index 9607d9d97d0f..d742710e5b77 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "133ms" + "X-Processing-Time": "77ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json index 2aa28529d9a1..1f0a5501d12e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_get_trunks_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "644ms" + "X-Processing-Time": "71ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json index 1f436fa0233e..edb5c8f0504c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes.json @@ -35,7 +35,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "208ms" + "X-Processing-Time": "153ms" }, "ResponseBody": { "trunks": { @@ -91,7 +91,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "200ms" + "X-Processing-Time": "204ms" }, "ResponseBody": { "trunks": { @@ -136,7 +136,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "120ms" + "X-Processing-Time": "66ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json index 84014194e011..d759f2ace02e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_routes_from_managed_identity.json @@ -242,7 +242,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "202ms" + "X-Processing-Time": "210ms" }, "ResponseBody": { "trunks": { @@ -295,7 +295,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "189ms" + "X-Processing-Time": "196ms" }, "ResponseBody": { "trunks": { @@ -337,7 +337,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "121ms" + "X-Processing-Time": "78ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json index 05e5b87c03e3..ab5da43a32f7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk.json @@ -32,7 +32,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "375ms" + "X-Processing-Time": "280ms" }, "ResponseBody": { "trunks": { @@ -70,7 +70,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "79ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json index 02f7142772cc..120afb8c4b3b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunk_from_managed_identity.json @@ -190,7 +190,6 @@ "Cache-Control": "no-store, no-cache", "client-request-id": "sanitized", "Content-Length": "111", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -240,7 +239,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "324ms" + "X-Processing-Time": "267ms" }, "ResponseBody": { "trunks": { @@ -275,7 +274,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "89ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json index b7d7eb3e0ff8..8217e006055e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "115ms" + "X-Processing-Time": "76ms" }, "ResponseBody": { "trunks": { @@ -72,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1581ms" + "X-Processing-Time": "947ms" }, "ResponseBody": { "trunks": { @@ -107,7 +107,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "118ms" + "X-Processing-Time": "77ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json index 7c3fb3b047de..7f5a75425ca6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_empty_list.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "127ms" + "X-Processing-Time": "95ms" }, "ResponseBody": { "trunks": { @@ -69,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "276ms" + "X-Processing-Time": "243ms" }, "ResponseBody": { "trunks": {}, @@ -100,7 +100,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "124ms" + "X-Processing-Time": "65ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json index dc61227cf9d7..4891d0aabbcc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e.pyTestSipRoutingClientE2Etest_set_trunks_from_managed_identity.json @@ -16,7 +16,6 @@ "Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=86400, private", "Content-Length": "1564", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "P3P": "sanitized", @@ -232,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "123ms" + "X-Processing-Time": "75ms" }, "ResponseBody": { "trunks": { @@ -277,7 +276,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "630ms" + "X-Processing-Time": "418ms" }, "ResponseBody": { "trunks": { @@ -309,7 +308,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "72ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json index e32ab36beed0..0e35fef96efc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk.json @@ -31,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "445ms" + "X-Processing-Time": "325ms" }, "ResponseBody": { "trunks": { @@ -72,7 +72,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "118ms" + "X-Processing-Time": "70ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json index 41f786883ae2..8e06465581bc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_add_trunk_from_managed_identity.json @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "511ms" + "X-Processing-Time": "309ms" }, "ResponseBody": { "trunks": { @@ -98,7 +98,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "127ms" + "X-Processing-Time": "63ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json index f76fc670734b..405ffaf05952 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "279ms" + "X-Processing-Time": "246ms" }, "ResponseBody": { "trunks": { @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "124ms" + "X-Processing-Time": "73ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json index 39cb0faa07eb..da2f54d15c2b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_delete_trunk_from_managed_identity.json @@ -59,7 +59,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "268ms" + "X-Processing-Time": "234ms" }, "ResponseBody": { "trunks": { @@ -90,7 +90,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "123ms" + "X-Processing-Time": "116ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json index 11494df0fbd0..6c2bf3ada552 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes.json @@ -34,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1378ms" + "X-Processing-Time": "142ms" }, "ResponseBody": { "trunks": { @@ -79,7 +79,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "116ms" + "X-Processing-Time": "62ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json index c2e3bd086e6b..7c32051eecc9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_routes_from_managed_identity.json @@ -15,7 +15,6 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -65,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "729ms" + "X-Processing-Time": "165ms" }, "ResponseBody": { "trunks": { @@ -106,7 +105,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "531ms" + "X-Processing-Time": "78ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json index 856aa69ee738..bd6d6b2bfb53 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "148ms" + "X-Processing-Time": "77ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json index 5f24e212ca30..42142d374c4c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_from_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "151ms" + "X-Processing-Time": "59ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json index ff5cae613072..e97e5bfc4015 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunk_not_existing_throws.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "158ms" + "X-Processing-Time": "69ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json index 3795d9ab56b8..f81743971556 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "120ms" + "X-Processing-Time": "66ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json index f1ed9d33ca6b..02da04c218f5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_get_trunks_from_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "128ms" + "X-Processing-Time": "74ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json index 3d95c8a7ae6d..9ee0dbda863a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes.json @@ -34,7 +34,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1498ms" + "X-Processing-Time": "142ms" }, "ResponseBody": { "trunks": { @@ -89,7 +89,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "207ms" + "X-Processing-Time": "175ms" }, "ResponseBody": { "trunks": { @@ -134,7 +134,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "94ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json index ee5620d0cfcc..e8e9285d48d5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_routes_from_managed_identity.json @@ -64,7 +64,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "216ms" + "X-Processing-Time": "191ms" }, "ResponseBody": { "trunks": { @@ -116,7 +116,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "198ms" + "X-Processing-Time": "146ms" }, "ResponseBody": { "trunks": { @@ -157,7 +157,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "126ms" + "X-Processing-Time": "67ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json index 8db9133a4f3a..c53f528ede06 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk.json @@ -31,7 +31,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "480ms" + "X-Processing-Time": "207ms" }, "ResponseBody": { "trunks": { @@ -69,7 +69,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "84ms" + "X-Processing-Time": "60ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json index 6b5a04ba0380..ba6b686b9afa 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunk_from_managed_identity.json @@ -61,7 +61,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "211ms" + "X-Processing-Time": "236ms" }, "ResponseBody": { "trunks": { @@ -95,7 +95,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "80ms" + "X-Processing-Time": "85ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json index d8d1e0707638..2cc171b3942b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "133ms" + "X-Processing-Time": "79ms" }, "ResponseBody": { "trunks": { @@ -71,7 +71,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1234ms" + "X-Processing-Time": "852ms" }, "ResponseBody": { "trunks": { @@ -106,7 +106,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "125ms" + "X-Processing-Time": "71ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json index 6782eaad7fdf..22ba9bd7481f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_empty_list.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "124ms" + "X-Processing-Time": "76ms" }, "ResponseBody": { "trunks": { @@ -68,7 +68,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "268ms" + "X-Processing-Time": "257ms" }, "ResponseBody": { "trunks": {}, @@ -99,7 +99,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "120ms" + "X-Processing-Time": "70ms" }, "ResponseBody": { "trunks": {}, diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json index 7b9b818b9995..796e479b4106 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_sip_routing_client_e2e_async.pyTestSipRoutingClientE2EAsynctest_set_trunks_from_managed_identity.json @@ -15,7 +15,6 @@ "ResponseHeaders": { "Cache-Control": "no-store, no-cache", "Content-Length": "92", - "Content-Security-Policy-Report-Only": "sanitized", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Expires": "-1", @@ -54,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "74ms" }, "ResponseBody": { "trunks": { @@ -98,7 +97,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "682ms" + "X-Processing-Time": "424ms" }, "ResponseBody": { "trunks": { @@ -129,7 +128,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "124ms" + "X-Processing-Time": "75ms" }, "ResponseBody": { "trunks": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py index c17aab50a08c..caba588818d3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_operations.py @@ -54,4 +54,5 @@ def test_build_phone_numbers_operator_information_search_request(): assert isinstance(request, HttpRequest) assert request.method == "POST" + assert "operatorInformation/:search" in request.url assert request.headers["Accept"] == "application/json" \ No newline at end of file From f1549849466d0d7e58654456eeab700267e77b40 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 3 Aug 2023 14:52:54 -0700 Subject: [PATCH 09/16] fix linting error --- .../azure/communication/phonenumbers/_phone_numbers_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py index 274126b97bd7..cdcaca0c4ccb 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py @@ -439,6 +439,7 @@ def search_operator_information( :param phone_numbers: The phone number(s) whose operator information should be searched :type phone_numbers: str or list(str) + :return: A search result containing operator information associated with the requested phone numbers :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult """ if not isinstance(phone_numbers, list): From 7a956d68979b46e1200fea70bbeb5ae6d5c97d07 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 3 Aug 2023 15:43:26 -0700 Subject: [PATCH 10/16] fix lint errors and test for async --- .../aio/_phone_numbers_client_async.py | 13 ++++++++++--- ...est_phone_number_administration_client_async.py | 14 +++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py index c5951b779f3e..8035a09787cf 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/aio/_phone_numbers_client_async.py @@ -4,7 +4,7 @@ # license information. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING, Union +from typing import TYPE_CHECKING, List, cast, Union from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async from .._generated.aio._client import PhoneNumbersClient as PhoneNumbersClientGen @@ -37,6 +37,10 @@ PurchasedPhoneNumber, ) +PhoneNumberSearchType = Union[ + str, + List[str], +] class PhoneNumbersClient(object): """A client to interact with the AzureCommunicationService Phone Numbers gateway. @@ -424,16 +428,19 @@ def list_available_area_codes( @distributed_trace def search_operator_information( self, - phone_numbers, # type: list(str) + phone_numbers, # type: PhoneNumberSearchType **kwargs # type: Any ): # type: (...) -> OperatorInformationResult """Searches for operator information for a given list of phone numbers. :param phone_numbers: The phone number(s) whose operator information should be searched - :type phone_numbers: list(str) + :type phone_numbers: str or list(str) + :return: A search result containing operator information associated with the requested phone numbers :rtype: ~azure.communication.phonenumbers.models.OperatorInformationResult """ + if not isinstance(phone_numbers, list): + phone_numbers = cast(PhoneNumberSearchType, [ phone_numbers ]) request = OperatorInformationRequest(phone_numbers = phone_numbers) return self._phone_number_client.phone_numbers.operator_information_search( request, diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py index 99567fffe95d..96113384dfc5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py @@ -470,7 +470,7 @@ async def test_search_operator_information_with_too_many_phone_numbers(self): assert ex.value.message is not None # type: ignore @recorded_by_proxy_async - async def test_search_operator_information(self): + async def test_search_operator_information_with_list(self): if self.is_playback(): phone_number = "sanitized" else: @@ -480,3 +480,15 @@ async def test_search_operator_information(self): results = await self.phone_number_client.search_operator_information([ phone_number ]) assert len(results.values) == 1 assert results.values[0].phone_number == self.phone_number + + @recorded_by_proxy_async + async def test_search_operator_information_with_single_string(self): + if self.is_playback(): + phone_number = "sanitized" + else: + phone_number = self.phone_number + + async with self.phone_number_client: + results = await self.phone_number_client.search_operator_information(phone_number) + assert len(results.values) == 1 + assert results.values[0].phone_number == self.phone_number From 8393fae860697bd1d3e9fa3ebada28e75dc05c07 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 3 Aug 2023 15:54:17 -0700 Subject: [PATCH 11/16] update test recordings --- ...Clienttest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 2 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...PhoneNumbersClienttest_list_countries.json | 2 +- ..._list_countries_from_managed_identity.json | 2 +- ...Clienttest_list_geographic_area_codes.json | 48 +++---- ...phic_area_codes_from_managed_identity.json | 48 +++---- ...honeNumbersClienttest_list_localities.json | 46 +++---- ...list_localities_from_managed_identity.json | 46 +++---- ...ersClienttest_list_localities_with_ad.json | 48 +++---- ...alities_with_ad_from_managed_identity.json | 48 +++---- ...PhoneNumbersClienttest_list_offerings.json | 2 +- ..._list_offerings_from_managed_identity.json | 2 +- ...ienttest_list_purchased_phone_numbers.json | 2 +- ...d_phone_numbers_from_managed_identity.json | 2 +- ...sClienttest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_from_managed_identity.json | 2 +- ...nttest_search_available_phone_numbers.json | 38 +++--- ...e_phone_numbers_from_managed_identity.json | 38 +++--- ...one_numbers_with_invalid_country_code.json | 2 +- ...search_operator_information_with_list.json | 2 +- ...erator_information_with_single_string.json | 2 +- ...formation_with_too_many_phone_numbers.json | 2 +- ...test_update_phone_number_capabilities.json | 32 ++--- ...er_capabilities_from_managed_identity.json | 32 ++--- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...tAsynctest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 2 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...NumbersClientAsynctest_list_countries.json | 2 +- ..._list_countries_with_managed_identity.json | 2 +- ...tAsynctest_list_geographic_area_codes.json | 48 +++---- ...phic_area_codes_with_managed_identity.json | 48 +++---- ...umbersClientAsynctest_list_localities.json | 120 +++++++----------- ...ientAsynctest_list_localities_with_ad.json | 48 +++---- ...calities_with_ad_and_managed_identity.json | 48 +++---- ...list_localities_with_managed_identity.json | 120 +++++++----------- ...NumbersClientAsynctest_list_offerings.json | 2 +- ..._list_offerings_with_managed_identity.json | 2 +- ...synctest_list_purchased_phone_numbers.json | 6 +- ...d_phone_numbers_from_managed_identity.json | 6 +- ...ntAsynctest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_with_managed_identity.json | 2 +- ...nctest_search_available_phone_numbers.json | 10 +- ...e_phone_numbers_from_managed_identity.json | 10 +- ...one_numbers_with_invalid_country_code.json | 2 +- ...search_operator_information_with_list.json | 50 ++++++++ ...erator_information_with_single_string.json | 50 ++++++++ ...formation_with_too_many_phone_numbers.json | 2 +- ...test_update_phone_number_capabilities.json | 32 ++--- ...er_capabilities_from_managed_identity.json | 32 ++--- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- 54 files changed, 584 insertions(+), 528 deletions(-) create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json create mode 100644 sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json index ea6b8c76cb37..7a9a26f173dd 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1112ms" + "X-Processing-Time": "1266ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json index e3ba90718d6c..3f7927ee875f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1171ms" + "X-Processing-Time": "1294ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json index a6c505049e96..12c65eeaf0d4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "130ms" + "X-Processing-Time": "190ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json index c5e79a9f7447..e48900cb248c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1984ms" + "X-Processing-Time": "2359ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json index 4191d740ad57..d6e38ca48fbc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1832ms" + "X-Processing-Time": "2185ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json index 5186e4d09bc7..6488bc48114e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "208ms" + "X-Processing-Time": "279ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2091ms" + "X-Processing-Time": "2253ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json index 76705eb7522a..381e44e7e8a7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json @@ -224,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "216ms" + "X-Processing-Time": "287ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +298,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -354,13 +347,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -487,6 +473,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -886,13 +879,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -934,6 +920,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -963,7 +963,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2184ms" + "X-Processing-Time": "2271ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json index 77bd31751358..316a50350635 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "217ms" + "X-Processing-Time": "290ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json index 8f301e5a14fa..f74af89b2b01 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json @@ -224,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "219ms" + "X-Processing-Time": "300ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +298,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -354,13 +347,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -487,6 +473,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -886,13 +879,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -934,6 +920,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json index 216e0141ce36..969d01560a18 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "214ms" + "X-Processing-Time": "271ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "195ms" + "X-Processing-Time": "291ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json index 8bdac44ef2c6..7bd675e8eb1b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json @@ -224,14 +224,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "208ms" + "X-Processing-Time": "269ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -298,13 +298,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -354,13 +347,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -487,6 +473,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -886,13 +879,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -934,6 +920,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -960,7 +960,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "218ms" + "X-Processing-Time": "279ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json index 888a6faf25b7..42327578d220 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "422ms" + "X-Processing-Time": "532ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json index 0ddc954e1970..cbd29609a27f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "422ms" + "X-Processing-Time": "511ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json index a12ba6ec2983..5667390b24bc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1329ms" + "X-Processing-Time": "1695ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json index 504bebfeb22e..c2b6cce9787a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1695ms" + "X-Processing-Time": "2420ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json index db5f844a332e..6086a9805657 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "8937ms" + "X-Processing-Time": "9630ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json index 97c9c1f3c9f5..6232c9c4bf42 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9021ms" + "X-Processing-Time": "9405ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json index 13666994645f..b5ebc5d28100 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json @@ -28,20 +28,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", - "Operation-Location": "/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", - "search-id": "7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", + "operation-id": "search_5603d02b-60e9-431c-86c6-0e33dc9f6acf", + "Operation-Location": "/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "search-id": "5603d02b-60e9-431c-86c6-0e33dc9f6acf", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1109ms" + "X-Processing-Time": "921ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -59,25 +59,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "280ms" + "X-Processing-Time": "259ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:02.365251\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T22:45:47.0232795\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -95,25 +95,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "201ms" + "X-Processing-Time": "272ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:02.365251\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T22:45:47.0232795\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -135,10 +135,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "354ms" + "X-Processing-Time": "472ms" }, "ResponseBody": { - "searchId": "7b98c1f9-2ae8-43f3-8d1f-9c43b9d68803", + "searchId": "5603d02b-60e9-431c-86c6-0e33dc9f6acf", "phoneNumbers": [ "sanitized" ], @@ -153,7 +153,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-08-03T18:13:04.0727135\u002B00:00", + "searchExpiresBy": "2023-08-03T23:01:49.0616712\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json index a09904583b4c..b55f59271b01 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json @@ -235,20 +235,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_071bd893-a4b1-4196-b85e-0649937b7f18", - "Operation-Location": "/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", - "search-id": "071bd893-a4b1-4196-b85e-0649937b7f18", + "operation-id": "search_1c2b3208-c138-493c-ad0c-d099be495426", + "Operation-Location": "/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "search-id": "1c2b3208-c138-493c-ad0c-d099be495426", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "908ms" + "X-Processing-Time": "1297ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -263,25 +263,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "230ms" + "X-Processing-Time": "280ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:56:58.2207275\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T22:45:42.4554435\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -296,25 +296,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "212ms" + "X-Processing-Time": "277ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:56:58.2207275\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-03T22:45:42.4554435\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/071bd893-a4b1-4196-b85e-0649937b7f18?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -333,10 +333,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "402ms" + "X-Processing-Time": "487ms" }, "ResponseBody": { - "searchId": "071bd893-a4b1-4196-b85e-0649937b7f18", + "searchId": "1c2b3208-c138-493c-ad0c-d099be495426", "phoneNumbers": [ "sanitized" ], @@ -351,7 +351,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-08-03T18:13:00.0124677\u002B00:00", + "searchExpiresBy": "2023-08-03T23:01:45.3314961\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json index 61b5fc30f668..30e971e7ac6a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json @@ -32,7 +32,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "14ms" + "X-Processing-Time": "12ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json index 72aefb096d5b..a47f0ab6dd8a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "498ms" + "X-Processing-Time": "1128ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json index fadac49d0e1e..38766e985d6d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "173ms" + "X-Processing-Time": "371ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json index b99eb7f2d47a..cef9babd16a4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json @@ -30,7 +30,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "29ms" + "X-Processing-Time": "7ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json index f4c64978f665..acb401e0f4cb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1083ms" + "X-Processing-Time": "1234ms" }, "ResponseBody": { "id": "sanitized", @@ -65,25 +65,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "7d582825-72bb-4e24-8e96-2eec9ea5c50b", + "capabilities-id": "88112a9d-d68e-4f6d-ae6f-587614c93baf", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b", - "Operation-Location": "/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", + "operation-id": "capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf", + "Operation-Location": "/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2230ms" + "X-Processing-Time": "2497ms" }, "ResponseBody": { - "capabilitiesUpdateId": "7d582825-72bb-4e24-8e96-2eec9ea5c50b" + "capabilitiesUpdateId": "88112a9d-d68e-4f6d-ae6f-587614c93baf" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -107,19 +107,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "111ms" + "X-Processing-Time": "176ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", + "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -143,19 +143,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "187ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", + "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7d582825-72bb-4e24-8e96-2eec9ea5c50b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -179,13 +179,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "113ms" + "X-Processing-Time": "182ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:41.6845839\u002B00:00", + "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -213,7 +213,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1079ms" + "X-Processing-Time": "1192ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json index 5e8108383e33..8db92de2f615 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1129ms" + "X-Processing-Time": "1186ms" }, "ResponseBody": { "id": "sanitized", @@ -269,25 +269,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "b3a1d3d3-c169-4e6a-882e-85d4d753e2a8", + "capabilities-id": "ad501512-fd3c-4178-ba8f-c716d3ce494b", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8", - "Operation-Location": "/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", + "operation-id": "capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b", + "Operation-Location": "/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "24790ms" + "X-Processing-Time": "2434ms" }, "ResponseBody": { - "capabilitiesUpdateId": "b3a1d3d3-c169-4e6a-882e-85d4d753e2a8" + "capabilitiesUpdateId": "ad501512-fd3c-4178-ba8f-c716d3ce494b" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -308,19 +308,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "114ms" + "X-Processing-Time": "169ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", + "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -341,19 +341,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "155ms" + "X-Processing-Time": "202ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", + "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_b3a1d3d3-c169-4e6a-882e-85d4d753e2a8?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -374,13 +374,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "108ms" + "X-Processing-Time": "170ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:57:09.7711802\u002B00:00", + "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -405,7 +405,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1081ms" + "X-Processing-Time": "1194ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json index ccb691f04156..6aeeb8cffcc7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "130ms" + "X-Processing-Time": "161ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json index ef41e80169f7..38b54a034136 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "180ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json index 04962fbe8daf..61047c64873b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1169ms" + "X-Processing-Time": "1228ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json index 7093fc6a3cca..fca9d01ff9f6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1129ms" + "X-Processing-Time": "1247ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json index 9ada2e9c2f8c..9db8521a12fb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "125ms" + "X-Processing-Time": "192ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json index 099e6197a499..1ddb5b19449c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1771ms" + "X-Processing-Time": "2415ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json index c7dd007dba59..5ffd3ef7e2b5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1726ms" + "X-Processing-Time": "2811ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json index c7d7904c97a3..ee6e5f709c25 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "203ms" + "X-Processing-Time": "312ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2097ms" + "X-Processing-Time": "2250ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json index 946f3b581e75..086f2042db76 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "229ms" + "X-Processing-Time": "455ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +120,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -176,13 +169,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -309,6 +295,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -708,13 +701,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -756,6 +742,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -785,7 +785,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2074ms" + "X-Processing-Time": "2241ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json index 9f21175410cf..eca26b179be6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "213ms" + "X-Processing-Time": "306ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -749,31 +749,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10205", + "Content-Length": "10210", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "198ms" + "X-Processing-Time": "300ms" }, "ResponseBody": { "phoneNumberLocalities": [ - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, { "localizedName": "Minneapolis", "administrativeDivision": { @@ -781,13 +767,6 @@ "abbreviatedName": "MN" } }, - { - "localizedName": "Plymouth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, { "localizedName": "St. Paul", "administrativeDivision": { @@ -1459,6 +1438,27 @@ "localizedName": "WI", "abbreviatedName": "WI" } + }, + { + "localizedName": "Milwaukee", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, + { + "localizedName": "Charleston", + "administrativeDivision": { + "localizedName": "WV", + "abbreviatedName": "WV" + } + }, + { + "localizedName": "Laramie", + "administrativeDivision": { + "localizedName": "WY", + "abbreviatedName": "WY" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -1481,39 +1481,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "345", + "Content-Length": "44", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "200ms" + "X-Processing-Time": "309ms" }, "ResponseBody": { - "phoneNumberLocalities": [ - { - "localizedName": "Milwaukee", - "administrativeDivision": { - "localizedName": "WI", - "abbreviatedName": "WI" - } - }, - { - "localizedName": "Charleston", - "administrativeDivision": { - "localizedName": "WV", - "abbreviatedName": "WV" - } - }, - { - "localizedName": "Laramie", - "administrativeDivision": { - "localizedName": "WY", - "abbreviatedName": "WY" - } - } - ], + "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json index 15a195cca735..58f1a0bdd108 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json @@ -17,14 +17,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "212ms" + "X-Processing-Time": "284ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -91,13 +91,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -147,13 +140,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -280,6 +266,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -679,13 +672,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -727,6 +713,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "232ms" + "X-Processing-Time": "310ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json index c4c39894f08a..6e895ad887ef 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "204ms" + "X-Processing-Time": "302ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +120,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -176,13 +169,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -309,6 +295,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -708,13 +701,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -756,6 +742,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -781,7 +781,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "221ms" + "X-Processing-Time": "585ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json index 522c80a7b452..749459d4ee7c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json @@ -46,14 +46,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10218", + "Content-Length": "10222", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "240ms" + "X-Processing-Time": "429ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -120,13 +120,6 @@ "abbreviatedName": "AZ" } }, - { - "localizedName": "Anaheim", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "Burbank", "administrativeDivision": { @@ -176,13 +169,6 @@ "abbreviatedName": "CA" } }, - { - "localizedName": "Salinas", - "administrativeDivision": { - "localizedName": "CA", - "abbreviatedName": "CA" - } - }, { "localizedName": "San Diego", "administrativeDivision": { @@ -309,6 +295,13 @@ "abbreviatedName": "FL" } }, + { + "localizedName": "Jacksonville", + "administrativeDivision": { + "localizedName": "FL", + "abbreviatedName": "FL" + } + }, { "localizedName": "Lakeland", "administrativeDivision": { @@ -708,13 +701,6 @@ "abbreviatedName": "MI" } }, - { - "localizedName": "Pontiac", - "administrativeDivision": { - "localizedName": "MI", - "abbreviatedName": "MI" - } - }, { "localizedName": "Saginaw", "administrativeDivision": { @@ -756,6 +742,20 @@ "localizedName": "MN", "abbreviatedName": "MN" } + }, + { + "localizedName": "Duluth", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } + }, + { + "localizedName": "Mankato", + "administrativeDivision": { + "localizedName": "MN", + "abbreviatedName": "MN" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=100\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -774,31 +774,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10205", + "Content-Length": "10210", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "200ms" + "X-Processing-Time": "293ms" }, "ResponseBody": { "phoneNumberLocalities": [ - { - "localizedName": "Duluth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, - { - "localizedName": "Mankato", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, { "localizedName": "Minneapolis", "administrativeDivision": { @@ -806,13 +792,6 @@ "abbreviatedName": "MN" } }, - { - "localizedName": "Plymouth", - "administrativeDivision": { - "localizedName": "MN", - "abbreviatedName": "MN" - } - }, { "localizedName": "St. Paul", "administrativeDivision": { @@ -1484,6 +1463,27 @@ "localizedName": "WI", "abbreviatedName": "WI" } + }, + { + "localizedName": "Milwaukee", + "administrativeDivision": { + "localizedName": "WI", + "abbreviatedName": "WI" + } + }, + { + "localizedName": "Charleston", + "administrativeDivision": { + "localizedName": "WV", + "abbreviatedName": "WV" + } + }, + { + "localizedName": "Laramie", + "administrativeDivision": { + "localizedName": "WY", + "abbreviatedName": "WY" + } } ], "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" @@ -1502,39 +1502,17 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "345", + "Content-Length": "44", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "214ms" + "X-Processing-Time": "301ms" }, "ResponseBody": { - "phoneNumberLocalities": [ - { - "localizedName": "Milwaukee", - "administrativeDivision": { - "localizedName": "WI", - "abbreviatedName": "WI" - } - }, - { - "localizedName": "Charleston", - "administrativeDivision": { - "localizedName": "WV", - "abbreviatedName": "WV" - } - }, - { - "localizedName": "Laramie", - "administrativeDivision": { - "localizedName": "WY", - "abbreviatedName": "WY" - } - } - ], + "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json index e1d43dd355a4..edff5b63a292 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "768ms" + "X-Processing-Time": "604ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json index d48cd062763a..f76570a88b30 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "369ms" + "X-Processing-Time": "570ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json index 9d3e39821dc6..c13402fbdb69 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1452ms" + "X-Processing-Time": "1647ms" }, "ResponseBody": { "phoneNumbers": [ @@ -1754,7 +1754,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1345ms" + "X-Processing-Time": "1794ms" }, "ResponseBody": { "phoneNumbers": [ @@ -3485,7 +3485,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1316ms" + "X-Processing-Time": "1371ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json index e33a6ad1672d..d3a9eb2d8d77 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1347ms" + "X-Processing-Time": "1620ms" }, "ResponseBody": { "phoneNumbers": [ @@ -1779,7 +1779,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1374ms" + "X-Processing-Time": "1567ms" }, "ResponseBody": { "phoneNumbers": [ @@ -3506,7 +3506,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1268ms" + "X-Processing-Time": "1450ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json index c8a63fe23b17..cb92d354267a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9612ms" + "X-Processing-Time": "9942ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json index 3a098948503c..e31cc7ad8a89 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9030ms" + "X-Processing-Time": "9113ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json index 0a7cf1f8a199..5ae806cd354d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json @@ -27,15 +27,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/9615e4c5-1a83-4473-adcf-c7c9c0f92d4f?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_9615e4c5-1a83-4473-adcf-c7c9c0f92d4f", - "Operation-Location": "/phoneNumbers/operations/search_9615e4c5-1a83-4473-adcf-c7c9c0f92d4f?api-version=2023-05-01-preview", - "search-id": "9615e4c5-1a83-4473-adcf-c7c9c0f92d4f", + "operation-id": "search_efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602", + "Operation-Location": "/phoneNumbers/operations/search_efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602?api-version=2023-05-01-preview", + "search-id": "efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "796ms" + "X-Processing-Time": "935ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json index 698b45f56dca..52c1b844ce98 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json @@ -57,15 +57,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/1dbb17f2-791a-4be7-8249-b8de15bae3c7?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/a7140bfe-d472-4d78-af73-8f35659c7296?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_1dbb17f2-791a-4be7-8249-b8de15bae3c7", - "Operation-Location": "/phoneNumbers/operations/search_1dbb17f2-791a-4be7-8249-b8de15bae3c7?api-version=2023-05-01-preview", - "search-id": "1dbb17f2-791a-4be7-8249-b8de15bae3c7", + "operation-id": "search_a7140bfe-d472-4d78-af73-8f35659c7296", + "Operation-Location": "/phoneNumbers/operations/search_a7140bfe-d472-4d78-af73-8f35659c7296?api-version=2023-05-01-preview", + "search-id": "a7140bfe-d472-4d78-af73-8f35659c7296", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1005ms" + "X-Processing-Time": "1160ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json index 00d3cd4be158..5ddcdec090ef 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json @@ -31,7 +31,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "12ms" + "X-Processing-Time": "13ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json new file mode 100644 index 000000000000..68ed3dd7aa94 --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json @@ -0,0 +1,50 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "sanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "183", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "22191ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "sanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json new file mode 100644 index 000000000000..7f5b18adc67a --- /dev/null +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json @@ -0,0 +1,50 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/operatorInformation/:search?api-version=2023-05-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "phoneNumbers": [ + "sanitized" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2023-05-01-preview", + "Content-Length": "183", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "X-Processing-Time": "317ms" + }, + "ResponseBody": { + "values": [ + { + "phoneNumber": "sanitized", + "numberType": "other", + "operatorDetails": { + "name": "Multiple OCN Listing", + "mobileNetworkCode": null, + "mobileCountryCode": null + }, + "isoCountryCode": "US" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json index 924e4e59883e..272380e98402 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_too_many_phone_numbers.json @@ -29,7 +29,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "8ms" + "X-Processing-Time": "7ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json index d8715c1c20ab..a0be6607484c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1226ms" + "X-Processing-Time": "1240ms" }, "ResponseBody": { "id": "sanitized", @@ -64,25 +64,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "482ab7e9-8968-4643-b96f-9f12f6b26d1d", + "capabilities-id": "93c3036d-334b-47b9-ad6d-79439fbf405f", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d", - "Operation-Location": "/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", + "operation-id": "capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f", + "Operation-Location": "/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2264ms" + "X-Processing-Time": "2400ms" }, "ResponseBody": { - "capabilitiesUpdateId": "482ab7e9-8968-4643-b96f-9f12f6b26d1d" + "capabilitiesUpdateId": "93c3036d-334b-47b9-ad6d-79439fbf405f" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -106,19 +106,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "114ms" + "X-Processing-Time": "203ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", + "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -142,19 +142,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "131ms" + "X-Processing-Time": "183ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", + "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_482ab7e9-8968-4643-b96f-9f12f6b26d1d?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -178,13 +178,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "107ms" + "X-Processing-Time": "167ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:39.4463361\u002B00:00", + "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -212,7 +212,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1146ms" + "X-Processing-Time": "1219ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json index db5c8a23766c..bef2688c387e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1557ms" + "X-Processing-Time": "1227ms" }, "ResponseBody": { "id": "sanitized", @@ -90,25 +90,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "76e78daf-43b6-4c48-b9b8-fe24b4a8145a", + "capabilities-id": "000efd8b-c719-4f06-b8ed-5d99cc5dbd49", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a", - "Operation-Location": "/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", + "operation-id": "capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49", + "Operation-Location": "/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2250ms" + "X-Processing-Time": "2657ms" }, "ResponseBody": { - "capabilitiesUpdateId": "76e78daf-43b6-4c48-b9b8-fe24b4a8145a" + "capabilitiesUpdateId": "000efd8b-c719-4f06-b8ed-5d99cc5dbd49" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -128,19 +128,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "109ms" + "X-Processing-Time": "178ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", + "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -160,19 +160,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "245ms" + "X-Processing-Time": "165ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", + "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_76e78daf-43b6-4c48-b9b8-fe24b4a8145a?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -192,13 +192,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "162ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T17:58:49.5326062\u002B00:00", + "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -222,7 +222,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1279ms" + "X-Processing-Time": "1290ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json index 43d79029af00..5d284e738b6d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_invalid_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "102ms" + "X-Processing-Time": "164ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json index dfbb91e41705..093268262457 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "121ms" + "X-Processing-Time": "182ms" }, "ResponseBody": { "error": { From 1ba99b3485c71939281c6f063006589b536a243a Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Thu, 3 Aug 2023 21:00:48 -0700 Subject: [PATCH 12/16] update changelog, minor fixes to tests, and update to the recordings --- .../CHANGELOG.md | 2 +- ...Clienttest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 2 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...PhoneNumbersClienttest_list_countries.json | 2 +- ..._list_countries_from_managed_identity.json | 2 +- ...Clienttest_list_geographic_area_codes.json | 4 +- ...phic_area_codes_from_managed_identity.json | 4 +- ...honeNumbersClienttest_list_localities.json | 2 +- ...list_localities_from_managed_identity.json | 2 +- ...ersClienttest_list_localities_with_ad.json | 4 +- ...alities_with_ad_from_managed_identity.json | 4 +- ...PhoneNumbersClienttest_list_offerings.json | 2 +- ..._list_offerings_from_managed_identity.json | 2 +- ...ienttest_list_purchased_phone_numbers.json | 2 +- ...d_phone_numbers_from_managed_identity.json | 2 +- ...sClienttest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_from_managed_identity.json | 2 +- ...nttest_search_available_phone_numbers.json | 38 ++++++++-------- ...e_phone_numbers_from_managed_identity.json | 38 ++++++++-------- ...one_numbers_with_invalid_country_code.json | 2 +- ...search_operator_information_with_list.json | 2 +- ...erator_information_with_single_string.json | 2 +- ...formation_with_too_many_phone_numbers.json | 2 +- ...test_update_phone_number_capabilities.json | 32 +++++++------- ...er_capabilities_from_managed_identity.json | 32 +++++++------- ...mber_capabilities_with_invalid_number.json | 2 +- ...capabilities_with_unauthorized_number.json | 2 +- ...tAsynctest_get_purchased_phone_number.json | 2 +- ...ed_phone_number_from_managed_identity.json | 2 +- ...hone_number_with_invalid_phone_number.json | 2 +- ...NumbersClientAsynctest_list_countries.json | 2 +- ..._list_countries_with_managed_identity.json | 2 +- ...tAsynctest_list_geographic_area_codes.json | 4 +- ...phic_area_codes_with_managed_identity.json | 4 +- ...umbersClientAsynctest_list_localities.json | 44 ++----------------- ...ientAsynctest_list_localities_with_ad.json | 4 +- ...calities_with_ad_and_managed_identity.json | 4 +- ...list_localities_with_managed_identity.json | 40 ++--------------- ...NumbersClientAsynctest_list_offerings.json | 2 +- ..._list_offerings_with_managed_identity.json | 2 +- ...synctest_list_purchased_phone_numbers.json | 6 +-- ...d_phone_numbers_from_managed_identity.json | 6 +-- ...ntAsynctest_list_toll_free_area_codes.json | 2 +- ...free_area_codes_with_managed_identity.json | 2 +- ...nctest_search_available_phone_numbers.json | 10 ++--- ...e_phone_numbers_from_managed_identity.json | 10 ++--- ...one_numbers_with_invalid_country_code.json | 2 +- ...search_operator_information_with_list.json | 2 +- ...erator_information_with_single_string.json | 2 +- ...test_update_phone_number_capabilities.json | 32 +++++++------- ...er_capabilities_from_managed_identity.json | 32 +++++++------- ...capabilities_with_unauthorized_number.json | 2 +- ...hone_number_administration_client_async.py | 4 +- 54 files changed, 175 insertions(+), 247 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index f55ad54b0d29..53ead1fdc1da 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.1.1 (Unreleased) +## 1.2.0b1 (Unreleased) ### Features Added - Number Lookup API public preview diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json index 7a9a26f173dd..8ac18052adaa 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1266ms" + "X-Processing-Time": "981ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json index 3f7927ee875f..40df85df2089 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1294ms" + "X-Processing-Time": "980ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json index 12c65eeaf0d4..57dcc90140c2 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "190ms" + "X-Processing-Time": "182ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json index e48900cb248c..bc1eeb268c7d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2359ms" + "X-Processing-Time": "1944ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json index d6e38ca48fbc..11f9cb499343 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_countries_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2185ms" + "X-Processing-Time": "1847ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json index 6488bc48114e..f1d7a5f3b5c7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "279ms" + "X-Processing-Time": "226ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2253ms" + "X-Processing-Time": "1590ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json index 381e44e7e8a7..31cf9650b815 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_geographic_area_codes_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "287ms" + "X-Processing-Time": "242ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -963,7 +963,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2271ms" + "X-Processing-Time": "1590ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json index 316a50350635..8e6cc4e5eef0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "290ms" + "X-Processing-Time": "224ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json index f74af89b2b01..82d34d323e2f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "300ms" + "X-Processing-Time": "232ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json index 969d01560a18..d72b304a7ae4 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "271ms" + "X-Processing-Time": "231ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "291ms" + "X-Processing-Time": "956ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json index 7bd675e8eb1b..515fc0437205 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_localities_with_ad_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "269ms" + "X-Processing-Time": "222ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -960,7 +960,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "279ms" + "X-Processing-Time": "220ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json index 42327578d220..c9a4560a3dbb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "532ms" + "X-Processing-Time": "692ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json index cbd29609a27f..99393d4576da 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_offerings_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "511ms" + "X-Processing-Time": "778ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json index 5667390b24bc..31092896de32 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1695ms" + "X-Processing-Time": "1400ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json index c2b6cce9787a..2b2a25c238bb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_purchased_phone_numbers_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2420ms" + "X-Processing-Time": "2440ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json index 6086a9805657..a8ba9acd8cf5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9630ms" + "X-Processing-Time": "6420ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json index 6232c9c4bf42..61f51ad02a03 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_list_toll_free_area_codes_from_managed_identity.json @@ -231,7 +231,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9405ms" + "X-Processing-Time": "6168ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json index b5ebc5d28100..891fd250c11a 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers.json @@ -28,20 +28,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_5603d02b-60e9-431c-86c6-0e33dc9f6acf", - "Operation-Location": "/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", - "search-id": "5603d02b-60e9-431c-86c6-0e33dc9f6acf", + "operation-id": "search_6f1f9d2a-0a54-4c05-ae02-650fb064a6eb", + "Operation-Location": "/phoneNumbers/operations/search_6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", + "search-id": "6f1f9d2a-0a54-4c05-ae02-650fb064a6eb", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "921ms" + "X-Processing-Time": "1553ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -59,25 +59,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "259ms" + "X-Processing-Time": "340ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:47.0232795\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-04T03:53:42.4516646\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -95,25 +95,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "272ms" + "X-Processing-Time": "264ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:47.0232795\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-04T03:53:42.4516646\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/5603d02b-60e9-431c-86c6-0e33dc9f6acf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/6f1f9d2a-0a54-4c05-ae02-650fb064a6eb?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -135,10 +135,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "472ms" + "X-Processing-Time": "455ms" }, "ResponseBody": { - "searchId": "5603d02b-60e9-431c-86c6-0e33dc9f6acf", + "searchId": "6f1f9d2a-0a54-4c05-ae02-650fb064a6eb", "phoneNumbers": [ "sanitized" ], @@ -153,7 +153,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-08-03T23:01:49.0616712\u002B00:00", + "searchExpiresBy": "2023-08-04T04:09:44.5989225\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json index b55f59271b01..d5be56473b91 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_from_managed_identity.json @@ -235,20 +235,20 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_1c2b3208-c138-493c-ad0c-d099be495426", - "Operation-Location": "/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", - "search-id": "1c2b3208-c138-493c-ad0c-d099be495426", + "operation-id": "search_b3c50320-6241-4f5d-857c-ca04f99feca9", + "Operation-Location": "/phoneNumbers/operations/search_b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", + "search-id": "b3c50320-6241-4f5d-857c-ca04f99feca9", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1297ms" + "X-Processing-Time": "1452ms" }, "ResponseBody": null }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -263,25 +263,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "280ms" + "X-Processing-Time": "298ms" }, "ResponseBody": { "operationType": "search", "status": "notStarted", - "resourceLocation": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:42.4554435\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-04T03:53:37.3098463\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/search_b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -296,25 +296,25 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-11-15-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "277ms" + "X-Processing-Time": "406ms" }, "ResponseBody": { "operationType": "search", "status": "succeeded", - "resourceLocation": "/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:42.4554435\u002B00:00", + "resourceLocation": "/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", + "createdDateTime": "2023-08-04T03:53:37.3098463\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/1c2b3208-c138-493c-ad0c-d099be495426?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/b3c50320-6241-4f5d-857c-ca04f99feca9?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -333,10 +333,10 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "487ms" + "X-Processing-Time": "573ms" }, "ResponseBody": { - "searchId": "1c2b3208-c138-493c-ad0c-d099be495426", + "searchId": "b3c50320-6241-4f5d-857c-ca04f99feca9", "phoneNumbers": [ "sanitized" ], @@ -351,7 +351,7 @@ "currencyCode": "USD", "billingFrequency": "monthly" }, - "searchExpiresBy": "2023-08-03T23:01:45.3314961\u002B00:00", + "searchExpiresBy": "2023-08-04T04:09:39.1687779\u002B00:00", "error": "NoError" } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json index 30e971e7ac6a..d050bb30445e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_available_phone_numbers_with_invalid_country_code.json @@ -32,7 +32,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "12ms" + "X-Processing-Time": "11ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json index a47f0ab6dd8a..47a23a2a4fdc 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_list.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1128ms" + "X-Processing-Time": "1245ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json index 38766e985d6d..8d37bd8fb48f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_single_string.json @@ -29,7 +29,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "371ms" + "X-Processing-Time": "327ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json index cef9babd16a4..363ec731cc64 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_search_operator_information_with_too_many_phone_numbers.json @@ -30,7 +30,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "7ms" + "X-Processing-Time": "8ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json index acb401e0f4cb..68f69b72c748 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1234ms" + "X-Processing-Time": "1021ms" }, "ResponseBody": { "id": "sanitized", @@ -65,25 +65,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "88112a9d-d68e-4f6d-ae6f-587614c93baf", + "capabilities-id": "7375a542-3f69-4846-8642-814df947b76d", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf", - "Operation-Location": "/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", + "operation-id": "capabilities_7375a542-3f69-4846-8642-814df947b76d", + "Operation-Location": "/phoneNumbers/operations/capabilities_7375a542-3f69-4846-8642-814df947b76d?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2497ms" + "X-Processing-Time": "2266ms" }, "ResponseBody": { - "capabilitiesUpdateId": "88112a9d-d68e-4f6d-ae6f-587614c93baf" + "capabilitiesUpdateId": "7375a542-3f69-4846-8642-814df947b76d" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7375a542-3f69-4846-8642-814df947b76d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -107,19 +107,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "176ms" + "X-Processing-Time": "163ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", + "createdDateTime": "2023-08-04T03:53:58.486498\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7375a542-3f69-4846-8642-814df947b76d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -143,19 +143,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "187ms" + "X-Processing-Time": "148ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", + "createdDateTime": "2023-08-04T03:53:58.486498\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_88112a9d-d68e-4f6d-ae6f-587614c93baf?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_7375a542-3f69-4846-8642-814df947b76d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -179,13 +179,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "182ms" + "X-Processing-Time": "156ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:46:05.0388606\u002B00:00", + "createdDateTime": "2023-08-04T03:53:58.486498\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -213,7 +213,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1192ms" + "X-Processing-Time": "986ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json index 8db92de2f615..f674408895a2 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_from_managed_identity.json @@ -230,7 +230,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1186ms" + "X-Processing-Time": "994ms" }, "ResponseBody": { "id": "sanitized", @@ -269,25 +269,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "ad501512-fd3c-4178-ba8f-c716d3ce494b", + "capabilities-id": "230dcab8-8f07-4bf1-a28d-f41d1aefa8ff", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b", - "Operation-Location": "/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", + "operation-id": "capabilities_230dcab8-8f07-4bf1-a28d-f41d1aefa8ff", + "Operation-Location": "/phoneNumbers/operations/capabilities_230dcab8-8f07-4bf1-a28d-f41d1aefa8ff?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2434ms" + "X-Processing-Time": "1848ms" }, "ResponseBody": { - "capabilitiesUpdateId": "ad501512-fd3c-4178-ba8f-c716d3ce494b" + "capabilitiesUpdateId": "230dcab8-8f07-4bf1-a28d-f41d1aefa8ff" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_230dcab8-8f07-4bf1-a28d-f41d1aefa8ff?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -308,19 +308,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "169ms" + "X-Processing-Time": "301ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", + "createdDateTime": "2023-08-04T03:53:48.9742723\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_230dcab8-8f07-4bf1-a28d-f41d1aefa8ff?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -341,19 +341,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "202ms" + "X-Processing-Time": "146ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", + "createdDateTime": "2023-08-04T03:53:48.9742723\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_ad501512-fd3c-4178-ba8f-c716d3ce494b?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_230dcab8-8f07-4bf1-a28d-f41d1aefa8ff?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -374,13 +374,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "170ms" + "X-Processing-Time": "174ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:45:54.716741\u002B00:00", + "createdDateTime": "2023-08-04T03:53:48.9742723\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -405,7 +405,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1194ms" + "X-Processing-Time": "1185ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json index 6aeeb8cffcc7..cfb1979f8d9d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_invalid_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "161ms" + "X-Processing-Time": "127ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json index 38b54a034136..cdb14f3edde5 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.pyTestPhoneNumbersClienttest_update_phone_number_capabilities_with_unauthorized_number.json @@ -28,7 +28,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "180ms" + "X-Processing-Time": "194ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json index 61047c64873b..62fa8459b987 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1228ms" + "X-Processing-Time": "1237ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json index fca9d01ff9f6..024cc07f490d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1247ms" + "X-Processing-Time": "1249ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json index 9db8521a12fb..6122978fa4ca 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_get_purchased_phone_number_with_invalid_phone_number.json @@ -23,7 +23,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "192ms" + "X-Processing-Time": "183ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json index 1ddb5b19449c..c256eb333934 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2415ms" + "X-Processing-Time": "2058ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json index 5ffd3ef7e2b5..ccfe4a1b3978 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_countries_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2811ms" + "X-Processing-Time": "2083ms" }, "ResponseBody": { "countries": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json index ee6e5f709c25..07a8842d7696 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "312ms" + "X-Processing-Time": "291ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2250ms" + "X-Processing-Time": "2234ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json index 086f2042db76..35c627a4d912 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_geographic_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "455ms" + "X-Processing-Time": "295ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -785,7 +785,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2241ms" + "X-Processing-Time": "2356ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json index eca26b179be6..cd000f25fac0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "306ms" + "X-Processing-Time": "279ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -749,14 +749,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10210", + "Content-Length": "10012", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "300ms" + "X-Processing-Time": "265ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -977,13 +977,6 @@ "abbreviatedName": "NV" } }, - { - "localizedName": "Albany", - "administrativeDivision": { - "localizedName": "NY", - "abbreviatedName": "NY" - } - }, { "localizedName": "Brentwood", "administrativeDivision": { @@ -1461,37 +1454,6 @@ } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Content-Length": "0", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)", - "x-ms-content-sha256": "sanitized", - "x-ms-date": "sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "44", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "309ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json index 58f1a0bdd108..f199d7a37a0c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "284ms" + "X-Processing-Time": "266ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -756,7 +756,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "310ms" + "X-Processing-Time": "258ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json index 6e895ad887ef..76856e2067d9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_ad_and_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "302ms" + "X-Processing-Time": "435ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -781,7 +781,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "585ms" + "X-Processing-Time": "724ms" }, "ResponseBody": { "phoneNumberLocalities": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json index 749459d4ee7c..f9b5654ac27e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_localities_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "429ms" + "X-Processing-Time": "301ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -774,14 +774,14 @@ "ResponseHeaders": { "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "10210", + "Content-Length": "10012", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "MS-CV": "sanitized", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "293ms" + "X-Processing-Time": "281ms" }, "ResponseBody": { "phoneNumberLocalities": [ @@ -1002,13 +1002,6 @@ "abbreviatedName": "NV" } }, - { - "localizedName": "Albany", - "administrativeDivision": { - "localizedName": "NY", - "abbreviatedName": "NY" - } - }, { "localizedName": "Brentwood", "administrativeDivision": { @@ -1486,33 +1479,6 @@ } } ], - "nextLink": "/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/localities?skip=200\u0026api-version=2023-05-01-preview\u0026maxPageSize=100", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "User-Agent": "azsdk-python-communication-phonenumbers/1.1.1 Python/3.9.13 (Windows-10-10.0.22621-SP0)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "Cache-Control": "max-age=21600, private, stale-while-revalidate=86400", - "Content-Length": "44", - "Content-Type": "application/json; charset=utf-8", - "Date": "sanitized", - "MS-CV": "sanitized", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "sanitized", - "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "301ms" - }, - "ResponseBody": { - "phoneNumberLocalities": [], "nextLink": null } } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json index edff5b63a292..1c82ab6a0f19 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "604ms" + "X-Processing-Time": "480ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json index f76570a88b30..8951ada8ffe6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_offerings_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "570ms" + "X-Processing-Time": "532ms" }, "ResponseBody": { "phoneNumberOfferings": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json index c13402fbdb69..1a813e226351 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1647ms" + "X-Processing-Time": "1462ms" }, "ResponseBody": { "phoneNumbers": [ @@ -1754,7 +1754,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1794ms" + "X-Processing-Time": "1879ms" }, "ResponseBody": { "phoneNumbers": [ @@ -3485,7 +3485,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1371ms" + "X-Processing-Time": "1562ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json index d3a9eb2d8d77..a6116063b431 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_purchased_phone_numbers_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1620ms" + "X-Processing-Time": "1719ms" }, "ResponseBody": { "phoneNumbers": [ @@ -1779,7 +1779,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1567ms" + "X-Processing-Time": "1762ms" }, "ResponseBody": { "phoneNumbers": [ @@ -3506,7 +3506,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1450ms" + "X-Processing-Time": "1381ms" }, "ResponseBody": { "phoneNumbers": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json index cb92d354267a..ca75116c4094 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes.json @@ -24,7 +24,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9942ms" + "X-Processing-Time": "9396ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json index e31cc7ad8a89..c84ba2874627 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_list_toll_free_area_codes_with_managed_identity.json @@ -53,7 +53,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "9113ms" + "X-Processing-Time": "9200ms" }, "ResponseBody": { "areaCodes": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json index 5ae806cd354d..078ca59103af 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers.json @@ -27,15 +27,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/3b409287-faf3-4c97-b67f-f6b65ffd8532?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602", - "Operation-Location": "/phoneNumbers/operations/search_efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602?api-version=2023-05-01-preview", - "search-id": "efc1a7aa-c7ff-4a25-8dc5-fe1d6b74f602", + "operation-id": "search_3b409287-faf3-4c97-b67f-f6b65ffd8532", + "Operation-Location": "/phoneNumbers/operations/search_3b409287-faf3-4c97-b67f-f6b65ffd8532?api-version=2023-05-01-preview", + "search-id": "3b409287-faf3-4c97-b67f-f6b65ffd8532", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "935ms" + "X-Processing-Time": "869ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json index 52c1b844ce98..d22a2ad638a9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_from_managed_identity.json @@ -57,15 +57,15 @@ "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", "Content-Length": "0", "Date": "sanitized", - "Location": "/availablePhoneNumbers/searchResults/a7140bfe-d472-4d78-af73-8f35659c7296?api-version=2023-05-01-preview", + "Location": "/availablePhoneNumbers/searchResults/0d421180-cd16-4338-b726-f391b50ea4cd?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "search_a7140bfe-d472-4d78-af73-8f35659c7296", - "Operation-Location": "/phoneNumbers/operations/search_a7140bfe-d472-4d78-af73-8f35659c7296?api-version=2023-05-01-preview", - "search-id": "a7140bfe-d472-4d78-af73-8f35659c7296", + "operation-id": "search_0d421180-cd16-4338-b726-f391b50ea4cd", + "Operation-Location": "/phoneNumbers/operations/search_0d421180-cd16-4338-b726-f391b50ea4cd?api-version=2023-05-01-preview", + "search-id": "0d421180-cd16-4338-b726-f391b50ea4cd", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1160ms" + "X-Processing-Time": "1140ms" }, "ResponseBody": null } diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json index 5ddcdec090ef..00d3cd4be158 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_available_phone_numbers_with_invalid_country_code.json @@ -31,7 +31,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "13ms" + "X-Processing-Time": "12ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json index 68ed3dd7aa94..857f3b7122a3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_list.json @@ -28,7 +28,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "22191ms" + "X-Processing-Time": "865ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json index 7f5b18adc67a..7dac702e28d9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_search_operator_information_with_single_string.json @@ -28,7 +28,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "317ms" + "X-Processing-Time": "343ms" }, "ResponseBody": { "values": [ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json index a0be6607484c..faa5bf1d2bc9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities.json @@ -23,7 +23,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1240ms" + "X-Processing-Time": "1206ms" }, "ResponseBody": { "id": "sanitized", @@ -64,25 +64,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "93c3036d-334b-47b9-ad6d-79439fbf405f", + "capabilities-id": "c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f", - "Operation-Location": "/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", + "operation-id": "capabilities_c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685", + "Operation-Location": "/phoneNumbers/operations/capabilities_c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2400ms" + "X-Processing-Time": "2386ms" }, "ResponseBody": { - "capabilitiesUpdateId": "93c3036d-334b-47b9-ad6d-79439fbf405f" + "capabilitiesUpdateId": "c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -106,19 +106,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "203ms" + "X-Processing-Time": "177ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", + "createdDateTime": "2023-08-04T03:54:52.5267367\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -142,19 +142,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "183ms" + "X-Processing-Time": "176ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", + "createdDateTime": "2023-08-04T03:54:52.5267367\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_93c3036d-334b-47b9-ad6d-79439fbf405f?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_c5ecf39a-c3e5-4a1f-b1b1-bca2253e9685?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -178,13 +178,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "167ms" + "X-Processing-Time": "164ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:09.8653033\u002B00:00", + "createdDateTime": "2023-08-04T03:54:52.5267367\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -212,7 +212,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1219ms" + "X-Processing-Time": "1220ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json index bef2688c387e..d06dce1102a6 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_from_managed_identity.json @@ -52,7 +52,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1227ms" + "X-Processing-Time": "1231ms" }, "ResponseBody": { "id": "sanitized", @@ -90,25 +90,25 @@ "ResponseHeaders": { "Access-Control-Expose-Headers": "Operation-Location,Location,operation-id,capabilities-id", "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview, 2022-12-01, 2022-12-02-preview2, 2023-05-01-preview", - "capabilities-id": "000efd8b-c719-4f06-b8ed-5d99cc5dbd49", + "capabilities-id": "dad7adaa-6ca1-4ab2-b66f-fe67869f678d", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "Date": "sanitized", "Location": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", "MS-CV": "sanitized", - "operation-id": "capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49", - "Operation-Location": "/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", + "operation-id": "capabilities_dad7adaa-6ca1-4ab2-b66f-fe67869f678d", + "Operation-Location": "/phoneNumbers/operations/capabilities_dad7adaa-6ca1-4ab2-b66f-fe67869f678d?api-version=2023-05-01-preview", "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "2657ms" + "X-Processing-Time": "2394ms" }, "ResponseBody": { - "capabilitiesUpdateId": "000efd8b-c719-4f06-b8ed-5d99cc5dbd49" + "capabilitiesUpdateId": "dad7adaa-6ca1-4ab2-b66f-fe67869f678d" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_dad7adaa-6ca1-4ab2-b66f-fe67869f678d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -128,19 +128,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "178ms" + "X-Processing-Time": "165ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", + "createdDateTime": "2023-08-04T03:55:02.3954685\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_dad7adaa-6ca1-4ab2-b66f-fe67869f678d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -160,19 +160,19 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "165ms" + "X-Processing-Time": "183ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "running", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", + "createdDateTime": "2023-08-04T03:55:02.3954685\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } }, { - "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_000efd8b-c719-4f06-b8ed-5d99cc5dbd49?api-version=2023-05-01-preview", + "RequestUri": "https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_dad7adaa-6ca1-4ab2-b66f-fe67869f678d?api-version=2023-05-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", @@ -192,13 +192,13 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "162ms" + "X-Processing-Time": "168ms" }, "ResponseBody": { "operationType": "updatePhoneNumberCapabilities", "status": "succeeded", "resourceLocation": "/phoneNumbers/sanitized?api-version=2023-05-01-preview", - "createdDateTime": "2023-08-03T22:47:20.2427386\u002B00:00", + "createdDateTime": "2023-08-04T03:55:02.3954685\u002B00:00", "id": "sanitized", "lastActionDateTime": "0001-01-01T00:00:00\u002B00:00" } @@ -222,7 +222,7 @@ "Strict-Transport-Security": "max-age=2592000", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1290ms" + "X-Processing-Time": "1235ms" }, "ResponseBody": { "id": "sanitized", diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json index 093268262457..b4fbfe9f9669 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.pyTestPhoneNumbersClientAsynctest_update_phone_number_capabilities_with_unauthorized_number.json @@ -27,7 +27,7 @@ "Transfer-Encoding": "chunked", "X-Azure-Ref": "sanitized", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "182ms" + "X-Processing-Time": "171ms" }, "ResponseBody": { "error": { diff --git a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py index 96113384dfc5..0351194fbc75 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py +++ b/sdk/communication/azure-communication-phonenumbers/test/test_phone_number_administration_client_async.py @@ -122,7 +122,7 @@ async def test_search_available_phone_numbers_from_managed_identity(self): capabilities, polling=True ) - # assert poller.result() + assert poller.result() @pytest.mark.skipif(SKIP_INT_PHONE_NUMBER_TESTS, reason=INT_PHONE_NUMBER_TEST_SKIP_REASON) @recorded_by_proxy_async @@ -139,7 +139,7 @@ async def test_search_available_phone_numbers(self): capabilities, polling=True ) - # assert poller.result() + assert poller.result() @pytest.mark.skipif(SKIP_INT_PHONE_NUMBER_TESTS, reason=INT_PHONE_NUMBER_TEST_SKIP_REASON) @pytest.mark.skipif(SKIP_UPDATE_CAPABILITIES_TESTS, reason=SKIP_UPDATE_CAPABILITIES_TESTS_REASON) From 18033e20a602f2491e637e0f957abe8a20e3df18 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Fri, 4 Aug 2023 10:53:59 -0700 Subject: [PATCH 13/16] update version in changelog to beta version --- sdk/communication/azure-communication-phonenumbers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index 53ead1fdc1da..b217eb862591 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.2.0b1 (Unreleased) +## 1.1.1b0 (2023-08-04) ### Features Added - Number Lookup API public preview From 92754da2014c0395ed0571efe23dde356b57a10c Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Fri, 4 Aug 2023 12:08:02 -0700 Subject: [PATCH 14/16] update version --- sdk/communication/azure-communication-phonenumbers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index b217eb862591..2de5000991e0 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.1.1b0 (2023-08-04) +## 1.1.0b1 (2023-08-04) ### Features Added - Number Lookup API public preview From 3c083767e50357d0857cac6253e9f3c639543286 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Fri, 4 Aug 2023 13:35:47 -0700 Subject: [PATCH 15/16] update changelog --- .../azure-communication-phonenumbers/CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index 2de5000991e0..17fae1fd9b74 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -1,11 +1,16 @@ # Release History -## 1.1.0b1 (2023-08-04) +## 1.2.0b1 (2023-08-04) ### Features Added - Number Lookup API public preview - API version `2023-05-01-preview` is the default +## 1.1.1 (Unreleased) + +### Other Changes +- placeholder version + ## 1.1.0 (2023-03-28) ### Features Added From e299ea3f27acd885a8b1d6f6b648a04228738795 Mon Sep 17 00:00:00 2001 From: Erica Sponsler Date: Fri, 4 Aug 2023 13:43:56 -0700 Subject: [PATCH 16/16] update changelog --- .../azure-communication-phonenumbers/CHANGELOG.md | 5 ----- .../azure/communication/phonenumbers/_version.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index 17fae1fd9b74..3356f8d1d994 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -6,11 +6,6 @@ - Number Lookup API public preview - API version `2023-05-01-preview` is the default -## 1.1.1 (Unreleased) - -### Other Changes -- placeholder version - ## 1.1.0 (2023-03-28) ### Features Added diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py index c7ec790f1ffa..17e508edb0c2 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py @@ -4,6 +4,6 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.1.1" +VERSION = "1.2.0b1" SDK_MONIKER = "communication-phonenumbers/{}".format(VERSION) # type: str