From 7d9ae38abae6c9c45534c7903e37232bbc050b39 Mon Sep 17 00:00:00 2001 From: Kieran Brantner-Magee Date: Mon, 8 Jun 2020 00:28:50 -0700 Subject: [PATCH 01/21] Since resource names can be programmatically constructed, add scrubber at base preparer level so as to ensure recordings get the real resource name swapped out with a consistent moniker. --- .../src/azure_devtools/scenario_tests/preparers.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py index 420167d9deff..7989974021be 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py @@ -126,6 +126,12 @@ def _preparer_wrapper(test_class_instance, **kwargs): _logger.debug("Storing cached resource for %s", self.__class__.__name__) AbstractPreparer._resource_cache[aggregate_cache_key] = AbstractPreparer.ResourceCacheEntry(resource_name, kwargs, self) + if self.is_live: + test_class_instance.scrubber.register_name_pair( + resource_name, + self.resource_moniker + ) + # We shouldn't trim the same kwargs that we use for deletion, # we may remove some of the variables we needed to do the delete. trimmed_kwargs = {k:v for k,v in kwargs.items()} From 63179c306f62ef9ca7ed0b9bf9631d9e08be66b6 Mon Sep 17 00:00:00 2001 From: Kieran Brantner-Magee Date: Mon, 8 Jun 2020 18:45:33 -0700 Subject: [PATCH 02/21] In CI (but not locally) self.test_class_instance was not set before _preparer_wrapper is called, and thus self.is_live was failing. Since we have the test_class_instance, let's just use that. --- .../src/azure_devtools/scenario_tests/preparers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py index 7989974021be..36f8c8d11039 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py @@ -126,7 +126,7 @@ def _preparer_wrapper(test_class_instance, **kwargs): _logger.debug("Storing cached resource for %s", self.__class__.__name__) AbstractPreparer._resource_cache[aggregate_cache_key] = AbstractPreparer.ResourceCacheEntry(resource_name, kwargs, self) - if self.is_live: + if test_class_instance.is_live: test_class_instance.scrubber.register_name_pair( resource_name, self.resource_moniker From 3d31d367f82c3b32468d99deb2a6dbff9b598665 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Wed, 24 Jun 2020 23:26:35 -0700 Subject: [PATCH 03/21] Merge SB management client to central repo dev branch (#12205) --- .../aio => aio/management}/__init__.py | 0 .../management/_management_client_async.py | 875 +++++++++ .../management}/_shared_key_policy_async.py | 0 .../azure/servicebus/aio/management/_utils.py | 46 + .../azure/servicebus/management/__init__.py | 19 +- .../azure/servicebus/management/_constants.py | 1 + .../_service_bus_management_client.py | 23 +- .../_service_bus_management_client_async.py | 23 +- .../aio/operations_async/__init__.py | 10 +- ...s_async.py => _entity_operations_async.py} | 48 +- .../_namespace_operations_async.py | 94 + .../_rule_operations_async.py | 263 +++ ..._bus_management_client_operations_async.py | 140 ++ .../_subscription_operations_async.py | 251 +++ .../management/_generated/models/__init__.py | 94 +- .../management/_generated/models/_models.py | 1567 +++++++++++++---- .../_generated/models/_models_py3.py | 1526 +++++++++++++--- .../_service_bus_management_client_enums.py | 20 +- .../_generated/operations/__init__.py | 10 +- ...ue_operations.py => _entity_operations.py} | 48 +- .../operations/_namespace_operations.py | 99 ++ .../_generated/operations/_rule_operations.py | 270 +++ ...ervice_bus_management_client_operations.py | 142 ++ .../operations/_subscription_operations.py | 257 +++ .../management/_handle_response_error.py | 18 + .../management/_management_client.py | 797 +++++++-- .../management/_model_workaround.py | 96 +- .../azure/servicebus/management/_models.py | 659 ++++++- .../azure/servicebus/management/_utils.py | 46 + .../management/_xml_workaround_policy.py | 37 + .../aio/_management_client_async.py | 287 --- .../azure-servicebus/swagger/README.md | 4 +- .../generate_attributes_sequence_tuple.py | 33 + 33 files changed, 6593 insertions(+), 1210 deletions(-) rename sdk/servicebus/azure-servicebus/azure/servicebus/{management/aio => aio/management}/__init__.py (100%) create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py rename sdk/servicebus/azure-servicebus/azure/servicebus/{management/aio => aio/management}/_shared_key_policy_async.py (100%) create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py rename sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/{_queue_operations_async.py => _entity_operations_async.py} (87%) create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_namespace_operations_async.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_rule_operations_async.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_subscription_operations_async.py rename sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/{_queue_operations.py => _entity_operations.py} (87%) create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_namespace_operations.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_rule_operations.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py create mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py delete mode 100644 sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_management_client_async.py create mode 100644 sdk/servicebus/azure-servicebus/swagger/generate_attributes_sequence_tuple.py diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/__init__.py similarity index 100% rename from sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/__init__.py rename to sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/__init__.py diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py new file mode 100644 index 000000000000..2a4f42505cbc --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -0,0 +1,875 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +import functools +from copy import copy +from typing import TYPE_CHECKING, Dict, Any, Union, List, cast, Tuple +from xml.etree.ElementTree import ElementTree, Element + +import six +from azure.core.async_paging import AsyncItemPaged +from azure.servicebus.aio.management._utils import extract_data_template, get_next_template +from azure.servicebus.management._model_workaround import avoid_timedelta_overflow +from msrest.exceptions import ValidationError +from azure.core.exceptions import raise_with_traceback, ResourceNotFoundError +from azure.core.pipeline import AsyncPipeline +from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ + RequestIdPolicy, AsyncBearerTokenCredentialPolicy +from azure.core.pipeline.transport import AioHttpTransport + +from ...management._generated.models import QueueDescriptionFeed, TopicDescriptionEntry, \ + QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ + RuleDescriptionFeed, NamespacePropertiesEntry, CreateTopicBody, CreateTopicBodyContent, \ + TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ + CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ + QueueDescription as InternalQueueDescription, TopicDescription as InternalTopicDescription, \ + SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription + +from ..._common.utils import parse_conn_str +from ..._common.constants import JWT_TOKEN_SCOPE +from ...aio._base_handler_async import ServiceBusSharedKeyCredential +from ...management._generated.aio._configuration_async import ServiceBusManagementClientConfiguration +from ...management._generated.aio._service_bus_management_client_async import ServiceBusManagementClient \ + as ServiceBusManagementClientImpl +from ...management import _constants as constants +from ._shared_key_policy_async import AsyncServiceBusSharedKeyCredentialPolicy +from ...management._models import QueueRuntimeInfo, QueueDescription, TopicDescription, TopicRuntimeInfo, \ + SubscriptionDescription, SubscriptionRuntimeInfo, RuleDescription +from ...management._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy +from ...management._handle_response_error import _handle_response_error + + +if TYPE_CHECKING: + from azure.core.credentials_async import AsyncTokenCredential # pylint:disable=ungrouped-imports + + +class ServiceBusManagementClient: + """Use this client to create, update, list, and delete resources of a ServiceBus namespace. + + :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. + :param credential: To authenticate to manage the entities of the ServiceBus namespace. + :type credential: Union[TokenCredential, ServiceBusSharedKeyCredential] + """ + + def __init__(self, fully_qualified_namespace, credential, **kwargs): + # type: (str, Union[AsyncTokenCredential, ServiceBusSharedKeyCredential], Dict[str, Any]) -> None + + self.fully_qualified_namespace = fully_qualified_namespace + self._credential = credential + self._endpoint = "https://" + fully_qualified_namespace + self._config = ServiceBusManagementClientConfiguration(self._endpoint, **kwargs) + self._pipeline = self._build_pipeline() + self._impl = ServiceBusManagementClientImpl(endpoint=fully_qualified_namespace, pipeline=self._pipeline) + + async def __aenter__(self) -> "ServiceBusManagementClient": + await self._impl.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._impl.__aexit__(*exc_details) + + def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use + transport = kwargs.get('transport') + policies = kwargs.get('policies') + credential_policy = \ + AsyncServiceBusSharedKeyCredentialPolicy(self._endpoint, self._credential, "Authorization") \ + if isinstance(self._credential, ServiceBusSharedKeyCredential) \ + else AsyncBearerTokenCredentialPolicy(self._credential, JWT_TOKEN_SCOPE) + if policies is None: # [] is a valid policy list + policies = [ + RequestIdPolicy(**kwargs), + self._config.headers_policy, + self._config.user_agent_policy, + self._config.proxy_policy, + ContentDecodePolicy(**kwargs), + ServiceBusXMLWorkaroundPolicy(), + self._config.redirect_policy, + self._config.retry_policy, + credential_policy, + self._config.logging_policy, + DistributedTracingPolicy(**kwargs), + HttpLoggingPolicy(**kwargs), + ] + if not transport: + transport = AioHttpTransport(**kwargs) + return AsyncPipeline(transport, policies) + + @classmethod + def from_connection_string(cls, conn_str, **kwargs): + # type: (str, Any) -> ServiceBusManagementClient + """Create a client from connection string. + + :param str conn_str: The connection string of the Service Bus Namespace. + :rtype: ~azure.servicebus.management.aio.ServiceBusManagementClient + """ + endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) + if "//" in endpoint: + endpoint = endpoint[endpoint.index("//")+2:] + return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) + + async def _get_entity_element(self, entity_name, enrich=False, **kwargs): + # type: (str, bool, Any) -> ElementTree + + with _handle_response_error(): + element = cast( + ElementTree, + await self._impl.entity.get(entity_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) + ) + return element + + async def _get_subscription_element(self, topic_name, subscription_name, enrich=False, **kwargs): + # type: (str, str, bool, Any) -> ElementTree + + with _handle_response_error(): + element = cast( + ElementTree, + await self._impl.subscription.get(topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) + ) + return element + + async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): + # type: (str, str, str, Any) -> ElementTree + + with _handle_response_error(): + element = cast( + ElementTree, + await self._impl.rule.get(topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) + ) + return element + + async def get_queue(self, queue_name, **kwargs): + # type: (str, Any) -> QueueDescription + """Get a QueueDescription. + + :param str queue_name: The name of the queue. + :rtype: ~azure.servicebus.management.QueueDescription + """ + entry_ele = await self._get_entity_element(queue_name, **kwargs) + entry = QueueDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) + queue_description = QueueDescription._from_internal_entity(entry.content.queue_description) + queue_description.name = queue_name + return queue_description + + async def get_queue_runtime_info(self, queue_name, **kwargs): + # type: (str, Any) -> QueueRuntimeInfo + """Get the runtime information of a queue. + + :param str queue_name: The name of the queue. + :rtype: ~azure.servicebus.management.QueueRuntimeInfo + """ + entry_ele = await self._get_entity_element(queue_name, **kwargs) + entry = QueueDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) + runtime_info = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) + runtime_info.name = queue_name + return runtime_info + + async def create_queue(self, queue, **kwargs): + # type: (Union[str, QueueDescription], Any) -> QueueDescription + """Create a queue. + + :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name + of the created queue. Other properties of the created queue will have async default values decided by the + ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. + :type queue: Union[str, ~azure.servicebus.management.QueueDescription] + :rtype: ~azure.servicebus.management.QueueDescription + """ + try: + queue_name = queue.name # type: ignore + to_create = queue._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError: + queue_name = queue # type: ignore + to_create = InternalQueueDescription() # Use an empty queue description. + + create_entity_body = CreateQueueBody( + content=CreateQueueBodyContent( + queue_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + try: + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.entity.put( + queue_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + if isinstance(queue, (six.string_types, QueueDescription)): + raise_with_traceback( + ValueError, + message="queue must be a non-empty str or a QueueDescription with non-empty str name") + raise_with_traceback( + TypeError, + message="queue must be a non-empty str or a QueueDescription with non-empty str name") + + entry = QueueDescriptionEntry.deserialize(entry_ele) + result = QueueDescription._from_internal_entity(entry.content.queue_description) + result.name = queue_name + return result + + async def update_queue(self, queue_description, **kwargs): + # type: (QueueDescription, Any) -> None + """Update a queue. + + :param queue_description: The properties of this `QueueDescription` will be applied to the queue in + ServiceBus. Only a portion of properties can be updated. + Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. + :type queue_description: ~azure.servicebus.management.QueueDescription + :keyword timedelta async default_message_time_to_live + :keyword timedelta lock_duration + :keyword bool dead_lettering_on_message_expiration + :keyword timedelta duplicate_detection_history_time_window + :keyword int max_delivery_count + :rtype: ~azure.servicebus.management.QueueDescription + """ + + # TODO: validate whether a queue_description has enough information + + if not isinstance(queue_description, QueueDescription): + raise TypeError("queue_description must be of type QueueDescription") + + internal_description = queue_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = kwargs.get( + "async default_message_time_to_live") or queue_description.default_message_time_to_live + to_update.lock_duration = kwargs.get("lock_duration") or queue_description.lock_duration + to_update.dead_lettering_on_message_expiration = kwargs.get( + "dead_lettering_on_message_expiration") or queue_description.dead_lettering_on_message_expiration + to_update.duplicate_detection_history_time_window = kwargs.get( + "duplicate_detection_history_time_window") or queue_description.duplicate_detection_history_time_window + to_update.max_delivery_count = kwargs.get("max_delivery_count") or queue_description.max_delivery_count + + to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) + to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) + + create_entity_body = CreateQueueBody( + content=CreateQueueBodyContent( + queue_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + try: + await self._impl.entity.put( + queue_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + raise_with_traceback( + ValueError, + message="queue_description must be a QueueDescription with valid fields, " + "including non-empty string name") + + async def delete_queue(self, queue, **kwargs): + # type: (Union[str, QueueDescription], Any) -> None + """Delete a queue. + + :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue. + :rtype: None + """ + try: + queue_name = queue.name + except AttributeError: + queue_name = queue + if not queue_name: + raise ValueError("queue_name must not be None or empty") + with _handle_response_error(): + await self._impl.entity.delete(queue_name, api_version=constants.API_VERSION, **kwargs) + + def list_queues(self, **kwargs): + # type: (Any) -> AsyncItemPaged[QueueDescription] + """List the queues of a ServiceBus namespace. + + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] + """ + + def entry_to_qd(entry): + qd = QueueDescription._from_internal_entity(entry.content.queue_description) + qd.name = entry.title + return qd + + extract_data = functools.partial( + extract_data_template, QueueDescriptionFeed, entry_to_qd + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_QUEUES), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + def list_queues_runtime_info(self, **kwargs): + # type: (Any) -> AsyncItemPaged[QueueRuntimeInfo] + """List the runtime info of the queues in a ServiceBus namespace. + + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] + """ + + def entry_to_qr(entry): + qd = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) + qd.name = entry.title + return qd + + extract_data = functools.partial( + extract_data_template, QueueDescriptionFeed, entry_to_qr + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_QUEUES), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + async def get_topic(self, topic_name, **kwargs): + # type: (str, Any) -> TopicDescription + """Get a TopicDescription. + + :param str topic_name: The name of the queue. + :rtype: ~azure.servicebus.management.TopicDescription + """ + entry_ele = await self._get_entity_element(topic_name, **kwargs) + entry = TopicDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Topic '{}' does not exist".format(topic_name)) + topic_description = TopicDescription._from_internal_entity(entry.content.topic_description) + topic_description.name = topic_name + return topic_description + + async def get_topic_runtime_info(self, topic_name, **kwargs): + # type: (str, Any) -> TopicRuntimeInfo + """Get a TopicRuntimeInfo + + :param str topic_name: + :rtype: ~azure.servicebus.management.TopicRuntimeInfo + """ + entry_ele = await self._get_entity_element(topic_name, **kwargs) + entry = TopicDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) + topic_description = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) + topic_description.name = topic_name + return topic_description + + async def create_topic(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> TopicDescription + """ + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :rtype: ~azure.servicebus.management.TopicDescription + """ + try: + topic_name = topic.name # type: ignore + to_create = topic._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError as e: + topic_name = topic # type: ignore + to_create = InternalTopicDescription() # Use an empty topic description. + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + try: + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.entity.put( + topic_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) + except ValidationError as e: + # post-hoc try to give a somewhat-justifiable failure reason. + if isinstance(topic, (six.string_types, TopicDescription)): + raise_with_traceback( + ValueError, + message="topic must be a non-empty str or a QueueDescription with non-empty str name") + raise_with_traceback( + TypeError, + message="topic must be a non-empty str or a QueueDescription with non-empty str name") + + entry = TopicDescriptionEntry.deserialize(entry_ele) + result = TopicDescription._from_internal_entity(entry.content.topic_description) + result.name = topic_name + return result + + async def update_topic(self, topic_description, **kwargs): + # type: (TopicDescription, Any) -> None + """ + + :param ~azure.servicebus.management.TopicDescription topic_description: + :keyword timedelta async default_message_time_to_live: + :keyword timedelta duplicate_detection_history_time_window: + :rtype: None + """ + + # TODO: validate whether topic_description has enough information (refer to the create_topic response) + if not isinstance(topic_description, TopicDescription): + raise TypeError("topic_description must be of type TopicDescription") + + internal_description = topic_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = kwargs.get("async default_message_time_to_live") or topic_description.default_message_time_to_live + to_update.duplicate_detection_history_time_window = kwargs.get("duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + + to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) + to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + try: + await self._impl.entity.put( + topic_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + raise_with_traceback( + ValueError, + message="topic_description must be a TopicDescription with valid fields, " + "including non-empty string topic name") + + async def delete_topic(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> None + """ + + :param Union[str, TopicDescription] topic: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + await self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) + + def list_topics(self, **kwargs): + # type: (Any) -> ItemPaged[TopicDescription] + """ + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] + """ + def entry_to_topic(entry): + topic = TopicDescription._from_internal_entity(entry.content.topic_description) + topic.name = entry.title + return topic + + extract_data = functools.partial( + extract_data_template, TopicDescriptionFeed, entry_to_topic + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_TOPICS), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + def list_topics_runtime_info(self, **kwargs): + # type: (Any) -> ItemPaged[TopicRuntimeInfo] + """ + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] + """ + def entry_to_topic(entry): + topic = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) + topic.name = entry.title + return topic + + extract_data = functools.partial( + extract_data_template, TopicDescriptionFeed, entry_to_topic + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_TOPICS), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + async def get_subscription(self, topic, subscription_name, **kwargs): + # type: (Union[str, TopicDescription], str, Any) -> SubscriptionDescription + """ + + :param Union[str, TopicDescription] topic: + :param str subscription_name: + :rtype: ~azure.servicebus.management.SubscriptionDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) + subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + async def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): + # type: (Union[str, TopicDescription], str, Any) -> SubscriptionRuntimeInfo + """ + + :param Union[str, TopicDescription] topic: + :param str subscription_name: + :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + async def create_subscription(self, topic, subscription, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: + :rtype: ~azure.servicebus.management.SubscriptionDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name # type: ignore + to_create = subscription._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError: + subscription_name = subscription # type: ignore + to_create = InternalSubscriptionDescription() # Use an empty queue description. + + create_entity_body = CreateSubscriptionBody( + content=CreateSubscriptionBodyContent( + subscription_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + try: + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.subscription.put( + topic_name, + subscription_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + # TODO: validate param topic + if isinstance(subscription, (six.string_types, SubscriptionDescription)): + raise_with_traceback( + ValueError, + message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + raise_with_traceback( + TypeError, + message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + result.name = subscription_name + return result + + async def update_subscription(self, topic, subscription_description, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param ~azure.servicebus.management.SubscriptionDescription subscription: + :rtype: None + """ + # TODO: validate param topic and whether subscription_description has enough properties. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + if not isinstance(subscription_description, SubscriptionDescription): + raise TypeError("subscription_description must be of type SubscriptionDescription") + + internal_description = subscription_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) + to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + await self._impl.subscription.put( + topic_name, + subscription_description.name, + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + async def delete_subscription(self, topic, subscription, **kwargs): + """ + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + await self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) + + def list_subscriptions(self, topic, **kwargs): + """List the subscriptions of a ServiceBus Topic. + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in + the ServiceBus Topic. + :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + + def entry_to_subscription(entry): + subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + extract_data = functools.partial( + extract_data_template, SubscriptionDescriptionFeed, entry_to_subscription + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_subscriptions, topic_name), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + def list_subscriptions_runtime_info(self, topic, **kwargs): + """List the subscriptions of a ServiceBus Topic Runtime Information. + + :param Union[str, TopicDescription] topic: + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in + the ServiceBus Topic. + :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + + def entry_to_subscription(entry): + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + extract_data = functools.partial( + extract_data_template, SubscriptionDescriptionFeed, entry_to_subscription + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_subscriptions, topic_name), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + async def get_rule(self, topic, subscription, rule_name, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param str rule_name: + :rtype: ~azure.servicebus.management.RuleDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + entry_ele = self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) + entry = RuleDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format(subscription_name, topic_name, rule_name)) + rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) + return rule_description + + async def create_rule(self, topic, subscription, rule, **kwargs): + """ + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: + :rtype: ~azure.servicebus.management.RuleDescription + """ + # TODO: validate param topic, subscription and rule. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + try: + rule_name = rule.name + to_create = rule._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError: + rule_name = rule + to_create = InternalRuleDescription() # Use an empty queue description. + + create_entity_body = CreateRuleBody( + content=CreateRuleBodyContent( + rule_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + entry_ele = await self._impl.rule.put( + topic_name, + subscription_name, # type: ignore + rule_name, + request_body, api_version=constants.API_VERSION, **kwargs) + entry = RuleDescriptionEntry.deserialize(entry_ele) + result = entry.content.rule_description + return result + + async def update_rule(self, topic, subscription, rule_description, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param ~azure.servicebus.management.RuleDescription rule_description: + :rtype: None + """ + # TODO: validate param topic, subscription and rule_description. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + + internal_description = rule_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + create_entity_body = CreateRuleBody( + content=CreateRuleBodyContent( + rule_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + await self._impl.rule.put( + topic_name, + subscription_name, + rule_description.name, + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + async def delete_rule(self, topic, subscription, rule, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param Union[str, RuleDescription] subscription: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + try: + rule_name = rule.name + except AttributeError: + rule_name = rule + await self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) + + def list_rules(self, topic, subscription, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :keyword int start_index: + :keyword int max_page_size: + :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + + def entry_to_rule(entry): + rule = entry.content.rule_description + return RuleDescription._from_internal_entity(rule) + + extract_data = functools.partial( + extract_data_template, RuleDescriptionFeed, entry_to_rule + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_rules, topic_name, subscription_name), **kwargs + ) + return AsyncItemPaged( + get_next, extract_data) + + async def get_namespace_properties(self, **kwargs): + """ + + :rtype: NamespaceProperties + """ + entry_el = await self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) + namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) + return namespace_entry.content.namespace_properties diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_shared_key_policy_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_shared_key_policy_async.py similarity index 100% rename from sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_shared_key_policy_async.py rename to sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_shared_key_policy_async.py diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py new file mode 100644 index 000000000000..03667b090565 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py @@ -0,0 +1,46 @@ +from typing import cast, Union +from xml.etree.ElementTree import ElementTree + + +try: + import urllib.parse as urlparse +except ImportError: + import urlparse # python 2.7 + +from azure.servicebus.management import _constants as constants +from ...management._handle_response_error import _handle_response_error + + +async def extract_data_template(feed_class, convert, feed_element): + deserialized = feed_class.deserialize(feed_element) + list_of_qd = [convert(x) if convert else x for x in deserialized.entry] + next_link = None + if deserialized.link and len(deserialized.link) == 2: + next_link = deserialized.link[1].href + return next_link, iter(list_of_qd) + + +async def get_next_template(list_func, *args, **kwargs): + if len(args) > 0: + next_link = args[0] + else: + next_link = kwargs.pop("next_link") + + start_index = kwargs.pop("start_index", 0) + max_page_size = kwargs.pop("max_page_size", 100) + api_version = constants.API_VERSION + if next_link: + queries = urlparse.parse_qs(urlparse.urlparse(next_link).query) + start_index = int(queries['$skip'][0]) + max_page_size = int(queries['$top'][0]) + api_version = queries['api-version'][0] + with _handle_response_error(): + feed_element = cast( + ElementTree, + await list_func( + skip=start_index, top=max_page_size, + api_version=api_version, + **kwargs + ) + ) + return feed_element diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py index 43f52de5584f..b6941307ef95 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py @@ -5,16 +5,29 @@ from ._management_client import ServiceBusManagementClient from ._generated.models import AuthorizationRule, MessageCountDetails, \ - AccessRights, EntityAvailabilityStatus, EntityStatus -from ._models import QueueRuntimeInfo, QueueDescription + AccessRights, EntityAvailabilityStatus, EntityStatus, \ + NamespaceProperties, MessagingSku, NamespaceType + +from ._models import QueueRuntimeInfo, QueueDescription, TopicRuntimeInfo, TopicDescription, \ + SubscriptionDescription, SubscriptionRuntimeInfo, RuleDescription, \ + TrueRuleFilter, FalseRuleFilter, SqlRuleFilter, CorrelationRuleFilter, \ + SqlRuleAction __all__ = [ - "ServiceBusManagementClient", + 'ServiceBusManagementClient', 'AuthorizationRule', 'MessageCountDetails', 'QueueDescription', 'QueueRuntimeInfo', + 'TopicDescription', + 'TopicRuntimeInfo', + 'SubscriptionDescription', + 'SubscriptionRuntimeInfo', 'AccessRights', 'EntityAvailabilityStatus', 'EntityStatus', + 'RuleDescription', + 'CorrelationRuleFilter', 'SqlRuleFilter', 'TrueRuleFilter', 'FalseRuleFilter', + 'SqlRuleAction', + 'NamespaceProperties', 'MessagingSku', 'NamespaceType', ] diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py index 6a999075700b..d1a73b6cfc14 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py @@ -11,3 +11,4 @@ TITLE_TAG = "{http://www.w3.org/2005/Atom}title" ENTITY_TYPE_QUEUES = "queues" +ENTITY_TYPE_TOPICS = "topics" diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/_service_bus_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/_service_bus_management_client.py index 696101eed03d..ee7515cab3ce 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/_service_bus_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/_service_bus_management_client.py @@ -16,16 +16,25 @@ from typing import Any, Optional from ._configuration import ServiceBusManagementClientConfiguration -from .operations import QueueOperations +from .operations import EntityOperations from .operations import ServiceBusManagementClientOperationsMixin +from .operations import SubscriptionOperations +from .operations import RuleOperations +from .operations import NamespaceOperations from . import models class ServiceBusManagementClient(ServiceBusManagementClientOperationsMixin): """Azure Service Bus client for managing Queues, Topics, and Subscriptions. - :ivar queue: QueueOperations operations - :vartype queue: azure.servicebus.management._generated.operations.QueueOperations + :ivar entity: EntityOperations operations + :vartype entity: azure.servicebus.management._generated.operations.EntityOperations + :ivar subscription: SubscriptionOperations operations + :vartype subscription: azure.servicebus.management._generated.operations.SubscriptionOperations + :ivar rule: RuleOperations operations + :vartype rule: azure.servicebus.management._generated.operations.RuleOperations + :ivar namespace: NamespaceOperations operations + :vartype namespace: azure.servicebus.management._generated.operations.NamespaceOperations :param endpoint: The Service Bus fully qualified domain name. :type endpoint: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -45,7 +54,13 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) - self.queue = QueueOperations( + self.entity = EntityOperations( + self._client, self._config, self._serialize, self._deserialize) + self.subscription = SubscriptionOperations( + self._client, self._config, self._serialize, self._deserialize) + self.rule = RuleOperations( + self._client, self._config, self._serialize, self._deserialize) + self.namespace = NamespaceOperations( self._client, self._config, self._serialize, self._deserialize) def close(self): diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/_service_bus_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/_service_bus_management_client_async.py index 74270b317f0f..196e6e457645 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/_service_bus_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/_service_bus_management_client_async.py @@ -12,16 +12,25 @@ from msrest import Deserializer, Serializer from ._configuration_async import ServiceBusManagementClientConfiguration -from .operations_async import QueueOperations +from .operations_async import EntityOperations from .operations_async import ServiceBusManagementClientOperationsMixin +from .operations_async import SubscriptionOperations +from .operations_async import RuleOperations +from .operations_async import NamespaceOperations from .. import models class ServiceBusManagementClient(ServiceBusManagementClientOperationsMixin): """Azure Service Bus client for managing Queues, Topics, and Subscriptions. - :ivar queue: QueueOperations operations - :vartype queue: azure.servicebus.management._generated.aio.operations_async.QueueOperations + :ivar entity: EntityOperations operations + :vartype entity: azure.servicebus.management._generated.aio.operations_async.EntityOperations + :ivar subscription: SubscriptionOperations operations + :vartype subscription: azure.servicebus.management._generated.aio.operations_async.SubscriptionOperations + :ivar rule: RuleOperations operations + :vartype rule: azure.servicebus.management._generated.aio.operations_async.RuleOperations + :ivar namespace: NamespaceOperations operations + :vartype namespace: azure.servicebus.management._generated.aio.operations_async.NamespaceOperations :param endpoint: The Service Bus fully qualified domain name. :type endpoint: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. @@ -40,7 +49,13 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) - self.queue = QueueOperations( + self.entity = EntityOperations( + self._client, self._config, self._serialize, self._deserialize) + self.subscription = SubscriptionOperations( + self._client, self._config, self._serialize, self._deserialize) + self.rule = RuleOperations( + self._client, self._config, self._serialize, self._deserialize) + self.namespace = NamespaceOperations( self._client, self._config, self._serialize, self._deserialize) async def close(self) -> None: diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/__init__.py index 98a8b77c8e0a..04ebe619db3e 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/__init__.py @@ -6,10 +6,16 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._queue_operations_async import QueueOperations +from ._entity_operations_async import EntityOperations from ._service_bus_management_client_operations_async import ServiceBusManagementClientOperationsMixin +from ._subscription_operations_async import SubscriptionOperations +from ._rule_operations_async import RuleOperations +from ._namespace_operations_async import NamespaceOperations __all__ = [ - 'QueueOperations', + 'EntityOperations', 'ServiceBusManagementClientOperationsMixin', + 'SubscriptionOperations', + 'RuleOperations', + 'NamespaceOperations', ] diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_queue_operations_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_entity_operations_async.py similarity index 87% rename from sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_queue_operations_async.py rename to sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_entity_operations_async.py index 06ab52c352e0..8eacacacd5de 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_queue_operations_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_entity_operations_async.py @@ -17,8 +17,8 @@ T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] -class QueueOperations: - """QueueOperations async operations. +class EntityOperations: + """EntityOperations async operations. You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute. @@ -41,17 +41,17 @@ def __init__(self, client, config, serializer, deserializer) -> None: async def get( self, - queue_name: str, + entity_name: str, enrich: Optional[bool] = False, api_version: Optional[str] = "2017_04", **kwargs ) -> object: - """Get the details about the Queue with the given queueName. + """Get the details about the Queue or Topic with the given entityName. - Get Queue. + Get Queue or Topic. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str :param enrich: A query parameter that sets enrich to true or false. :type enrich: bool :param api_version: Api Version. @@ -69,7 +69,7 @@ async def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -100,21 +100,21 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/{queueName}'} # type: ignore + get.metadata = {'url': '/{entityName}'} # type: ignore async def put( self, - queue_name: str, + entity_name: str, request_body: object, api_version: Optional[str] = "2017_04", if_match: Optional[str] = None, **kwargs ) -> object: - """Create or update a queue at the provided queuePath. + """Create or update a queue or topic at the provided entityName. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str - :param request_body: Parameters required to make or edit a queue. + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str + :param request_body: Parameters required to make or edit a queue or topic. :type request_body: object :param api_version: Api Version. :type api_version: str @@ -131,13 +131,13 @@ async def put( cls = kwargs.pop('cls', None) # type: ClsType[object] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - content_type = kwargs.pop("content_type", "application/xml") + content_type = kwargs.pop("content_type", "application/atom+xml") # Construct URL url = self.put.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -178,20 +178,20 @@ async def put( return cls(pipeline_response, deserialized, {}) return deserialized - put.metadata = {'url': '/{queueName}'} # type: ignore + put.metadata = {'url': '/{entityName}'} # type: ignore async def delete( self, - queue_name: str, + entity_name: str, api_version: Optional[str] = "2017_04", **kwargs ) -> object: - """Delete the Queue with the given queueName. + """Delete the Queue or Topic with the given entityName. - Delete Queue. + Delete Queue or Topic. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str :param api_version: Api Version. :type api_version: str :keyword callable cls: A custom type or function that will be passed the direct response @@ -207,7 +207,7 @@ async def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -236,4 +236,4 @@ async def delete( return cls(pipeline_response, deserialized, {}) return deserialized - delete.metadata = {'url': '/{queueName}'} # type: ignore + delete.metadata = {'url': '/{entityName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_namespace_operations_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_namespace_operations_async.py new file mode 100644 index 000000000000..d8fa5d686223 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_namespace_operations_async.py @@ -0,0 +1,94 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NamespaceOperations: + """NamespaceOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> "models.NamespacePropertiesEntry": + """Get the details about the Service Bus namespace. + + Get Namespace Properties. + + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NamespacePropertiesEntry, or the result of cls(response) + :rtype: ~azure.servicebus.management._generated.models.NamespacePropertiesEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.NamespacePropertiesEntry"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('NamespacePropertiesEntry', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/$namespaceinfo'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_rule_operations_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_rule_operations_async.py new file mode 100644 index 000000000000..5e00dba3c5c4 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_rule_operations_async.py @@ -0,0 +1,263 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RuleOperations: + """RuleOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + topic_name: str, + subscription_name: str, + rule_name: str, + enrich: Optional[bool] = False, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Get the details about the rule of a subscription of a topic. + + Get Rule. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param enrich: A query parameter that sets enrich to true or false. + :type enrich: bool + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if enrich is not None: + query_parameters['enrich'] = self._serialize.query("enrich", enrich, 'bool') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore + + async def put( + self, + topic_name: str, + subscription_name: str, + rule_name: str, + request_body: object, + api_version: Optional[str] = "2017_04", + if_match: Optional[str] = None, + **kwargs + ) -> object: + """Create or update a rule. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param request_body: Parameters required to make or edit a rule. + :type request_body: object + :param api_version: Api Version. + :type api_version: str + :param if_match: Match condition for an entity to be updated. If specified and a matching + entity is not found, an error will be raised. To force an unconditional update, set to the + wildcard character (*). If not specified, an insert will be performed when no existing entity + is found to update and a replace will be performed if an existing entity is found. + :type if_match: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/atom+xml") + + # Construct URL + url = self.put.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_body, 'object', is_xml=True) + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('object', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + put.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore + + async def delete( + self, + topic_name: str, + subscription_name: str, + rule_name: str, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Delete the rule with the given topicName, subscriptionName and ruleName. + + Delete Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + delete.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_service_bus_management_client_operations_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_service_bus_management_client_operations_async.py index f57b483ede50..21cdba787565 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_service_bus_management_client_operations_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_service_bus_management_client_operations_async.py @@ -19,6 +19,146 @@ class ServiceBusManagementClientOperationsMixin: + async def list_subscriptions( + self, + topic_name: str, + skip: Optional[int] = 0, + top: Optional[int] = 100, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Get the details about the subscriptions of the given topic. + + Get subscriptions. + + :param topic_name: name of the topic. + :type topic_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.list_subscriptions.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_subscriptions.metadata = {'url': '/{topicName}/subscriptions'} # type: ignore + + async def list_rules( + self, + topic_name: str, + subscription_name: str, + skip: Optional[int] = 0, + top: Optional[int] = 100, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Get the details about the rules of the given topic subscription. + + Get rules of a topic subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.list_rules.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_rules.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules'} # type: ignore + async def list_entities( self, entity_type: str, diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_subscription_operations_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_subscription_operations_async.py new file mode 100644 index 000000000000..1a7117c61ce9 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/aio/operations_async/_subscription_operations_async.py @@ -0,0 +1,251 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SubscriptionOperations: + """SubscriptionOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + topic_name: str, + subscription_name: str, + enrich: Optional[bool] = False, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Get the details about the subscription of a topic. + + Get Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param enrich: A query parameter that sets enrich to true or false. + :type enrich: bool + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if enrich is not None: + query_parameters['enrich'] = self._serialize.query("enrich", enrich, 'bool') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore + + async def put( + self, + topic_name: str, + subscription_name: str, + request_body: object, + api_version: Optional[str] = "2017_04", + if_match: Optional[str] = None, + **kwargs + ) -> object: + """Create or update a subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param request_body: Parameters required to make or edit a subscription. + :type request_body: object + :param api_version: Api Version. + :type api_version: str + :param if_match: Match condition for an entity to be updated. If specified and a matching + entity is not found, an error will be raised. To force an unconditional update, set to the + wildcard character (*). If not specified, an insert will be performed when no existing entity + is found to update and a replace will be performed if an existing entity is found. + :type if_match: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/atom+xml") + + # Construct URL + url = self.put.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_body, 'object', is_xml=True) + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('object', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + put.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore + + async def delete( + self, + topic_name: str, + subscription_name: str, + api_version: Optional[str] = "2017_04", + **kwargs + ) -> object: + """Delete the subscription with the given topicName and subscriptionName. + + Delete Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + delete.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/__init__.py index 615df18aa74e..17337fa2c371 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/__init__.py @@ -8,66 +8,142 @@ try: from ._models_py3 import AuthorizationRule + from ._models_py3 import CorrelationFilter from ._models_py3 import CreateQueueBody from ._models_py3 import CreateQueueBodyContent + from ._models_py3 import CreateRuleBody + from ._models_py3 import CreateRuleBodyContent + from ._models_py3 import CreateSubscriptionBody + from ._models_py3 import CreateSubscriptionBodyContent from ._models_py3 import CreateTopicBody from ._models_py3 import CreateTopicBodyContent + from ._models_py3 import EmptyRuleAction + from ._models_py3 import FalseFilter + from ._models_py3 import KeyValue from ._models_py3 import MessageCountDetails + from ._models_py3 import NamespaceProperties + from ._models_py3 import NamespacePropertiesEntry + from ._models_py3 import NamespacePropertiesEntryContent from ._models_py3 import QueueDescription from ._models_py3 import QueueDescriptionEntry from ._models_py3 import QueueDescriptionEntryContent from ._models_py3 import QueueDescriptionFeed - from ._models_py3 import QueueDescriptionResponse - from ._models_py3 import QueueDescriptionResponseContent from ._models_py3 import ResponseAuthor from ._models_py3 import ResponseLink - from ._models_py3 import ResponseTitle + from ._models_py3 import RuleAction + from ._models_py3 import RuleDescription + from ._models_py3 import RuleDescriptionEntry + from ._models_py3 import RuleDescriptionEntryContent + from ._models_py3 import RuleDescriptionFeed + from ._models_py3 import RuleFilter from ._models_py3 import ServiceBusManagementError + from ._models_py3 import SqlFilter + from ._models_py3 import SqlRuleAction + from ._models_py3 import SubscriptionDescription + from ._models_py3 import SubscriptionDescriptionEntry + from ._models_py3 import SubscriptionDescriptionEntryContent + from ._models_py3 import SubscriptionDescriptionFeed from ._models_py3 import TopicDescription + from ._models_py3 import TopicDescriptionEntry + from ._models_py3 import TopicDescriptionEntryContent + from ._models_py3 import TopicDescriptionFeed + from ._models_py3 import TrueFilter except (SyntaxError, ImportError): from ._models import AuthorizationRule # type: ignore + from ._models import CorrelationFilter # type: ignore from ._models import CreateQueueBody # type: ignore from ._models import CreateQueueBodyContent # type: ignore + from ._models import CreateRuleBody # type: ignore + from ._models import CreateRuleBodyContent # type: ignore + from ._models import CreateSubscriptionBody # type: ignore + from ._models import CreateSubscriptionBodyContent # type: ignore from ._models import CreateTopicBody # type: ignore from ._models import CreateTopicBodyContent # type: ignore + from ._models import EmptyRuleAction # type: ignore + from ._models import FalseFilter # type: ignore + from ._models import KeyValue # type: ignore from ._models import MessageCountDetails # type: ignore + from ._models import NamespaceProperties # type: ignore + from ._models import NamespacePropertiesEntry # type: ignore + from ._models import NamespacePropertiesEntryContent # type: ignore from ._models import QueueDescription # type: ignore from ._models import QueueDescriptionEntry # type: ignore from ._models import QueueDescriptionEntryContent # type: ignore from ._models import QueueDescriptionFeed # type: ignore - from ._models import QueueDescriptionResponse # type: ignore - from ._models import QueueDescriptionResponseContent # type: ignore from ._models import ResponseAuthor # type: ignore from ._models import ResponseLink # type: ignore - from ._models import ResponseTitle # type: ignore + from ._models import RuleAction # type: ignore + from ._models import RuleDescription # type: ignore + from ._models import RuleDescriptionEntry # type: ignore + from ._models import RuleDescriptionEntryContent # type: ignore + from ._models import RuleDescriptionFeed # type: ignore + from ._models import RuleFilter # type: ignore from ._models import ServiceBusManagementError # type: ignore + from ._models import SqlFilter # type: ignore + from ._models import SqlRuleAction # type: ignore + from ._models import SubscriptionDescription # type: ignore + from ._models import SubscriptionDescriptionEntry # type: ignore + from ._models import SubscriptionDescriptionEntryContent # type: ignore + from ._models import SubscriptionDescriptionFeed # type: ignore from ._models import TopicDescription # type: ignore + from ._models import TopicDescriptionEntry # type: ignore + from ._models import TopicDescriptionEntryContent # type: ignore + from ._models import TopicDescriptionFeed # type: ignore + from ._models import TrueFilter # type: ignore from ._service_bus_management_client_enums import ( AccessRights, EntityAvailabilityStatus, EntityStatus, + MessagingSku, + NamespaceType, ) __all__ = [ 'AuthorizationRule', + 'CorrelationFilter', 'CreateQueueBody', 'CreateQueueBodyContent', + 'CreateRuleBody', + 'CreateRuleBodyContent', + 'CreateSubscriptionBody', + 'CreateSubscriptionBodyContent', 'CreateTopicBody', 'CreateTopicBodyContent', + 'EmptyRuleAction', + 'FalseFilter', + 'KeyValue', 'MessageCountDetails', + 'NamespaceProperties', + 'NamespacePropertiesEntry', + 'NamespacePropertiesEntryContent', 'QueueDescription', 'QueueDescriptionEntry', 'QueueDescriptionEntryContent', 'QueueDescriptionFeed', - 'QueueDescriptionResponse', - 'QueueDescriptionResponseContent', 'ResponseAuthor', 'ResponseLink', - 'ResponseTitle', + 'RuleAction', + 'RuleDescription', + 'RuleDescriptionEntry', + 'RuleDescriptionEntryContent', + 'RuleDescriptionFeed', + 'RuleFilter', 'ServiceBusManagementError', + 'SqlFilter', + 'SqlRuleAction', + 'SubscriptionDescription', + 'SubscriptionDescriptionEntry', + 'SubscriptionDescriptionEntryContent', + 'SubscriptionDescriptionFeed', 'TopicDescription', + 'TopicDescriptionEntry', + 'TopicDescriptionEntryContent', + 'TopicDescriptionFeed', + 'TrueFilter', 'AccessRights', 'EntityAvailabilityStatus', 'EntityStatus', + 'MessagingSku', + 'NamespaceType', ] diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py index 7de15a1b07b1..495895a71eea 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py @@ -64,6 +64,90 @@ def __init__( self.secondary_key = kwargs.get('secondary_key', None) +class RuleFilter(msrest.serialization.Model): + """RuleFilter. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CorrelationFilter, FalseFilter, SqlFilter, TrueFilter. + + :param type: Constant filled by server. + :type type: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + } + + _subtype_map = { + 'type': {'CorrelationFilter': 'CorrelationFilter', 'FalseFilter': 'FalseFilter', 'SqlFilter': 'SqlFilter', 'TrueFilter': 'TrueFilter'} + } + _xml_map = { + 'name': 'Filter', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(RuleFilter, self).__init__(**kwargs) + self.type = None + + +class CorrelationFilter(RuleFilter): + """CorrelationFilter. + + :param type: Constant filled by server. + :type type: str + :param correlation_id: + :type correlation_id: str + :param message_id: + :type message_id: str + :param to: + :type to: str + :param reply_to: + :type reply_to: str + :param label: + :type label: str + :param session_id: + :type session_id: str + :param reply_to_session_id: + :type reply_to_session_id: str + :param content_type: + :type content_type: str + :param properties: + :type properties: list[~azure.servicebus.management._generated.models.KeyValue] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'correlation_id': {'key': 'CorrelationId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_id': {'key': 'MessageId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'to': {'key': 'To', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'reply_to': {'key': 'ReplyTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'label': {'key': 'Label', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'session_id': {'key': 'SessionId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'reply_to_session_id': {'key': 'ReplyToSessionId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'content_type': {'key': 'ContentType', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'properties': {'key': 'Properties', 'type': '[KeyValue]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'KeyValueOfstringanyType', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + **kwargs + ): + super(CorrelationFilter, self).__init__(**kwargs) + self.type = 'CorrelationFilter' + self.correlation_id = kwargs.get('correlation_id', None) + self.message_id = kwargs.get('message_id', None) + self.to = kwargs.get('to', None) + self.reply_to = kwargs.get('reply_to', None) + self.label = kwargs.get('label', None) + self.session_id = kwargs.get('session_id', None) + self.reply_to_session_id = kwargs.get('reply_to_session_id', None) + self.content_type = kwargs.get('content_type', None) + self.properties = kwargs.get('properties', None) + + class CreateQueueBody(msrest.serialization.Model): """The request body for creating a queue. @@ -112,15 +196,15 @@ def __init__( self.queue_description = kwargs.get('queue_description', None) -class CreateTopicBody(msrest.serialization.Model): +class CreateRuleBody(msrest.serialization.Model): """The request body for creating a topic. - :param content: TopicDescription for the new topic. - :type content: ~azure.servicebus.management._generated.models.CreateTopicBodyContent + :param content: RuleDescription for the new Rule. + :type content: ~azure.servicebus.management._generated.models.CreateRuleBodyContent """ _attribute_map = { - 'content': {'key': 'content', 'type': 'CreateTopicBodyContent'}, + 'content': {'key': 'content', 'type': 'CreateRuleBodyContent'}, } _xml_map = { 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' @@ -130,22 +214,22 @@ def __init__( self, **kwargs ): - super(CreateTopicBody, self).__init__(**kwargs) + super(CreateRuleBody, self).__init__(**kwargs) self.content = kwargs.get('content', None) -class CreateTopicBodyContent(msrest.serialization.Model): - """TopicDescription for the new topic. +class CreateRuleBodyContent(msrest.serialization.Model): + """RuleDescription for the new Rule. :param type: MIME type of content. :type type: str - :param topic_description: Topic information to create. - :type topic_description: ~azure.servicebus.management._generated.models.TopicDescription + :param rule_description: Rule information to create. + :type rule_description: ~azure.servicebus.management._generated.models.RuleDescription """ _attribute_map = { 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'topic_description': {'key': 'TopicDescription', 'type': 'TopicDescription'}, + 'rule_description': {'key': 'RuleDescription', 'type': 'RuleDescription'}, } _xml_map = { 'ns': 'http://www.w3.org/2005/Atom' @@ -155,210 +239,69 @@ def __init__( self, **kwargs ): - super(CreateTopicBodyContent, self).__init__(**kwargs) + super(CreateRuleBodyContent, self).__init__(**kwargs) self.type = kwargs.get('type', "application/xml") - self.topic_description = kwargs.get('topic_description', None) + self.rule_description = kwargs.get('rule_description', None) -class MessageCountDetails(msrest.serialization.Model): - """Details about the message counts in queue. +class CreateSubscriptionBody(msrest.serialization.Model): + """The request body for creating a topic. - :param active_message_count: Number of active messages in the queue, topic, or subscription. - :type active_message_count: int - :param dead_letter_message_count: Number of messages that are dead lettered. - :type dead_letter_message_count: int - :param scheduled_message_count: Number of scheduled messages. - :type scheduled_message_count: int - :param transfer_dead_letter_message_count: Number of messages transferred into dead letters. - :type transfer_dead_letter_message_count: int - :param transfer_message_count: Number of messages transferred to another queue, topic, or - subscription. - :type transfer_message_count: int + :param content: TopicDescription for the new topic. + :type content: ~azure.servicebus.management._generated.models.CreateSubscriptionBodyContent """ _attribute_map = { - 'active_message_count': {'key': 'ActiveMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, - 'dead_letter_message_count': {'key': 'DeadLetterMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, - 'scheduled_message_count': {'key': 'ScheduledMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, - 'transfer_dead_letter_message_count': {'key': 'TransferDeadLetterMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, - 'transfer_message_count': {'key': 'TransferMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, + 'content': {'key': 'content', 'type': 'CreateSubscriptionBodyContent'}, } _xml_map = { - 'name': 'CountDetails', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, **kwargs ): - super(MessageCountDetails, self).__init__(**kwargs) - self.active_message_count = kwargs.get('active_message_count', None) - self.dead_letter_message_count = kwargs.get('dead_letter_message_count', None) - self.scheduled_message_count = kwargs.get('scheduled_message_count', None) - self.transfer_dead_letter_message_count = kwargs.get('transfer_dead_letter_message_count', None) - self.transfer_message_count = kwargs.get('transfer_message_count', None) + super(CreateSubscriptionBody, self).__init__(**kwargs) + self.content = kwargs.get('content', None) -class QueueDescription(msrest.serialization.Model): - """Description of a Service Bus queue resource. +class CreateSubscriptionBodyContent(msrest.serialization.Model): + """TopicDescription for the new topic. - :param authorization_rules: Authorization rules for resource. - :type authorization_rules: - list[~azure.servicebus.management._generated.models.AuthorizationRule] - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :param created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. - :type dead_lettering_on_message_expiration: bool - :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta - :param entity_availability_status: Availibility status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management._generated.models.EntityAvailabilityStatus - :param enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :param enable_express: A value that indicates whether Express Entities are enabled. An express - queue holds a message in memory temporarily before writing it to persistent storage. - :type enable_express: bool - :param enable_partitioning: A value that indicates whether the queue is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :param is_anonymous_accessible: A value indicating if the resource can be accessed without - authorization. - :type is_anonymous_accessible: bool - :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time - that the message is locked for other receivers. The maximum value for LockDuration is 5 - minutes; the default value is 1 minute. - :type lock_duration: ~datetime.timedelta - :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered - after this number of deliveries. Default value is 10. - :type max_delivery_count: int - :param max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of - memory allocated for the queue. - :type max_size_in_megabytes: int - :param requires_duplicate_detection: A value indicating if this queue requires duplicate - detection. - :type requires_duplicate_detection: bool - :param requires_session: A value that indicates whether the queue supports the concept of - sessions. - :type requires_session: bool - :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param support_ordering: A value that indicates whether the queue supports ordering. - :type support_ordering: bool - :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :param size_in_bytes: The size of the queue, in bytes. - :type size_in_bytes: int - :param message_count: The number of messages in the queue. - :type message_count: int - :param message_count_details: Details about the message counts in queue. - :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param type: MIME type of content. + :type type: str + :param subscription_description: Topic information to create. + :type subscription_description: + ~azure.servicebus.management._generated.models.SubscriptionDescription """ _attribute_map = { - 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'requires_session': {'key': 'RequiresSession', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'size_in_bytes': {'key': 'SizeInBytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'message_count': {'key': 'MessageCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'subscription_description': {'key': 'SubscriptionDescription', 'type': 'SubscriptionDescription'}, } _xml_map = { - 'name': 'QueueDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, **kwargs ): - super(QueueDescription, self).__init__(**kwargs) - self.authorization_rules = kwargs.get('authorization_rules', None) - self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) - self.created_at = kwargs.get('created_at', None) - self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) - self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) - self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) - self.entity_availability_status = kwargs.get('entity_availability_status', None) - self.enable_batched_operations = kwargs.get('enable_batched_operations', None) - self.enable_express = kwargs.get('enable_express', None) - self.enable_partitioning = kwargs.get('enable_partitioning', None) - self.is_anonymous_accessible = kwargs.get('is_anonymous_accessible', None) - self.lock_duration = kwargs.get('lock_duration', None) - self.max_delivery_count = kwargs.get('max_delivery_count', None) - self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) - self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) - self.requires_session = kwargs.get('requires_session', None) - self.status = kwargs.get('status', None) - self.support_ordering = kwargs.get('support_ordering', None) - self.accessed_at = kwargs.get('accessed_at', None) - self.updated_at = kwargs.get('updated_at', None) - self.size_in_bytes = kwargs.get('size_in_bytes', None) - self.message_count = kwargs.get('message_count', None) - self.message_count_details = kwargs.get('message_count_details', None) + super(CreateSubscriptionBodyContent, self).__init__(**kwargs) + self.type = kwargs.get('type', "application/xml") + self.subscription_description = kwargs.get('subscription_description', None) -class QueueDescriptionEntry(msrest.serialization.Model): - """Represents an entry in the feed when querying queues. +class CreateTopicBody(msrest.serialization.Model): + """The request body for creating a topic. - :param base: Base URL for the query. - :type base: str - :param id: The URL of the GET request. - :type id: str - :param title: The name of the queue. - :type title: ~azure.servicebus.management._generated.models.ResponseTitle - :param published: The timestamp for when this queue was published. - :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. - :type updated: ~datetime.datetime - :param author: The author that created this resource. - :type author: ~azure.servicebus.management._generated.models.ResponseAuthor - :param link: The URL for the HTTP request. - :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. - :type content: ~azure.servicebus.management._generated.models.QueueDescriptionEntryContent + :param content: TopicDescription for the new topic. + :type content: ~azure.servicebus.management._generated.models.CreateTopicBodyContent """ _attribute_map = { - 'base': {'key': 'base', 'type': 'str', 'xml': {'name': 'base', 'attr': True, 'prefix': 'xml'}}, - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'ResponseTitle'}, - 'published': {'key': 'published', 'type': 'iso-8601'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, - 'author': {'key': 'author', 'type': 'ResponseAuthor'}, - 'link': {'key': 'link', 'type': 'ResponseLink'}, - 'content': {'key': 'content', 'type': 'QueueDescriptionEntryContent'}, + 'content': {'key': 'content', 'type': 'CreateTopicBodyContent'}, } _xml_map = { 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' @@ -368,309 +311,1249 @@ def __init__( self, **kwargs ): - super(QueueDescriptionEntry, self).__init__(**kwargs) - self.base = kwargs.get('base', None) - self.id = kwargs.get('id', None) - self.title = kwargs.get('title', None) - self.published = kwargs.get('published', None) - self.updated = kwargs.get('updated', None) - self.author = kwargs.get('author', None) - self.link = kwargs.get('link', None) + super(CreateTopicBody, self).__init__(**kwargs) self.content = kwargs.get('content', None) -class QueueDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. +class CreateTopicBodyContent(msrest.serialization.Model): + """TopicDescription for the new topic. - :param type: Type of content in queue response. + :param type: MIME type of content. :type type: str - :param queue_description: Description of a Service Bus queue resource. - :type queue_description: ~azure.servicebus.management._generated.models.QueueDescription + :param topic_description: Topic information to create. + :type topic_description: ~azure.servicebus.management._generated.models.TopicDescription """ _attribute_map = { 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'queue_description': {'key': 'QueueDescription', 'type': 'QueueDescription'}, + 'topic_description': {'key': 'TopicDescription', 'type': 'TopicDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, **kwargs ): - super(QueueDescriptionEntryContent, self).__init__(**kwargs) - self.type = kwargs.get('type', None) - self.queue_description = kwargs.get('queue_description', None) + super(CreateTopicBodyContent, self).__init__(**kwargs) + self.type = kwargs.get('type', "application/xml") + self.topic_description = kwargs.get('topic_description', None) -class QueueDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. +class RuleAction(msrest.serialization.Model): + """RuleAction. - :param id: URL of the list queues query. - :type id: str - :param title: The entity type for the feed. - :type title: str - :param updated: Datetime of the query. - :type updated: ~datetime.datetime - :param link: Links to paginated response. - :type link: list[~azure.servicebus.management._generated.models.ResponseLink] - :param entry: Queue entries. - :type entry: list[~azure.servicebus.management._generated.models.QueueDescriptionEntry] + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmptyRuleAction, SqlRuleAction. + + :param type: Constant filled by server. + :type type: str """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'str'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, - 'link': {'key': 'link', 'type': '[ResponseLink]'}, - 'entry': {'key': 'entry', 'type': '[QueueDescriptionEntry]'}, + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + } + + _subtype_map = { + 'type': {'EmptyRuleAction': 'EmptyRuleAction', 'SqlRuleAction': 'SqlRuleAction'} } _xml_map = { - 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + 'name': 'Action', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, **kwargs ): - super(QueueDescriptionFeed, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - self.title = kwargs.get('title', None) - self.updated = kwargs.get('updated', None) - self.link = kwargs.get('link', None) - self.entry = kwargs.get('entry', None) + super(RuleAction, self).__init__(**kwargs) + self.type = None -class QueueDescriptionResponse(msrest.serialization.Model): - """The response from a Queue_Get operation. +class EmptyRuleAction(RuleAction): + """EmptyRuleAction. - :param id: The URL of the GET request. - :type id: str - :param title: The name of the queue. - :type title: str - :param published: The timestamp for when this queue was published. - :type published: str - :param updated: The timestamp for when this queue was last updated. - :type updated: str - :param author: The author that created this resource. - :type author: ~azure.servicebus.management._generated.models.ResponseAuthor - :param link: The URL for the HTTP request. - :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: Contents of a Queue_Get response. - :type content: ~azure.servicebus.management._generated.models.QueueDescriptionResponseContent + :param type: Constant filled by server. + :type type: str """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'str'}, - 'published': {'key': 'published', 'type': 'str'}, - 'updated': {'key': 'updated', 'type': 'str'}, - 'author': {'key': 'author', 'type': 'ResponseAuthor'}, - 'link': {'key': 'link', 'type': 'ResponseLink'}, - 'content': {'key': 'content', 'type': 'QueueDescriptionResponseContent'}, - } - _xml_map = { - 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, } def __init__( self, **kwargs ): - super(QueueDescriptionResponse, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - self.title = kwargs.get('title', None) - self.published = kwargs.get('published', None) - self.updated = kwargs.get('updated', None) - self.author = kwargs.get('author', None) - self.link = kwargs.get('link', None) - self.content = kwargs.get('content', None) + super(EmptyRuleAction, self).__init__(**kwargs) + self.type = 'EmptyRuleAction' -class QueueDescriptionResponseContent(msrest.serialization.Model): - """Contents of a Queue_Get response. +class FalseFilter(RuleFilter): + """FalseFilter. - :param type: Type of content in queue response. + :param type: Constant filled by server. :type type: str - :param queue_description: Description of a Service Bus queue resource. - :type queue_description: ~azure.servicebus.management._generated.models.QueueDescription + :param sql_expression: + :type sql_expression: str """ _attribute_map = { - 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'queue_description': {'key': 'QueueDescription', 'type': 'QueueDescription'}, + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } def __init__( self, **kwargs ): - super(QueueDescriptionResponseContent, self).__init__(**kwargs) - self.type = kwargs.get('type', None) - self.queue_description = kwargs.get('queue_description', None) + super(FalseFilter, self).__init__(**kwargs) + self.type = 'FalseFilter' + self.sql_expression = kwargs.get('sql_expression', "1 != 1") -class ResponseAuthor(msrest.serialization.Model): - """The author that created this resource. +class KeyValue(msrest.serialization.Model): + """KeyValue. - :param name: The Service Bus namespace. - :type name: str + :param key: + :type key: str + :param value: + :type value: str """ _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, + 'key': {'key': 'Key', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'value': {'key': 'Value', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'KeyValueOfstringanyType', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, **kwargs ): - super(ResponseAuthor, self).__init__(**kwargs) - self.name = kwargs.get('name', None) + super(KeyValue, self).__init__(**kwargs) + self.key = kwargs.get('key', None) + self.value = kwargs.get('value', None) -class ResponseLink(msrest.serialization.Model): - """The URL for the HTTP request. +class MessageCountDetails(msrest.serialization.Model): + """Details about the message counts in queue. - :param href: The URL of the GET request. - :type href: str - :param rel: What the link href is relative to. - :type rel: str + :param active_message_count: Number of active messages in the queue, topic, or subscription. + :type active_message_count: int + :param dead_letter_message_count: Number of messages that are dead lettered. + :type dead_letter_message_count: int + :param scheduled_message_count: Number of scheduled messages. + :type scheduled_message_count: int + :param transfer_dead_letter_message_count: Number of messages transferred into dead letters. + :type transfer_dead_letter_message_count: int + :param transfer_message_count: Number of messages transferred to another queue, topic, or + subscription. + :type transfer_message_count: int """ _attribute_map = { - 'href': {'key': 'href', 'type': 'str', 'xml': {'attr': True}}, - 'rel': {'key': 'rel', 'type': 'str', 'xml': {'attr': True}}, + 'active_message_count': {'key': 'ActiveMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, + 'dead_letter_message_count': {'key': 'DeadLetterMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, + 'scheduled_message_count': {'key': 'ScheduledMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, + 'transfer_dead_letter_message_count': {'key': 'TransferDeadLetterMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, + 'transfer_message_count': {'key': 'TransferMessageCount', 'type': 'int', 'xml': {'prefix': 'd2p1', 'ns': 'http://schemas.microsoft.com/netservices/2011/06/servicebus'}}, } _xml_map = { - 'name': 'link', 'ns': 'http://www.w3.org/2005/Atom' + 'name': 'CountDetails', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, **kwargs ): - super(ResponseLink, self).__init__(**kwargs) - self.href = kwargs.get('href', None) - self.rel = kwargs.get('rel', None) + super(MessageCountDetails, self).__init__(**kwargs) + self.active_message_count = kwargs.get('active_message_count', None) + self.dead_letter_message_count = kwargs.get('dead_letter_message_count', None) + self.scheduled_message_count = kwargs.get('scheduled_message_count', None) + self.transfer_dead_letter_message_count = kwargs.get('transfer_dead_letter_message_count', None) + self.transfer_message_count = kwargs.get('transfer_message_count', None) -class ResponseTitle(msrest.serialization.Model): - """The title of the response. +class NamespaceProperties(msrest.serialization.Model): + """The metadata related to a Service Bus namespace. - :param type: Type of value. - :type type: str - :param title: Contents of the title. - :type title: str + :param alias: Alias for the geo-disaster recovery Service Bus namespace. + :type alias: str + :param created_time: The exact time the namespace was created. + :type created_time: ~datetime.datetime + :param messaging_sku: The SKU for the messaging entity. Possible values include: "Basic", + "Standard", "Premium". + :type messaging_sku: str or ~azure.servicebus.management._generated.models.MessagingSku + :param messaging_units: The number of messaging units allocated to the namespace. + :type messaging_units: int + :param modified_time: The exact time the namespace was last modified. + :type modified_time: ~datetime.datetime + :param name: Name of the namespace. + :type name: str + :param namespace_type: The type of entities the namespace can contain. Possible values include: + "Messaging", "NotificationHub", "Mixed", "EventHub", "Relay". + :type namespace_type: str or ~azure.servicebus.management._generated.models.NamespaceType """ _attribute_map = { - 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'title': {'key': 'title', 'type': 'str'}, + 'alias': {'key': 'Alias', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_time': {'key': 'CreatedTime', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'messaging_sku': {'key': 'MessagingSku', 'type': 'str', 'xml': {'name': 'MessagingSKU', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'messaging_units': {'key': 'MessagingUnits', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'modified_time': {'key': 'ModifiedTime', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'namespace_type': {'key': 'NamespaceType', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'NamespaceInfo', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, **kwargs ): - super(ResponseTitle, self).__init__(**kwargs) - self.type = kwargs.get('type', None) + super(NamespaceProperties, self).__init__(**kwargs) + self.alias = kwargs.get('alias', None) + self.created_time = kwargs.get('created_time', None) + self.messaging_sku = kwargs.get('messaging_sku', None) + self.messaging_units = kwargs.get('messaging_units', None) + self.modified_time = kwargs.get('modified_time', None) + self.name = kwargs.get('name', None) + self.namespace_type = kwargs.get('namespace_type', None) + + +class NamespacePropertiesEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying namespace info. + + :param id: The URL of the GET request. + :type id: str + :param title: The name of the namespace. + :type title: object + :param updated: The timestamp for when this namespace was last updated. + :type updated: ~datetime.datetime + :param author: The author that created this resource. + :type author: ~azure.servicebus.management._generated.models.ResponseAuthor + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: Information about the namespace. + :type content: ~azure.servicebus.management._generated.models.NamespacePropertiesEntryContent + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'author': {'key': 'author', 'type': 'ResponseAuthor'}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'NamespacePropertiesEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(NamespacePropertiesEntry, self).__init__(**kwargs) + self.id = kwargs.get('id', None) self.title = kwargs.get('title', None) + self.updated = kwargs.get('updated', None) + self.author = kwargs.get('author', None) + self.link = kwargs.get('link', None) + self.content = kwargs.get('content', None) -class ServiceBusManagementError(msrest.serialization.Model): - """The error response from Service Bus. +class NamespacePropertiesEntryContent(msrest.serialization.Model): + """Information about the namespace. - :param code: The service error code. - :type code: int - :param detail: The service error message. - :type detail: str + :param type: Type of content in namespace info response. + :type type: str + :param namespace_properties: The metadata related to a Service Bus namespace. + :type namespace_properties: ~azure.servicebus.management._generated.models.NamespaceProperties """ _attribute_map = { - 'code': {'key': 'Code', 'type': 'int'}, - 'detail': {'key': 'Detail', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'namespace_properties': {'key': 'NamespaceProperties', 'type': 'NamespaceProperties'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, **kwargs ): - super(ServiceBusManagementError, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.detail = kwargs.get('detail', None) + super(NamespacePropertiesEntryContent, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.namespace_properties = kwargs.get('namespace_properties', None) -class TopicDescription(msrest.serialization.Model): - """Description of a Service Bus topic resource. +class QueueDescription(msrest.serialization.Model): + """Description of a Service Bus queue resource. - :param topic_name: Name of the topic. - :type topic_name: str - :param authorization_rules: Authorization rules for resource. - :type authorization_rules: - list[~azure.servicebus.management._generated.models.AuthorizationRule] - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta + :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :param max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of + memory allocated for the queue. + :type max_size_in_megabytes: int + :param requires_duplicate_detection: A value indicating if this queue requires duplicate + detection. + :type requires_duplicate_detection: bool + :param requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. :type default_message_time_to_live: ~datetime.timedelta + :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. :type duplicate_detection_history_time_window: ~datetime.timedelta + :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int :param enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool - :param enable_partitioning: A value that indicates whether the topic is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :param max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of - memory allocated for the topic. - :type max_size_in_megabytes: long - :param requires_duplicate_detection: A value indicating if this topic requires duplicate - detection. - :type requires_duplicate_detection: bool + :param size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :param message_count: The number of messages in the queue. + :type message_count: int + :param is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :param authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param support_ordering: A value that indicates whether the topic supports ordering. + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param support_ordering: A value that indicates whether the queue supports ordering. :type support_ordering: bool - :param user_metadata: Metadata associated with the topic. - :type user_metadata: str + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param enable_partitioning: A value that indicates whether the queue is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :param enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool """ _attribute_map = { - 'topic_name': {'key': 'TopicName', 'type': 'str'}, - 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_session': {'key': 'RequiresSession', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'long'}, - 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'size_in_bytes': {'key': 'SizeInBytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count': {'key': 'MessageCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'user_metadata': {'key': 'UserMetadata', 'type': 'str'}, + 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } _xml_map = { - 'name': 'TopicDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + 'name': 'QueueDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, **kwargs ): - super(TopicDescription, self).__init__(**kwargs) - self.topic_name = kwargs.get('topic_name', None) - self.authorization_rules = kwargs.get('authorization_rules', None) - self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) - self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) - self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) - self.enable_batched_operations = kwargs.get('enable_batched_operations', None) - self.enable_partitioning = kwargs.get('enable_partitioning', None) + super(QueueDescription, self).__init__(**kwargs) + self.lock_duration = kwargs.get('lock_duration', None) self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) + self.requires_session = kwargs.get('requires_session', None) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.max_delivery_count = kwargs.get('max_delivery_count', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.size_in_bytes = kwargs.get('size_in_bytes', None) + self.message_count = kwargs.get('message_count', None) + self.is_anonymous_accessible = kwargs.get('is_anonymous_accessible', None) + self.authorization_rules = kwargs.get('authorization_rules', None) + self.status = kwargs.get('status', None) + self.created_at = kwargs.get('created_at', None) + self.updated_at = kwargs.get('updated_at', None) + self.accessed_at = kwargs.get('accessed_at', None) + self.support_ordering = kwargs.get('support_ordering', None) + self.message_count_details = kwargs.get('message_count_details', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.enable_partitioning = kwargs.get('enable_partitioning', None) + self.entity_availability_status = kwargs.get('entity_availability_status', None) + self.enable_express = kwargs.get('enable_express', None) + + +class QueueDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying queues. + + :param base: Base URL for the query. + :type base: str + :param id: The URL of the GET request. + :type id: str + :param title: The name of the queue. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param author: The author that created this resource. + :type author: ~azure.servicebus.management._generated.models.ResponseAuthor + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: ~azure.servicebus.management._generated.models.QueueDescriptionEntryContent + """ + + _attribute_map = { + 'base': {'key': 'base', 'type': 'str', 'xml': {'name': 'base', 'attr': True, 'prefix': 'xml'}}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'author': {'key': 'author', 'type': 'ResponseAuthor'}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'QueueDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(QueueDescriptionEntry, self).__init__(**kwargs) + self.base = kwargs.get('base', None) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.published = kwargs.get('published', None) + self.updated = kwargs.get('updated', None) + self.author = kwargs.get('author', None) + self.link = kwargs.get('link', None) + self.content = kwargs.get('content', None) + + +class QueueDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param queue_description: Description of a Service Bus queue resource. + :type queue_description: ~azure.servicebus.management._generated.models.QueueDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'queue_description': {'key': 'QueueDescription', 'type': 'QueueDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(QueueDescriptionEntryContent, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.queue_description = kwargs.get('queue_description', None) + + +class QueueDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Queue entries. + :type entry: list[~azure.servicebus.management._generated.models.QueueDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[QueueDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(QueueDescriptionFeed, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.entry = kwargs.get('entry', None) + + +class ResponseAuthor(msrest.serialization.Model): + """The author that created this resource. + + :param name: The Service Bus namespace. + :type name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(ResponseAuthor, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + + +class ResponseLink(msrest.serialization.Model): + """The URL for the HTTP request. + + :param href: The URL of the GET request. + :type href: str + :param rel: What the link href is relative to. + :type rel: str + """ + + _attribute_map = { + 'href': {'key': 'href', 'type': 'str', 'xml': {'attr': True}}, + 'rel': {'key': 'rel', 'type': 'str', 'xml': {'attr': True}}, + } + _xml_map = { + 'name': 'link', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(ResponseLink, self).__init__(**kwargs) + self.href = kwargs.get('href', None) + self.rel = kwargs.get('rel', None) + + +class RuleDescription(msrest.serialization.Model): + """RuleDescription. + + :param filter: + :type filter: ~azure.servicebus.management._generated.models.RuleFilter + :param action: + :type action: ~azure.servicebus.management._generated.models.RuleAction + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param name: + :type name: str + """ + + _attribute_map = { + 'filter': {'key': 'Filter', 'type': 'RuleFilter'}, + 'action': {'key': 'Action', 'type': 'RuleAction'}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(RuleDescription, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.action = kwargs.get('action', None) + self.created_at = kwargs.get('created_at', None) + self.name = kwargs.get('name', None) + + +class RuleDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying rules. + + :param id: The URL of the GET request. + :type id: str + :param title: The name of the rule. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: ~azure.servicebus.management._generated.models.RuleDescriptionEntryContent + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'RuleDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(RuleDescriptionEntry, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.published = kwargs.get('published', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.content = kwargs.get('content', None) + + +class RuleDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param rule_description: + :type rule_description: ~azure.servicebus.management._generated.models.RuleDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'rule_description': {'key': 'RuleDescription', 'type': 'RuleDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(RuleDescriptionEntryContent, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.rule_description = kwargs.get('rule_description', None) + + +class RuleDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Queue entries. + :type entry: list[~azure.servicebus.management._generated.models.RuleDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[RuleDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(RuleDescriptionFeed, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.entry = kwargs.get('entry', None) + + +class ServiceBusManagementError(msrest.serialization.Model): + """The error response from Service Bus. + + :param code: The service error code. + :type code: int + :param detail: The service error message. + :type detail: str + """ + + _attribute_map = { + 'code': {'key': 'Code', 'type': 'int'}, + 'detail': {'key': 'Detail', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceBusManagementError, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.detail = kwargs.get('detail', None) + + +class SqlFilter(RuleFilter): + """SqlFilter. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + **kwargs + ): + super(SqlFilter, self).__init__(**kwargs) + self.type = 'SqlFilter' + self.sql_expression = kwargs.get('sql_expression', None) + + +class SqlRuleAction(RuleAction): + """SqlRuleAction. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + **kwargs + ): + super(SqlRuleAction, self).__init__(**kwargs) + self.type = 'SqlRuleAction' + self.sql_expression = kwargs.get('sql_expression', None) + + +class SubscriptionDescription(msrest.serialization.Model): + """Description of a Service Bus queue resource. + + :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :param requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :param dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this + queue has dead letter support when a message expires. + :type dead_lettering_on_filter_evaluation_exceptions: bool + :param message_count: The number of messages in the queue. + :type message_count: int + :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :param enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param forward_to: .. raw:: html + + . + :type forward_to: str + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + """ + + _attribute_map = { + 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_session': {'key': 'RequiresSession', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_filter_evaluation_exceptions': {'key': 'DeadLetteringOnFilterEvaluationExceptions', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count': {'key': 'MessageCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_to': {'key': 'ForwardTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'SubscriptionDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionDescription, self).__init__(**kwargs) + self.lock_duration = kwargs.get('lock_duration', None) + self.requires_session = kwargs.get('requires_session', None) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) + self.dead_lettering_on_filter_evaluation_exceptions = kwargs.get('dead_lettering_on_filter_evaluation_exceptions', None) + self.message_count = kwargs.get('message_count', None) + self.max_delivery_count = kwargs.get('max_delivery_count', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.status = kwargs.get('status', None) + self.forward_to = kwargs.get('forward_to', None) + self.created_at = kwargs.get('created_at', None) + self.updated_at = kwargs.get('updated_at', None) + self.accessed_at = kwargs.get('accessed_at', None) + self.message_count_details = kwargs.get('message_count_details', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.entity_availability_status = kwargs.get('entity_availability_status', None) + + +class SubscriptionDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying queues. + + :param id: The URL of the GET request. + :type id: str + :param title: The name of the subscription. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: + ~azure.servicebus.management._generated.models.SubscriptionDescriptionEntryContent + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'SubscriptionDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionDescriptionEntry, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.published = kwargs.get('published', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.content = kwargs.get('content', None) + + +class SubscriptionDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param subscription_description: Description of a Service Bus queue resource. + :type subscription_description: + ~azure.servicebus.management._generated.models.SubscriptionDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'subscription_description': {'key': 'SubscriptionDescription', 'type': 'SubscriptionDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionDescriptionEntryContent, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.subscription_description = kwargs.get('subscription_description', None) + + +class SubscriptionDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Queue entries. + :type entry: list[~azure.servicebus.management._generated.models.SubscriptionDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[SubscriptionDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionDescriptionFeed, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.entry = kwargs.get('entry', None) + + +class TopicDescription(msrest.serialization.Model): + """Description of a Service Bus topic resource. + + :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :param max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of + memory allocated for the topic. + :type max_size_in_megabytes: long + :param requires_duplicate_detection: A value indicating if this topic requires duplicate + detection. + :type requires_duplicate_detection: bool + :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :param enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :param size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :param filtering_messages_before_publishing: Filter messages before publishing. + :type filtering_messages_before_publishing: bool + :param is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :param authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] + :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param support_ordering: A value that indicates whether the topic supports ordering. + :type support_ordering: bool + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param subscription_count: The number of subscriptions in the topic. + :type subscription_count: int + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param enable_partitioning: A value that indicates whether the topic is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :param enable_subscription_partitioning: A value that indicates whether the topic's + subscription is to be partitioned. + :type enable_subscription_partitioning: bool + :param enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :param user_metadata: Metadata associated with the topic. + :type user_metadata: str + """ + + _attribute_map = { + 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'long', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'size_in_bytes': {'key': 'SizeInBytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'filtering_messages_before_publishing': {'key': 'FilteringMessagesBeforePublishing', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'subscription_count': {'key': 'SubscriptionCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_subscription_partitioning': {'key': 'EnableSubscriptionPartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'TopicDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(TopicDescription, self).__init__(**kwargs) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) + self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.size_in_bytes = kwargs.get('size_in_bytes', None) + self.filtering_messages_before_publishing = kwargs.get('filtering_messages_before_publishing', None) + self.is_anonymous_accessible = kwargs.get('is_anonymous_accessible', None) + self.authorization_rules = kwargs.get('authorization_rules', None) self.status = kwargs.get('status', None) + self.created_at = kwargs.get('created_at', None) + self.updated_at = kwargs.get('updated_at', None) + self.accessed_at = kwargs.get('accessed_at', None) self.support_ordering = kwargs.get('support_ordering', None) + self.message_count_details = kwargs.get('message_count_details', None) + self.subscription_count = kwargs.get('subscription_count', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.enable_partitioning = kwargs.get('enable_partitioning', None) + self.entity_availability_status = kwargs.get('entity_availability_status', None) + self.enable_subscription_partitioning = kwargs.get('enable_subscription_partitioning', None) + self.enable_express = kwargs.get('enable_express', None) self.user_metadata = kwargs.get('user_metadata', None) + + +class TopicDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying topics. + + :param base: Base URL for the query. + :type base: str + :param id: The URL of the GET request. + :type id: str + :param title: The name of the queue. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param author: The author that created this resource. + :type author: ~azure.servicebus.management._generated.models.ResponseAuthor + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: ~azure.servicebus.management._generated.models.TopicDescriptionEntryContent + """ + + _attribute_map = { + 'base': {'key': 'base', 'type': 'str', 'xml': {'name': 'base', 'attr': True, 'prefix': 'xml'}}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'author': {'key': 'author', 'type': 'ResponseAuthor'}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'TopicDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(TopicDescriptionEntry, self).__init__(**kwargs) + self.base = kwargs.get('base', None) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.published = kwargs.get('published', None) + self.updated = kwargs.get('updated', None) + self.author = kwargs.get('author', None) + self.link = kwargs.get('link', None) + self.content = kwargs.get('content', None) + + +class TopicDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param topic_description: Description of a Service Bus topic resource. + :type topic_description: ~azure.servicebus.management._generated.models.TopicDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'topic_description': {'key': 'TopicDescription', 'type': 'TopicDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(TopicDescriptionEntryContent, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.topic_description = kwargs.get('topic_description', None) + + +class TopicDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Topic entries. + :type entry: list[~azure.servicebus.management._generated.models.TopicDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[TopicDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + **kwargs + ): + super(TopicDescriptionFeed, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.title = kwargs.get('title', None) + self.updated = kwargs.get('updated', None) + self.link = kwargs.get('link', None) + self.entry = kwargs.get('entry', None) + + +class TrueFilter(RuleFilter): + """TrueFilter. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + **kwargs + ): + super(TrueFilter, self).__init__(**kwargs) + self.type = 'TrueFilter' + self.sql_expression = kwargs.get('sql_expression', "1 = 1") diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py index e2288a5862aa..25a40c7a1cc4 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py @@ -79,6 +79,100 @@ def __init__( self.secondary_key = secondary_key +class RuleFilter(msrest.serialization.Model): + """RuleFilter. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CorrelationFilter, FalseFilter, SqlFilter, TrueFilter. + + :param type: Constant filled by server. + :type type: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + } + + _subtype_map = { + 'type': {'CorrelationFilter': 'CorrelationFilter', 'FalseFilter': 'FalseFilter', 'SqlFilter': 'SqlFilter', 'TrueFilter': 'TrueFilter'} + } + _xml_map = { + 'name': 'Filter', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(RuleFilter, self).__init__(**kwargs) + self.type: Optional[str] = None + + +class CorrelationFilter(RuleFilter): + """CorrelationFilter. + + :param type: Constant filled by server. + :type type: str + :param correlation_id: + :type correlation_id: str + :param message_id: + :type message_id: str + :param to: + :type to: str + :param reply_to: + :type reply_to: str + :param label: + :type label: str + :param session_id: + :type session_id: str + :param reply_to_session_id: + :type reply_to_session_id: str + :param content_type: + :type content_type: str + :param properties: + :type properties: list[~azure.servicebus.management._generated.models.KeyValue] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'correlation_id': {'key': 'CorrelationId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_id': {'key': 'MessageId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'to': {'key': 'To', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'reply_to': {'key': 'ReplyTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'label': {'key': 'Label', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'session_id': {'key': 'SessionId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'reply_to_session_id': {'key': 'ReplyToSessionId', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'content_type': {'key': 'ContentType', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'properties': {'key': 'Properties', 'type': '[KeyValue]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'KeyValueOfstringanyType', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + *, + correlation_id: Optional[str] = None, + message_id: Optional[str] = None, + to: Optional[str] = None, + reply_to: Optional[str] = None, + label: Optional[str] = None, + session_id: Optional[str] = None, + reply_to_session_id: Optional[str] = None, + content_type: Optional[str] = None, + properties: Optional[List["KeyValue"]] = None, + **kwargs + ): + super(CorrelationFilter, self).__init__(**kwargs) + self.type: str = 'CorrelationFilter' + self.correlation_id = correlation_id + self.message_id = message_id + self.to = to + self.reply_to = reply_to + self.label = label + self.session_id = session_id + self.reply_to_session_id = reply_to_session_id + self.content_type = content_type + self.properties = properties + + class CreateQueueBody(msrest.serialization.Model): """The request body for creating a queue. @@ -132,6 +226,113 @@ def __init__( self.queue_description = queue_description +class CreateRuleBody(msrest.serialization.Model): + """The request body for creating a topic. + + :param content: RuleDescription for the new Rule. + :type content: ~azure.servicebus.management._generated.models.CreateRuleBodyContent + """ + + _attribute_map = { + 'content': {'key': 'content', 'type': 'CreateRuleBodyContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + content: Optional["CreateRuleBodyContent"] = None, + **kwargs + ): + super(CreateRuleBody, self).__init__(**kwargs) + self.content = content + + +class CreateRuleBodyContent(msrest.serialization.Model): + """RuleDescription for the new Rule. + + :param type: MIME type of content. + :type type: str + :param rule_description: Rule information to create. + :type rule_description: ~azure.servicebus.management._generated.models.RuleDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'rule_description': {'key': 'RuleDescription', 'type': 'RuleDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + type: Optional[str] = "application/xml", + rule_description: Optional["RuleDescription"] = None, + **kwargs + ): + super(CreateRuleBodyContent, self).__init__(**kwargs) + self.type = type + self.rule_description = rule_description + + +class CreateSubscriptionBody(msrest.serialization.Model): + """The request body for creating a topic. + + :param content: TopicDescription for the new topic. + :type content: ~azure.servicebus.management._generated.models.CreateSubscriptionBodyContent + """ + + _attribute_map = { + 'content': {'key': 'content', 'type': 'CreateSubscriptionBodyContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + content: Optional["CreateSubscriptionBodyContent"] = None, + **kwargs + ): + super(CreateSubscriptionBody, self).__init__(**kwargs) + self.content = content + + +class CreateSubscriptionBodyContent(msrest.serialization.Model): + """TopicDescription for the new topic. + + :param type: MIME type of content. + :type type: str + :param subscription_description: Topic information to create. + :type subscription_description: + ~azure.servicebus.management._generated.models.SubscriptionDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'subscription_description': {'key': 'SubscriptionDescription', 'type': 'SubscriptionDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + type: Optional[str] = "application/xml", + subscription_description: Optional["SubscriptionDescription"] = None, + **kwargs + ): + super(CreateSubscriptionBodyContent, self).__init__(**kwargs) + self.type = type + self.subscription_description = subscription_description + + class CreateTopicBody(msrest.serialization.Model): """The request body for creating a topic. @@ -185,6 +386,108 @@ def __init__( self.topic_description = topic_description +class RuleAction(msrest.serialization.Model): + """RuleAction. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmptyRuleAction, SqlRuleAction. + + :param type: Constant filled by server. + :type type: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + } + + _subtype_map = { + 'type': {'EmptyRuleAction': 'EmptyRuleAction', 'SqlRuleAction': 'SqlRuleAction'} + } + _xml_map = { + 'name': 'Action', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + **kwargs + ): + super(RuleAction, self).__init__(**kwargs) + self.type: Optional[str] = None + + +class EmptyRuleAction(RuleAction): + """EmptyRuleAction. + + :param type: Constant filled by server. + :type type: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + } + + def __init__( + self, + **kwargs + ): + super(EmptyRuleAction, self).__init__(**kwargs) + self.type: str = 'EmptyRuleAction' + + +class FalseFilter(RuleFilter): + """FalseFilter. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + *, + sql_expression: Optional[str] = "1 != 1", + **kwargs + ): + super(FalseFilter, self).__init__(**kwargs) + self.type: str = 'FalseFilter' + self.sql_expression = sql_expression + + +class KeyValue(msrest.serialization.Model): + """KeyValue. + + :param key: + :type key: str + :param value: + :type value: str + """ + + _attribute_map = { + 'key': {'key': 'Key', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'value': {'key': 'Value', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'KeyValueOfstringanyType', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + *, + key: Optional[str] = None, + value: Optional[str] = None, + **kwargs + ): + super(KeyValue, self).__init__(**kwargs) + self.key = key + self.value = value + + class MessageCountDetails(msrest.serialization.Model): """Details about the message counts in queue. @@ -230,101 +533,235 @@ def __init__( self.transfer_message_count = transfer_message_count -class QueueDescription(msrest.serialization.Model): - """Description of a Service Bus queue resource. +class NamespaceProperties(msrest.serialization.Model): + """The metadata related to a Service Bus namespace. - :param authorization_rules: Authorization rules for resource. - :type authorization_rules: - list[~azure.servicebus.management._generated.models.AuthorizationRule] - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :param created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. - :type dead_lettering_on_message_expiration: bool - :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta - :param entity_availability_status: Availibility status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management._generated.models.EntityAvailabilityStatus - :param enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :param enable_express: A value that indicates whether Express Entities are enabled. An express - queue holds a message in memory temporarily before writing it to persistent storage. - :type enable_express: bool - :param enable_partitioning: A value that indicates whether the queue is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :param is_anonymous_accessible: A value indicating if the resource can be accessed without - authorization. - :type is_anonymous_accessible: bool - :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time - that the message is locked for other receivers. The maximum value for LockDuration is 5 - minutes; the default value is 1 minute. - :type lock_duration: ~datetime.timedelta - :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered - after this number of deliveries. Default value is 10. - :type max_delivery_count: int - :param max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of - memory allocated for the queue. - :type max_size_in_megabytes: int - :param requires_duplicate_detection: A value indicating if this queue requires duplicate - detection. - :type requires_duplicate_detection: bool - :param requires_session: A value that indicates whether the queue supports the concept of - sessions. - :type requires_session: bool - :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param support_ordering: A value that indicates whether the queue supports ordering. - :type support_ordering: bool - :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :param size_in_bytes: The size of the queue, in bytes. - :type size_in_bytes: int - :param message_count: The number of messages in the queue. - :type message_count: int - :param message_count_details: Details about the message counts in queue. - :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param alias: Alias for the geo-disaster recovery Service Bus namespace. + :type alias: str + :param created_time: The exact time the namespace was created. + :type created_time: ~datetime.datetime + :param messaging_sku: The SKU for the messaging entity. Possible values include: "Basic", + "Standard", "Premium". + :type messaging_sku: str or ~azure.servicebus.management._generated.models.MessagingSku + :param messaging_units: The number of messaging units allocated to the namespace. + :type messaging_units: int + :param modified_time: The exact time the namespace was last modified. + :type modified_time: ~datetime.datetime + :param name: Name of the namespace. + :type name: str + :param namespace_type: The type of entities the namespace can contain. Possible values include: + "Messaging", "NotificationHub", "Mixed", "EventHub", "Relay". + :type namespace_type: str or ~azure.servicebus.management._generated.models.NamespaceType """ _attribute_map = { - 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'alias': {'key': 'Alias', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_time': {'key': 'CreatedTime', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'messaging_sku': {'key': 'MessagingSku', 'type': 'str', 'xml': {'name': 'MessagingSKU', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'messaging_units': {'key': 'MessagingUnits', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'modified_time': {'key': 'ModifiedTime', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'namespace_type': {'key': 'NamespaceType', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'NamespaceInfo', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + *, + alias: Optional[str] = None, + created_time: Optional[datetime.datetime] = None, + messaging_sku: Optional[Union[str, "MessagingSku"]] = None, + messaging_units: Optional[int] = None, + modified_time: Optional[datetime.datetime] = None, + name: Optional[str] = None, + namespace_type: Optional[Union[str, "NamespaceType"]] = None, + **kwargs + ): + super(NamespaceProperties, self).__init__(**kwargs) + self.alias = alias + self.created_time = created_time + self.messaging_sku = messaging_sku + self.messaging_units = messaging_units + self.modified_time = modified_time + self.name = name + self.namespace_type = namespace_type + + +class NamespacePropertiesEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying namespace info. + + :param id: The URL of the GET request. + :type id: str + :param title: The name of the namespace. + :type title: object + :param updated: The timestamp for when this namespace was last updated. + :type updated: ~datetime.datetime + :param author: The author that created this resource. + :type author: ~azure.servicebus.management._generated.models.ResponseAuthor + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: Information about the namespace. + :type content: ~azure.servicebus.management._generated.models.NamespacePropertiesEntryContent + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'author': {'key': 'author', 'type': 'ResponseAuthor'}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'NamespacePropertiesEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + id: Optional[str] = None, + title: Optional[object] = None, + updated: Optional[datetime.datetime] = None, + author: Optional["ResponseAuthor"] = None, + link: Optional["ResponseLink"] = None, + content: Optional["NamespacePropertiesEntryContent"] = None, + **kwargs + ): + super(NamespacePropertiesEntry, self).__init__(**kwargs) + self.id = id + self.title = title + self.updated = updated + self.author = author + self.link = link + self.content = content + + +class NamespacePropertiesEntryContent(msrest.serialization.Model): + """Information about the namespace. + + :param type: Type of content in namespace info response. + :type type: str + :param namespace_properties: The metadata related to a Service Bus namespace. + :type namespace_properties: ~azure.servicebus.management._generated.models.NamespaceProperties + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'namespace_properties': {'key': 'NamespaceProperties', 'type': 'NamespaceProperties'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + type: Optional[str] = None, + namespace_properties: Optional["NamespaceProperties"] = None, + **kwargs + ): + super(NamespacePropertiesEntryContent, self).__init__(**kwargs) + self.type = type + self.namespace_properties = namespace_properties + + +class QueueDescription(msrest.serialization.Model): + """Description of a Service Bus queue resource. + + :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :param max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of + memory allocated for the queue. + :type max_size_in_megabytes: int + :param requires_duplicate_detection: A value indicating if this queue requires duplicate + detection. + :type requires_duplicate_detection: bool + :param requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :param enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :param size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :param message_count: The number of messages in the queue. + :type message_count: int + :param is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :param authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] + :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param support_ordering: A value that indicates whether the queue supports ordering. + :type support_ordering: bool + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param enable_partitioning: A value that indicates whether the queue is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :param enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + """ + + _attribute_map = { + 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'requires_session': {'key': 'RequiresSession', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'size_in_bytes': {'key': 'SizeInBytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'message_count': {'key': 'MessageCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } _xml_map = { 'name': 'QueueDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' @@ -333,55 +770,55 @@ class QueueDescription(msrest.serialization.Model): def __init__( self, *, - authorization_rules: Optional[List["AuthorizationRule"]] = None, - auto_delete_on_idle: Optional[datetime.timedelta] = None, - created_at: Optional[datetime.datetime] = None, - dead_lettering_on_message_expiration: Optional[bool] = None, - default_message_time_to_live: Optional[datetime.timedelta] = None, - duplicate_detection_history_time_window: Optional[datetime.timedelta] = None, - entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, - enable_batched_operations: Optional[bool] = None, - enable_express: Optional[bool] = None, - enable_partitioning: Optional[bool] = None, - is_anonymous_accessible: Optional[bool] = None, lock_duration: Optional[datetime.timedelta] = None, - max_delivery_count: Optional[int] = None, max_size_in_megabytes: Optional[int] = None, requires_duplicate_detection: Optional[bool] = None, requires_session: Optional[bool] = None, - status: Optional[Union[str, "EntityStatus"]] = None, - support_ordering: Optional[bool] = None, - accessed_at: Optional[datetime.datetime] = None, - updated_at: Optional[datetime.datetime] = None, + default_message_time_to_live: Optional[datetime.timedelta] = None, + dead_lettering_on_message_expiration: Optional[bool] = None, + duplicate_detection_history_time_window: Optional[datetime.timedelta] = None, + max_delivery_count: Optional[int] = None, + enable_batched_operations: Optional[bool] = None, size_in_bytes: Optional[int] = None, message_count: Optional[int] = None, + is_anonymous_accessible: Optional[bool] = None, + authorization_rules: Optional[List["AuthorizationRule"]] = None, + status: Optional[Union[str, "EntityStatus"]] = None, + created_at: Optional[datetime.datetime] = None, + updated_at: Optional[datetime.datetime] = None, + accessed_at: Optional[datetime.datetime] = None, + support_ordering: Optional[bool] = None, message_count_details: Optional["MessageCountDetails"] = None, + auto_delete_on_idle: Optional[datetime.timedelta] = None, + enable_partitioning: Optional[bool] = None, + entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, + enable_express: Optional[bool] = None, **kwargs ): super(QueueDescription, self).__init__(**kwargs) - self.authorization_rules = authorization_rules - self.auto_delete_on_idle = auto_delete_on_idle - self.created_at = created_at - self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration - self.default_message_time_to_live = default_message_time_to_live - self.duplicate_detection_history_time_window = duplicate_detection_history_time_window - self.entity_availability_status = entity_availability_status - self.enable_batched_operations = enable_batched_operations - self.enable_express = enable_express - self.enable_partitioning = enable_partitioning - self.is_anonymous_accessible = is_anonymous_accessible self.lock_duration = lock_duration - self.max_delivery_count = max_delivery_count self.max_size_in_megabytes = max_size_in_megabytes self.requires_duplicate_detection = requires_duplicate_detection self.requires_session = requires_session - self.status = status - self.support_ordering = support_ordering - self.accessed_at = accessed_at - self.updated_at = updated_at + self.default_message_time_to_live = default_message_time_to_live + self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration + self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.max_delivery_count = max_delivery_count + self.enable_batched_operations = enable_batched_operations self.size_in_bytes = size_in_bytes self.message_count = message_count + self.is_anonymous_accessible = is_anonymous_accessible + self.authorization_rules = authorization_rules + self.status = status + self.created_at = created_at + self.updated_at = updated_at + self.accessed_at = accessed_at + self.support_ordering = support_ordering self.message_count_details = message_count_details + self.auto_delete_on_idle = auto_delete_on_idle + self.enable_partitioning = enable_partitioning + self.entity_availability_status = entity_availability_status + self.enable_express = enable_express class QueueDescriptionEntry(msrest.serialization.Model): @@ -392,7 +829,7 @@ class QueueDescriptionEntry(msrest.serialization.Model): :param id: The URL of the GET request. :type id: str :param title: The name of the queue. - :type title: ~azure.servicebus.management._generated.models.ResponseTitle + :type title: object :param published: The timestamp for when this queue was published. :type published: ~datetime.datetime :param updated: The timestamp for when this queue was last updated. @@ -407,10 +844,10 @@ class QueueDescriptionEntry(msrest.serialization.Model): _attribute_map = { 'base': {'key': 'base', 'type': 'str', 'xml': {'name': 'base', 'attr': True, 'prefix': 'xml'}}, - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'ResponseTitle'}, - 'published': {'key': 'published', 'type': 'iso-8601'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, 'author': {'key': 'author', 'type': 'ResponseAuthor'}, 'link': {'key': 'link', 'type': 'ResponseLink'}, 'content': {'key': 'content', 'type': 'QueueDescriptionEntryContent'}, @@ -424,7 +861,7 @@ def __init__( *, base: Optional[str] = None, id: Optional[str] = None, - title: Optional["ResponseTitle"] = None, + title: Optional[object] = None, published: Optional[datetime.datetime] = None, updated: Optional[datetime.datetime] = None, author: Optional["ResponseAuthor"] = None, @@ -456,6 +893,9 @@ class QueueDescriptionEntryContent(msrest.serialization.Model): 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, 'queue_description': {'key': 'QueueDescription', 'type': 'QueueDescription'}, } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } def __init__( self, @@ -475,7 +915,7 @@ class QueueDescriptionFeed(msrest.serialization.Model): :param id: URL of the list queues query. :type id: str :param title: The entity type for the feed. - :type title: str + :type title: object :param updated: Datetime of the query. :type updated: ~datetime.datetime :param link: Links to paginated response. @@ -485,9 +925,9 @@ class QueueDescriptionFeed(msrest.serialization.Model): """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'str'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, 'link': {'key': 'link', 'type': '[ResponseLink]'}, 'entry': {'key': 'entry', 'type': '[QueueDescriptionEntry]'}, } @@ -499,7 +939,7 @@ def __init__( self, *, id: Optional[str] = None, - title: Optional[str] = None, + title: Optional[object] = None, updated: Optional[datetime.datetime] = None, link: Optional[List["ResponseLink"]] = None, entry: Optional[List["QueueDescriptionEntry"]] = None, @@ -513,160 +953,218 @@ def __init__( self.entry = entry -class QueueDescriptionResponse(msrest.serialization.Model): - """The response from a Queue_Get operation. +class ResponseAuthor(msrest.serialization.Model): + """The author that created this resource. - :param id: The URL of the GET request. - :type id: str - :param title: The name of the queue. - :type title: str - :param published: The timestamp for when this queue was published. - :type published: str - :param updated: The timestamp for when this queue was last updated. - :type updated: str - :param author: The author that created this resource. - :type author: ~azure.servicebus.management._generated.models.ResponseAuthor - :param link: The URL for the HTTP request. - :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: Contents of a Queue_Get response. - :type content: ~azure.servicebus.management._generated.models.QueueDescriptionResponseContent + :param name: The Service Bus namespace. + :type name: str """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'title': {'key': 'title', 'type': 'str'}, - 'published': {'key': 'published', 'type': 'str'}, - 'updated': {'key': 'updated', 'type': 'str'}, - 'author': {'key': 'author', 'type': 'ResponseAuthor'}, - 'link': {'key': 'link', 'type': 'ResponseLink'}, - 'content': {'key': 'content', 'type': 'QueueDescriptionResponseContent'}, + 'name': {'key': 'name', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, } _xml_map = { - 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, *, - id: Optional[str] = None, - title: Optional[str] = None, - published: Optional[str] = None, - updated: Optional[str] = None, - author: Optional["ResponseAuthor"] = None, - link: Optional["ResponseLink"] = None, - content: Optional["QueueDescriptionResponseContent"] = None, + name: Optional[str] = None, **kwargs ): - super(QueueDescriptionResponse, self).__init__(**kwargs) - self.id = id - self.title = title - self.published = published - self.updated = updated - self.author = author - self.link = link - self.content = content + super(ResponseAuthor, self).__init__(**kwargs) + self.name = name -class QueueDescriptionResponseContent(msrest.serialization.Model): - """Contents of a Queue_Get response. +class ResponseLink(msrest.serialization.Model): + """The URL for the HTTP request. - :param type: Type of content in queue response. - :type type: str - :param queue_description: Description of a Service Bus queue resource. - :type queue_description: ~azure.servicebus.management._generated.models.QueueDescription + :param href: The URL of the GET request. + :type href: str + :param rel: What the link href is relative to. + :type rel: str """ _attribute_map = { - 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'queue_description': {'key': 'QueueDescription', 'type': 'QueueDescription'}, + 'href': {'key': 'href', 'type': 'str', 'xml': {'attr': True}}, + 'rel': {'key': 'rel', 'type': 'str', 'xml': {'attr': True}}, + } + _xml_map = { + 'name': 'link', 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, *, - type: Optional[str] = None, - queue_description: Optional["QueueDescription"] = None, + href: Optional[str] = None, + rel: Optional[str] = None, **kwargs ): - super(QueueDescriptionResponseContent, self).__init__(**kwargs) - self.type = type - self.queue_description = queue_description + super(ResponseLink, self).__init__(**kwargs) + self.href = href + self.rel = rel -class ResponseAuthor(msrest.serialization.Model): - """The author that created this resource. +class RuleDescription(msrest.serialization.Model): + """RuleDescription. - :param name: The Service Bus namespace. + :param filter: + :type filter: ~azure.servicebus.management._generated.models.RuleFilter + :param action: + :type action: ~azure.servicebus.management._generated.models.RuleAction + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param name: :type name: str """ _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, + 'filter': {'key': 'Filter', 'type': 'RuleFilter'}, + 'action': {'key': 'Action', 'type': 'RuleAction'}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, *, + filter: Optional["RuleFilter"] = None, + action: Optional["RuleAction"] = None, + created_at: Optional[datetime.datetime] = None, name: Optional[str] = None, **kwargs ): - super(ResponseAuthor, self).__init__(**kwargs) + super(RuleDescription, self).__init__(**kwargs) + self.filter = filter + self.action = action + self.created_at = created_at self.name = name -class ResponseLink(msrest.serialization.Model): - """The URL for the HTTP request. +class RuleDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying rules. - :param href: The URL of the GET request. - :type href: str - :param rel: What the link href is relative to. - :type rel: str + :param id: The URL of the GET request. + :type id: str + :param title: The name of the rule. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: ~azure.servicebus.management._generated.models.RuleDescriptionEntryContent """ _attribute_map = { - 'href': {'key': 'href', 'type': 'str', 'xml': {'attr': True}}, - 'rel': {'key': 'rel', 'type': 'str', 'xml': {'attr': True}}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'RuleDescriptionEntryContent'}, } _xml_map = { - 'name': 'link', 'ns': 'http://www.w3.org/2005/Atom' + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, *, - href: Optional[str] = None, - rel: Optional[str] = None, + id: Optional[str] = None, + title: Optional[object] = None, + published: Optional[datetime.datetime] = None, + updated: Optional[datetime.datetime] = None, + link: Optional["ResponseLink"] = None, + content: Optional["RuleDescriptionEntryContent"] = None, **kwargs ): - super(ResponseLink, self).__init__(**kwargs) - self.href = href - self.rel = rel + super(RuleDescriptionEntry, self).__init__(**kwargs) + self.id = id + self.title = title + self.published = published + self.updated = updated + self.link = link + self.content = content -class ResponseTitle(msrest.serialization.Model): - """The title of the response. +class RuleDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. - :param type: Type of value. + :param type: Type of content in queue response. :type type: str - :param title: Contents of the title. - :type title: str + :param rule_description: + :type rule_description: ~azure.servicebus.management._generated.models.RuleDescription """ _attribute_map = { 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, - 'title': {'key': 'title', 'type': 'str'}, + 'rule_description': {'key': 'RuleDescription', 'type': 'RuleDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' } def __init__( self, *, type: Optional[str] = None, - title: Optional[str] = None, + rule_description: Optional["RuleDescription"] = None, **kwargs ): - super(ResponseTitle, self).__init__(**kwargs) + super(RuleDescriptionEntryContent, self).__init__(**kwargs) self.type = type + self.rule_description = rule_description + + +class RuleDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Queue entries. + :type entry: list[~azure.servicebus.management._generated.models.RuleDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[RuleDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + id: Optional[str] = None, + title: Optional[object] = None, + updated: Optional[datetime.datetime] = None, + link: Optional[List["ResponseLink"]] = None, + entry: Optional[List["RuleDescriptionEntry"]] = None, + **kwargs + ): + super(RuleDescriptionFeed, self).__init__(**kwargs) + self.id = id self.title = title + self.updated = updated + self.link = link + self.entry = entry class ServiceBusManagementError(msrest.serialization.Model): @@ -695,90 +1193,592 @@ def __init__( self.detail = detail -class TopicDescription(msrest.serialization.Model): - """Description of a Service Bus topic resource. +class SqlFilter(RuleFilter): + """SqlFilter. - :param topic_name: Name of the topic. - :type topic_name: str - :param authorization_rules: Authorization rules for resource. - :type authorization_rules: - list[~azure.servicebus.management._generated.models.AuthorizationRule] - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + *, + sql_expression: Optional[str] = None, + **kwargs + ): + super(SqlFilter, self).__init__(**kwargs) + self.type: str = 'SqlFilter' + self.sql_expression = sql_expression + + +class SqlRuleAction(RuleAction): + """SqlRuleAction. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + *, + sql_expression: Optional[str] = None, + **kwargs + ): + super(SqlRuleAction, self).__init__(**kwargs) + self.type: str = 'SqlRuleAction' + self.sql_expression = sql_expression + + +class SubscriptionDescription(msrest.serialization.Model): + """Description of a Service Bus queue resource. + + :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :param requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. :type default_message_time_to_live: ~datetime.timedelta - :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta + :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :param dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this + queue has dead letter support when a message expires. + :type dead_lettering_on_filter_evaluation_exceptions: bool + :param message_count: The number of messages in the queue. + :type message_count: int + :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int :param enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool - :param enable_partitioning: A value that indicates whether the topic is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :param max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of - memory allocated for the topic. - :type max_size_in_megabytes: long - :param requires_duplicate_detection: A value indicating if this topic requires duplicate - detection. - :type requires_duplicate_detection: bool :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param support_ordering: A value that indicates whether the topic supports ordering. - :type support_ordering: bool - :param user_metadata: Metadata associated with the topic. - :type user_metadata: str + :param forward_to: .. raw:: html + + . + :type forward_to: str + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus """ _attribute_map = { - 'topic_name': {'key': 'TopicName', 'type': 'str'}, - 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'lock_duration': {'key': 'LockDuration', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_session': {'key': 'RequiresSession', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_message_expiration': {'key': 'DeadLetteringOnMessageExpiration', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'dead_lettering_on_filter_evaluation_exceptions': {'key': 'DeadLetteringOnFilterEvaluationExceptions', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count': {'key': 'MessageCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_delivery_count': {'key': 'MaxDeliveryCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'long'}, - 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, - 'user_metadata': {'key': 'UserMetadata', 'type': 'str'}, + 'forward_to': {'key': 'ForwardTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } _xml_map = { - 'name': 'TopicDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + 'name': 'SubscriptionDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' } def __init__( self, *, - topic_name: Optional[str] = None, - authorization_rules: Optional[List["AuthorizationRule"]] = None, - auto_delete_on_idle: Optional[datetime.timedelta] = None, + lock_duration: Optional[datetime.timedelta] = None, + requires_session: Optional[bool] = None, default_message_time_to_live: Optional[datetime.timedelta] = None, - duplicate_detection_history_time_window: Optional[datetime.timedelta] = None, + dead_lettering_on_message_expiration: Optional[bool] = None, + dead_lettering_on_filter_evaluation_exceptions: Optional[bool] = None, + message_count: Optional[int] = None, + max_delivery_count: Optional[int] = None, enable_batched_operations: Optional[bool] = None, - enable_partitioning: Optional[bool] = None, - max_size_in_megabytes: Optional[int] = None, - requires_duplicate_detection: Optional[bool] = None, status: Optional[Union[str, "EntityStatus"]] = None, - support_ordering: Optional[bool] = None, - user_metadata: Optional[str] = None, + forward_to: Optional[str] = None, + created_at: Optional[datetime.datetime] = None, + updated_at: Optional[datetime.datetime] = None, + accessed_at: Optional[datetime.datetime] = None, + message_count_details: Optional["MessageCountDetails"] = None, + auto_delete_on_idle: Optional[datetime.timedelta] = None, + entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, **kwargs ): - super(TopicDescription, self).__init__(**kwargs) - self.topic_name = topic_name - self.authorization_rules = authorization_rules - self.auto_delete_on_idle = auto_delete_on_idle + super(SubscriptionDescription, self).__init__(**kwargs) + self.lock_duration = lock_duration + self.requires_session = requires_session self.default_message_time_to_live = default_message_time_to_live - self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration + self.dead_lettering_on_filter_evaluation_exceptions = dead_lettering_on_filter_evaluation_exceptions + self.message_count = message_count + self.max_delivery_count = max_delivery_count self.enable_batched_operations = enable_batched_operations - self.enable_partitioning = enable_partitioning - self.max_size_in_megabytes = max_size_in_megabytes - self.requires_duplicate_detection = requires_duplicate_detection self.status = status - self.support_ordering = support_ordering - self.user_metadata = user_metadata + self.forward_to = forward_to + self.created_at = created_at + self.updated_at = updated_at + self.accessed_at = accessed_at + self.message_count_details = message_count_details + self.auto_delete_on_idle = auto_delete_on_idle + self.entity_availability_status = entity_availability_status + + +class SubscriptionDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying queues. + + :param id: The URL of the GET request. + :type id: str + :param title: The name of the subscription. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: + ~azure.servicebus.management._generated.models.SubscriptionDescriptionEntryContent + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'SubscriptionDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + id: Optional[str] = None, + title: Optional[object] = None, + published: Optional[datetime.datetime] = None, + updated: Optional[datetime.datetime] = None, + link: Optional["ResponseLink"] = None, + content: Optional["SubscriptionDescriptionEntryContent"] = None, + **kwargs + ): + super(SubscriptionDescriptionEntry, self).__init__(**kwargs) + self.id = id + self.title = title + self.published = published + self.updated = updated + self.link = link + self.content = content + + +class SubscriptionDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param subscription_description: Description of a Service Bus queue resource. + :type subscription_description: + ~azure.servicebus.management._generated.models.SubscriptionDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'subscription_description': {'key': 'SubscriptionDescription', 'type': 'SubscriptionDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + type: Optional[str] = None, + subscription_description: Optional["SubscriptionDescription"] = None, + **kwargs + ): + super(SubscriptionDescriptionEntryContent, self).__init__(**kwargs) + self.type = type + self.subscription_description = subscription_description + + +class SubscriptionDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Queue entries. + :type entry: list[~azure.servicebus.management._generated.models.SubscriptionDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[SubscriptionDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + id: Optional[str] = None, + title: Optional[object] = None, + updated: Optional[datetime.datetime] = None, + link: Optional[List["ResponseLink"]] = None, + entry: Optional[List["SubscriptionDescriptionEntry"]] = None, + **kwargs + ): + super(SubscriptionDescriptionFeed, self).__init__(**kwargs) + self.id = id + self.title = title + self.updated = updated + self.link = link + self.entry = entry + + +class TopicDescription(msrest.serialization.Model): + """Description of a Service Bus topic resource. + + :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :param max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of + memory allocated for the topic. + :type max_size_in_megabytes: long + :param requires_duplicate_detection: A value indicating if this topic requires duplicate + detection. + :type requires_duplicate_detection: bool + :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :param enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :param size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :param filtering_messages_before_publishing: Filter messages before publishing. + :type filtering_messages_before_publishing: bool + :param is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :param authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] + :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :param updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :param accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :param support_ordering: A value that indicates whether the topic supports ordering. + :type support_ordering: bool + :param message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :param subscription_count: The number of subscriptions in the topic. + :type subscription_count: int + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :param enable_partitioning: A value that indicates whether the topic is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :param entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :param enable_subscription_partitioning: A value that indicates whether the topic's + subscription is to be partitioned. + :type enable_subscription_partitioning: bool + :param enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :param user_metadata: Metadata associated with the topic. + :type user_metadata: str + """ + + _attribute_map = { + 'default_message_time_to_live': {'key': 'DefaultMessageTimeToLive', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'max_size_in_megabytes': {'key': 'MaxSizeInMegabytes', 'type': 'long', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'requires_duplicate_detection': {'key': 'RequiresDuplicateDetection', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'duplicate_detection_history_time_window': {'key': 'DuplicateDetectionHistoryTimeWindow', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_batched_operations': {'key': 'EnableBatchedOperations', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'size_in_bytes': {'key': 'SizeInBytes', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'filtering_messages_before_publishing': {'key': 'FilteringMessagesBeforePublishing', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'support_ordering': {'key': 'SupportOrdering', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'subscription_count': {'key': 'SubscriptionCount', 'type': 'int', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_subscription_partitioning': {'key': 'EnableSubscriptionPartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + _xml_map = { + 'name': 'TopicDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' + } + + def __init__( + self, + *, + default_message_time_to_live: Optional[datetime.timedelta] = None, + max_size_in_megabytes: Optional[int] = None, + requires_duplicate_detection: Optional[bool] = None, + duplicate_detection_history_time_window: Optional[datetime.timedelta] = None, + enable_batched_operations: Optional[bool] = None, + size_in_bytes: Optional[int] = None, + filtering_messages_before_publishing: Optional[bool] = None, + is_anonymous_accessible: Optional[bool] = None, + authorization_rules: Optional[List["AuthorizationRule"]] = None, + status: Optional[Union[str, "EntityStatus"]] = None, + created_at: Optional[datetime.datetime] = None, + updated_at: Optional[datetime.datetime] = None, + accessed_at: Optional[datetime.datetime] = None, + support_ordering: Optional[bool] = None, + message_count_details: Optional["MessageCountDetails"] = None, + subscription_count: Optional[int] = None, + auto_delete_on_idle: Optional[datetime.timedelta] = None, + enable_partitioning: Optional[bool] = None, + entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, + enable_subscription_partitioning: Optional[bool] = None, + enable_express: Optional[bool] = None, + user_metadata: Optional[str] = None, + **kwargs + ): + super(TopicDescription, self).__init__(**kwargs) + self.default_message_time_to_live = default_message_time_to_live + self.max_size_in_megabytes = max_size_in_megabytes + self.requires_duplicate_detection = requires_duplicate_detection + self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.enable_batched_operations = enable_batched_operations + self.size_in_bytes = size_in_bytes + self.filtering_messages_before_publishing = filtering_messages_before_publishing + self.is_anonymous_accessible = is_anonymous_accessible + self.authorization_rules = authorization_rules + self.status = status + self.created_at = created_at + self.updated_at = updated_at + self.accessed_at = accessed_at + self.support_ordering = support_ordering + self.message_count_details = message_count_details + self.subscription_count = subscription_count + self.auto_delete_on_idle = auto_delete_on_idle + self.enable_partitioning = enable_partitioning + self.entity_availability_status = entity_availability_status + self.enable_subscription_partitioning = enable_subscription_partitioning + self.enable_express = enable_express + self.user_metadata = user_metadata + + +class TopicDescriptionEntry(msrest.serialization.Model): + """Represents an entry in the feed when querying topics. + + :param base: Base URL for the query. + :type base: str + :param id: The URL of the GET request. + :type id: str + :param title: The name of the queue. + :type title: object + :param published: The timestamp for when this queue was published. + :type published: ~datetime.datetime + :param updated: The timestamp for when this queue was last updated. + :type updated: ~datetime.datetime + :param author: The author that created this resource. + :type author: ~azure.servicebus.management._generated.models.ResponseAuthor + :param link: The URL for the HTTP request. + :type link: ~azure.servicebus.management._generated.models.ResponseLink + :param content: The QueueDescription. + :type content: ~azure.servicebus.management._generated.models.TopicDescriptionEntryContent + """ + + _attribute_map = { + 'base': {'key': 'base', 'type': 'str', 'xml': {'name': 'base', 'attr': True, 'prefix': 'xml'}}, + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'published': {'key': 'published', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'author': {'key': 'author', 'type': 'ResponseAuthor'}, + 'link': {'key': 'link', 'type': 'ResponseLink'}, + 'content': {'key': 'content', 'type': 'TopicDescriptionEntryContent'}, + } + _xml_map = { + 'name': 'entry', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + base: Optional[str] = None, + id: Optional[str] = None, + title: Optional[object] = None, + published: Optional[datetime.datetime] = None, + updated: Optional[datetime.datetime] = None, + author: Optional["ResponseAuthor"] = None, + link: Optional["ResponseLink"] = None, + content: Optional["TopicDescriptionEntryContent"] = None, + **kwargs + ): + super(TopicDescriptionEntry, self).__init__(**kwargs) + self.base = base + self.id = id + self.title = title + self.published = published + self.updated = updated + self.author = author + self.link = link + self.content = content + + +class TopicDescriptionEntryContent(msrest.serialization.Model): + """The QueueDescription. + + :param type: Type of content in queue response. + :type type: str + :param topic_description: Description of a Service Bus topic resource. + :type topic_description: ~azure.servicebus.management._generated.models.TopicDescription + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True}}, + 'topic_description': {'key': 'TopicDescription', 'type': 'TopicDescription'}, + } + _xml_map = { + 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + type: Optional[str] = None, + topic_description: Optional["TopicDescription"] = None, + **kwargs + ): + super(TopicDescriptionEntryContent, self).__init__(**kwargs) + self.type = type + self.topic_description = topic_description + + +class TopicDescriptionFeed(msrest.serialization.Model): + """Response from listing Service Bus queues. + + :param id: URL of the list queues query. + :type id: str + :param title: The entity type for the feed. + :type title: object + :param updated: Datetime of the query. + :type updated: ~datetime.datetime + :param link: Links to paginated response. + :type link: list[~azure.servicebus.management._generated.models.ResponseLink] + :param entry: Topic entries. + :type entry: list[~azure.servicebus.management._generated.models.TopicDescriptionEntry] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'title': {'key': 'title', 'type': 'object'}, + 'updated': {'key': 'updated', 'type': 'iso-8601', 'xml': {'ns': 'http://www.w3.org/2005/Atom'}}, + 'link': {'key': 'link', 'type': '[ResponseLink]'}, + 'entry': {'key': 'entry', 'type': '[TopicDescriptionEntry]'}, + } + _xml_map = { + 'name': 'feed', 'ns': 'http://www.w3.org/2005/Atom' + } + + def __init__( + self, + *, + id: Optional[str] = None, + title: Optional[object] = None, + updated: Optional[datetime.datetime] = None, + link: Optional[List["ResponseLink"]] = None, + entry: Optional[List["TopicDescriptionEntry"]] = None, + **kwargs + ): + super(TopicDescriptionFeed, self).__init__(**kwargs) + self.id = id + self.title = title + self.updated = updated + self.link = link + self.entry = entry + + +class TrueFilter(RuleFilter): + """TrueFilter. + + :param type: Constant filled by server. + :type type: str + :param sql_expression: + :type sql_expression: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str', 'xml': {'attr': True, 'prefix': 'xsi', 'ns': 'http://www.w3.org/2001/XMLSchema-instance'}}, + 'sql_expression': {'key': 'SqlExpression', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + } + + def __init__( + self, + *, + sql_expression: Optional[str] = "1 = 1", + **kwargs + ): + super(TrueFilter, self).__init__(**kwargs) + self.type: str = 'TrueFilter' + self.sql_expression = sql_expression diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_service_bus_management_client_enums.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_service_bus_management_client_enums.py index 152d140b5976..faeb59e91e48 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_service_bus_management_client_enums.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_service_bus_management_client_enums.py @@ -17,7 +17,7 @@ class AccessRights(str, Enum): listen = "Listen" class EntityAvailabilityStatus(str, Enum): - """Availibility status of the entity + """Availability status of the entity """ available = "Available" @@ -39,3 +39,21 @@ class EntityStatus(str, Enum): restoring = "Restoring" send_disabled = "SendDisabled" unknown = "Unknown" + +class MessagingSku(str, Enum): + """The SKU for the messaging entity. + """ + + basic = "Basic" + standard = "Standard" + premium = "Premium" + +class NamespaceType(str, Enum): + """The type of entities the namespace can contain. + """ + + messaging = "Messaging" + notification_hub = "NotificationHub" + mixed = "Mixed" + event_hub = "EventHub" + relay = "Relay" diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/__init__.py index 032ef7a253fd..eae22edb0188 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/__init__.py @@ -6,10 +6,16 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._queue_operations import QueueOperations +from ._entity_operations import EntityOperations from ._service_bus_management_client_operations import ServiceBusManagementClientOperationsMixin +from ._subscription_operations import SubscriptionOperations +from ._rule_operations import RuleOperations +from ._namespace_operations import NamespaceOperations __all__ = [ - 'QueueOperations', + 'EntityOperations', 'ServiceBusManagementClientOperationsMixin', + 'SubscriptionOperations', + 'RuleOperations', + 'NamespaceOperations', ] diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_queue_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_entity_operations.py similarity index 87% rename from sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_queue_operations.py rename to sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_entity_operations.py index 400b34751f40..521e710dc2cf 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_queue_operations.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_entity_operations.py @@ -21,8 +21,8 @@ T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] -class QueueOperations(object): - """QueueOperations operations. +class EntityOperations(object): + """EntityOperations operations. You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute. @@ -45,18 +45,18 @@ def __init__(self, client, config, serializer, deserializer): def get( self, - queue_name, # type: str + entity_name, # type: str enrich=False, # type: Optional[bool] api_version="2017_04", # type: Optional[str] **kwargs # type: Any ): # type: (...) -> object - """Get the details about the Queue with the given queueName. + """Get the details about the Queue or Topic with the given entityName. - Get Queue. + Get Queue or Topic. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str :param enrich: A query parameter that sets enrich to true or false. :type enrich: bool :param api_version: Api Version. @@ -74,7 +74,7 @@ def get( url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -105,22 +105,22 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/{queueName}'} # type: ignore + get.metadata = {'url': '/{entityName}'} # type: ignore def put( self, - queue_name, # type: str + entity_name, # type: str request_body, # type: object api_version="2017_04", # type: Optional[str] if_match=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> object - """Create or update a queue at the provided queuePath. + """Create or update a queue or topic at the provided entityName. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str - :param request_body: Parameters required to make or edit a queue. + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str + :param request_body: Parameters required to make or edit a queue or topic. :type request_body: object :param api_version: Api Version. :type api_version: str @@ -137,13 +137,13 @@ def put( cls = kwargs.pop('cls', None) # type: ClsType[object] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - content_type = kwargs.pop("content_type", "application/xml") + content_type = kwargs.pop("content_type", "application/atom+xml") # Construct URL url = self.put.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -184,21 +184,21 @@ def put( return cls(pipeline_response, deserialized, {}) return deserialized - put.metadata = {'url': '/{queueName}'} # type: ignore + put.metadata = {'url': '/{entityName}'} # type: ignore def delete( self, - queue_name, # type: str + entity_name, # type: str api_version="2017_04", # type: Optional[str] **kwargs # type: Any ): # type: (...) -> object - """Delete the Queue with the given queueName. + """Delete the Queue or Topic with the given entityName. - Delete Queue. + Delete Queue or Topic. - :param queue_name: The name of the queue relative to the Service Bus namespace. - :type queue_name: str + :param entity_name: The name of the queue or topic relative to the Service Bus namespace. + :type entity_name: str :param api_version: Api Version. :type api_version: str :keyword callable cls: A custom type or function that will be passed the direct response @@ -214,7 +214,7 @@ def delete( url = self.delete.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', min_length=1), + 'entityName': self._serialize.url("entity_name", entity_name, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -243,4 +243,4 @@ def delete( return cls(pipeline_response, deserialized, {}) return deserialized - delete.metadata = {'url': '/{queueName}'} # type: ignore + delete.metadata = {'url': '/{entityName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_namespace_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_namespace_operations.py new file mode 100644 index 000000000000..99947994be8c --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_namespace_operations.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NamespaceOperations(object): + """NamespaceOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.NamespacePropertiesEntry" + """Get the details about the Service Bus namespace. + + Get Namespace Properties. + + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NamespacePropertiesEntry, or the result of cls(response) + :rtype: ~azure.servicebus.management._generated.models.NamespacePropertiesEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.NamespacePropertiesEntry"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('NamespacePropertiesEntry', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/$namespaceinfo'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_rule_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_rule_operations.py new file mode 100644 index 000000000000..4bf126c0d286 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_rule_operations.py @@ -0,0 +1,270 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RuleOperations(object): + """RuleOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + topic_name, # type: str + subscription_name, # type: str + rule_name, # type: str + enrich=False, # type: Optional[bool] + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Get the details about the rule of a subscription of a topic. + + Get Rule. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param enrich: A query parameter that sets enrich to true or false. + :type enrich: bool + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if enrich is not None: + query_parameters['enrich'] = self._serialize.query("enrich", enrich, 'bool') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore + + def put( + self, + topic_name, # type: str + subscription_name, # type: str + rule_name, # type: str + request_body, # type: object + api_version="2017_04", # type: Optional[str] + if_match=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Create or update a rule. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param request_body: Parameters required to make or edit a rule. + :type request_body: object + :param api_version: Api Version. + :type api_version: str + :param if_match: Match condition for an entity to be updated. If specified and a matching + entity is not found, an error will be raised. To force an unconditional update, set to the + wildcard character (*). If not specified, an insert will be performed when no existing entity + is found to update and a replace will be performed if an existing entity is found. + :type if_match: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/atom+xml") + + # Construct URL + url = self.put.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_body, 'object', is_xml=True) + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('object', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + put.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore + + def delete( + self, + topic_name, # type: str + subscription_name, # type: str + rule_name, # type: str + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Delete the rule with the given topicName, subscriptionName and ruleName. + + Delete Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param rule_name: name of the filter. + :type rule_name: str + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + delete.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_service_bus_management_client_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_service_bus_management_client_operations.py index 4695b3f7a5e7..367c39a964b4 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_service_bus_management_client_operations.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_service_bus_management_client_operations.py @@ -23,6 +23,148 @@ class ServiceBusManagementClientOperationsMixin(object): + def list_subscriptions( + self, + topic_name, # type: str + skip=0, # type: Optional[int] + top=100, # type: Optional[int] + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Get the details about the subscriptions of the given topic. + + Get subscriptions. + + :param topic_name: name of the topic. + :type topic_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.list_subscriptions.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_subscriptions.metadata = {'url': '/{topicName}/subscriptions'} # type: ignore + + def list_rules( + self, + topic_name, # type: str + subscription_name, # type: str + skip=0, # type: Optional[int] + top=100, # type: Optional[int] + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Get the details about the rules of the given topic subscription. + + Get rules of a topic subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.list_rules.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_rules.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}/rules'} # type: ignore + def list_entities( self, entity_type, # type: str diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py new file mode 100644 index 000000000000..c4b4dfa9f4e2 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py @@ -0,0 +1,257 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SubscriptionOperations(object): + """SubscriptionOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.servicebus.management._generated.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + topic_name, # type: str + subscription_name, # type: str + enrich=False, # type: Optional[bool] + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Get the details about the subscription of a topic. + + Get Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param enrich: A query parameter that sets enrich to true or false. + :type enrich: bool + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if enrich is not None: + query_parameters['enrich'] = self._serialize.query("enrich", enrich, 'bool') + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore + + def put( + self, + topic_name, # type: str + subscription_name, # type: str + request_body, # type: object + api_version="2017_04", # type: Optional[str] + if_match=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Create or update a subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param request_body: Parameters required to make or edit a subscription. + :type request_body: object + :param api_version: Api Version. + :type api_version: str + :param if_match: Match condition for an entity to be updated. If specified and a matching + entity is not found, an error will be raised. To force an unconditional update, set to the + wildcard character (*). If not specified, an insert will be performed when no existing entity + is found to update and a replace will be performed if an existing entity is found. + :type if_match: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/atom+xml") + + # Construct URL + url = self.put.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_body, 'object', is_xml=True) + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('object', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + put.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore + + def delete( + self, + topic_name, # type: str + subscription_name, # type: str + api_version="2017_04", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> object + """Delete the subscription with the given topicName and subscriptionName. + + Delete Subscription. + + :param topic_name: name of the topic. + :type topic_name: str + :param subscription_name: name of the subscription. + :type subscription_name: str + :param api_version: Api Version. + :type api_version: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: object, or the result of cls(response) + :rtype: object + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[object] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'topicName': self._serialize.url("topic_name", topic_name, 'str', min_length=1), + 'subscriptionName': self._serialize.url("subscription_name", subscription_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/xml' + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ServiceBusManagementError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('object', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + delete.metadata = {'url': '/{topicName}/subscriptions/{subscriptionName}'} # type: ignore diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py new file mode 100644 index 000000000000..809879e6c090 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py @@ -0,0 +1,18 @@ +from contextlib import contextmanager + +from azure.core.exceptions import HttpResponseError + +@contextmanager +def _handle_response_error(): + try: + yield + except HttpResponseError as response_error: + try: + new_response_error = HttpResponseError( + message=response_error.model.detail, + response=response_error.response, + model=response_error.model + ) + except AttributeError: + new_response_error = response_error + raise new_response_error \ No newline at end of file diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 05b67dcc2c99..c7c17a5f9dc6 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -2,14 +2,24 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +import functools from copy import copy -from contextlib import contextmanager -from typing import TYPE_CHECKING, Dict, Any, Union, List, cast, Tuple -from xml.etree.ElementTree import ElementTree, Element +from typing import TYPE_CHECKING, Dict, Any, Union, cast +from xml.etree.ElementTree import ElementTree import six +from azure.core.paging import ItemPaged +from ._generated.models import QueueDescriptionFeed, TopicDescriptionEntry, \ + QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ + RuleDescriptionFeed, NamespacePropertiesEntry, CreateTopicBody, CreateTopicBodyContent, \ + TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ + CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ + QueueDescription as InternalQueueDescription, TopicDescription as InternalTopicDescription, \ + SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription +from ._utils import extract_data_template, get_next_template +from ._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy from msrest.exceptions import ValidationError -from azure.core.exceptions import ResourceNotFoundError, HttpResponseError, raise_with_traceback +from azure.core.exceptions import raise_with_traceback, ResourceNotFoundError from azure.core.pipeline import Pipeline from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ RequestIdPolicy, BearerTokenCredentialPolicy @@ -20,45 +30,17 @@ from .._base_handler import ServiceBusSharedKeyCredential from ._shared_key_policy import ServiceBusSharedKeyCredentialPolicy from ._generated._configuration import ServiceBusManagementClientConfiguration -from ._generated.models import CreateQueueBody, CreateQueueBodyContent, \ - QueueDescription as InternalQueueDescription from ._generated._service_bus_management_client import ServiceBusManagementClient as ServiceBusManagementClientImpl -from ._model_workaround import QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES, avoid_timedelta_overflow +from ._model_workaround import avoid_timedelta_overflow from . import _constants as constants -from ._models import QueueRuntimeInfo, QueueDescription - +from ._models import QueueRuntimeInfo, QueueDescription, TopicDescription, TopicRuntimeInfo, \ + SubscriptionDescription, SubscriptionRuntimeInfo, RuleDescription +from ._handle_response_error import _handle_response_error if TYPE_CHECKING: from azure.core.credentials import TokenCredential # pylint:disable=ungrouped-imports -@contextmanager -def _handle_response_error(): - try: - yield - except HttpResponseError as response_error: - try: - new_response_error = HttpResponseError( - message=response_error.model.detail, - response=response_error.response, - model=response_error.model - ) - except AttributeError: - new_response_error = response_error - raise new_response_error - - -def _convert_xml_to_object(queue_name, et): - # type: (str, Union[Element, ElementTree]) -> InternalQueueDescription - content_ele = cast(ElementTree, et).find(constants.CONTENT_TAG) - if not content_ele: - raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) - qc_ele = content_ele.find(constants.QUEUE_DESCRIPTION_TAG) - obj = InternalQueueDescription.deserialize(qc_ele) - - return obj - - class ServiceBusManagementClient: """Use this client to create, update, list, and delete resources of a ServiceBus namespace. @@ -76,6 +58,13 @@ def __init__(self, fully_qualified_namespace, credential, **kwargs): self._pipeline = self._build_pipeline() self._impl = ServiceBusManagementClientImpl(endpoint=fully_qualified_namespace, pipeline=self._pipeline) + def __enter__(self): + self._impl.__enter__() + return self + + def __exit__(self, *exc_details): + self._impl.__exit__(*exc_details) + def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use transport = kwargs.get('transport') policies = kwargs.get('policies') @@ -89,6 +78,7 @@ def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use self._config.user_agent_policy, self._config.proxy_policy, ContentDecodePolicy(**kwargs), + ServiceBusXMLWorkaroundPolicy(), self._config.redirect_policy, self._config.retry_policy, credential_policy, @@ -110,45 +100,38 @@ def from_connection_string(cls, conn_str, **kwargs): """ endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) if "//" in endpoint: - endpoint = endpoint[endpoint.index("//")+2:] + endpoint = endpoint[endpoint.index("//") + 2:] return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) - def _get_queue_object(self, queue_name, **kwargs): - # type: (str, Any) -> InternalQueueDescription - - if not queue_name: - raise ValueError("queue_name must be a non-empty str") + def _get_entity_element(self, entity_name, enrich=False, **kwargs): + # type: (str, bool, Any) -> ElementTree with _handle_response_error(): - et = cast( + element = cast( ElementTree, - self._impl.queue.get(queue_name, enrich=False, api_version=constants.API_VERSION, **kwargs) + self._impl.entity.get(entity_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) ) - return _convert_xml_to_object(queue_name, et) + return element - def _list_queues(self, **kwargs): - # type: (Any) -> List[Tuple[str, InternalQueueDescription]] + def _get_subscription_element(self, topic_name, subscription_name, enrich=False, **kwargs): + # type: (str, str, bool, Any) -> ElementTree - start_index = kwargs.pop("start_index", 0) - max_count = kwargs.pop("max_count", 100) with _handle_response_error(): - et = cast( + element = cast( ElementTree, - self._impl.list_entities( - entity_type=constants.ENTITY_TYPE_QUEUES, skip=start_index, top=max_count, - api_version=constants.API_VERSION, **kwargs - ) + self._impl.subscription.get(topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) ) - entries = et.findall(constants.ENTRY_TAG) - queues = [] - for entry in entries: - entity_name = entry.find(constants.TITLE_TAG).text # type: ignore - internal_object = _convert_xml_to_object( - entity_name, # type: ignore - cast(Element, entry) + return element + + def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): + # type: (str, str, str, Any) -> ElementTree + + with _handle_response_error(): + element = cast( + ElementTree, + self._impl.rule.get(topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) ) - queues.append((entity_name, internal_object)) - return queues # type: ignore + return element def get_queue(self, queue_name, **kwargs): # type: (str, Any) -> QueueDescription @@ -157,10 +140,12 @@ def get_queue(self, queue_name, **kwargs): :param str queue_name: The name of the queue. :rtype: ~azure.servicebus.management.QueueDescription """ - queue_description = QueueDescription._from_internal_entity( # pylint:disable=protected-access - self._get_queue_object(queue_name, **kwargs) - ) - queue_description.queue_name = queue_name + entry_ele = self._get_entity_element(queue_name, **kwargs) + entry = QueueDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) + queue_description = QueueDescription._from_internal_entity(entry.content.queue_description) + queue_description.name = queue_name return queue_description def get_queue_runtime_info(self, queue_name, **kwargs): @@ -170,10 +155,12 @@ def get_queue_runtime_info(self, queue_name, **kwargs): :param str queue_name: The name of the queue. :rtype: ~azure.servicebus.management.QueueRuntimeInfo """ - runtime_info = QueueRuntimeInfo._from_internal_entity( # pylint:disable=protected-access - self._get_queue_object(queue_name, **kwargs) - ) - runtime_info.queue_name = queue_name + entry_ele = self._get_entity_element(queue_name, **kwargs) + entry = QueueDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) + runtime_info = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) + runtime_info.name = queue_name return runtime_info def create_queue(self, queue, **kwargs): @@ -183,11 +170,11 @@ def create_queue(self, queue, **kwargs): :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name of the created queue. Other properties of the created queue will have default values decided by the ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. - :type queue: Union[str, QueueDescription] + :type queue: Union[str, ~azure.servicebus.management.QueueDescription] :rtype: ~azure.servicebus.management.QueueDescription """ try: - queue_name = queue.queue_name # type: ignore + queue_name = queue.name # type: ignore to_create = queue._to_internal_entity() # type: ignore # pylint:disable=protected-access except AttributeError: queue_name = queue # type: ignore @@ -201,9 +188,9 @@ def create_queue(self, queue, **kwargs): request_body = create_entity_body.serialize(is_xml=True) try: with _handle_response_error(): - et = cast( + entry_ele = cast( ElementTree, - self._impl.queue.put( + self._impl.entity.put( queue_name, # type: ignore request_body, api_version=constants.API_VERSION, **kwargs) ) @@ -212,35 +199,49 @@ def create_queue(self, queue, **kwargs): if isinstance(queue, (six.string_types, QueueDescription)): raise_with_traceback( ValueError, - message="queue must be a non-empty str or a QueueDescription with non-empty str queue_name") + message="queue must be a non-empty str or a QueueDescription with non-empty str name") raise_with_traceback( TypeError, - message="queue must be a non-empty str or a QueueDescription with non-empty str queue_name") + message="queue must be a non-empty str or a QueueDescription with non-empty str name") - result = QueueDescription._from_internal_entity( # pylint:disable=protected-access - _convert_xml_to_object(queue_name, et) - ) - result.queue_name = queue_name + entry = QueueDescriptionEntry.deserialize(entry_ele) + result = QueueDescription._from_internal_entity(entry.content.queue_description) + result.name = queue_name return result def update_queue(self, queue_description, **kwargs): - # type: (QueueDescription, Any) -> QueueDescription + # type: (QueueDescription, Any) -> None """Update a queue. :param queue_description: The properties of this `QueueDescription` will be applied to the queue in ServiceBus. Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. :type queue_description: ~azure.servicebus.management.QueueDescription + :keyword timedelta default_message_time_to_live + :keyword timedelta lock_duration + :keyword bool dead_lettering_on_message_expiration + :keyword timedelta duplicate_detection_history_time_window + :keyword int max_delivery_count :rtype: ~azure.servicebus.management.QueueDescription """ + # TODO: validate whether a queue_description has enough information + if not isinstance(queue_description, QueueDescription): raise TypeError("queue_description must be of type QueueDescription") - to_update = copy(queue_description._to_internal_entity()) # pylint:disable=protected-access + internal_description = queue_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = kwargs.get( + "default_message_time_to_live") or queue_description.default_message_time_to_live + to_update.lock_duration = kwargs.get("lock_duration") or queue_description.lock_duration + to_update.dead_lettering_on_message_expiration = kwargs.get( + "dead_lettering_on_message_expiration") or queue_description.dead_lettering_on_message_expiration + to_update.duplicate_detection_history_time_window = kwargs.get( + "duplicate_detection_history_time_window") or queue_description.duplicate_detection_history_time_window + to_update.max_delivery_count = kwargs.get("max_delivery_count") or queue_description.max_delivery_count - for attr in QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES: - setattr(to_update, attr, getattr(queue_description, attr, None)) to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -252,72 +253,618 @@ def update_queue(self, queue_description, **kwargs): request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): try: - et = cast( - ElementTree, - self._impl.queue.put( - queue_description.queue_name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) + self._impl.entity.put( + queue_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs ) except ValidationError: # post-hoc try to give a somewhat-justifiable failure reason. raise_with_traceback( ValueError, message="queue_description must be a QueueDescription with valid fields, " - "including non-empty string queue name") - result = QueueDescription._from_internal_entity( # pylint:disable=protected-access - _convert_xml_to_object(queue_description.queue_name, et) - ) - result.queue_name = queue_description.queue_name - return result + "including non-empty string name") - def delete_queue(self, queue_name, **kwargs): - # type: (str, Any) -> None + def delete_queue(self, queue, **kwargs): + # type: (Union[str, QueueDescription], Any) -> None """Delete a queue. - :param str queue_name: The name of the queue. + :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue. :rtype: None """ - + try: + queue_name = queue.name + except AttributeError: + queue_name = queue if not queue_name: raise ValueError("queue_name must not be None or empty") with _handle_response_error(): - self._impl.queue.delete(queue_name, api_version=constants.API_VERSION, **kwargs) + self._impl.entity.delete(queue_name, api_version=constants.API_VERSION, **kwargs) def list_queues(self, **kwargs): - # type: (Any) -> List[QueueDescription] + # type: (Any) -> ItemPaged[QueueDescription] """List the queues of a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_count: return at most this number of queues if there are more than this number in + :keyword int max_page_size: return at most this number of queues if there are more than this number in the ServiceBus namespace. - :rtype: List[~azure.servicebus.management.QueueDescription] - """ - result = [] # type: List[QueueDescription] - internal_queues = self._list_queues(**kwargs) - for queue_name, internal_queue in internal_queues: - qd = QueueDescription._from_internal_entity(internal_queue) # pylint:disable=protected-access - qd.queue_name = queue_name - result.append(qd) - return result + :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] + """ + + def entry_to_qd(entry): + qd = QueueDescription._from_internal_entity(entry.content.queue_description) + qd.name = entry.title + return qd + + extract_data = functools.partial( + extract_data_template, QueueDescriptionFeed, entry_to_qd + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_QUEUES), **kwargs + ) + return ItemPaged( + get_next, extract_data) def list_queues_runtime_info(self, **kwargs): - # type: (Any) -> List[QueueRuntimeInfo] + # type: (Any) -> ItemPaged[QueueRuntimeInfo] """List the runtime info of the queues in a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_count: return at most this number of queues if there are more than this number in + :keyword int max_page_size: return at most this number of queues if there are more than this number in the ServiceBus namespace. - :rtype: List[~azure.servicebus.management.QueueRuntimeInfo] + :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] + """ + + def entry_to_qr(entry): + qd = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) + qd.name = entry.title + return qd + + extract_data = functools.partial( + extract_data_template, QueueDescriptionFeed, entry_to_qr + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_QUEUES), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def get_topic(self, topic_name, **kwargs): + # type: (str, Any) -> TopicDescription + """Get a TopicDescription. + + :param str topic_name: The name of the queue. + :rtype: ~azure.servicebus.management.TopicDescription + """ + entry_ele = self._get_entity_element(topic_name, **kwargs) + entry = TopicDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Topic '{}' does not exist".format(topic_name)) + topic_description = TopicDescription._from_internal_entity(entry.content.topic_description) + topic_description.name = topic_name + return topic_description + + def get_topic_runtime_info(self, topic_name, **kwargs): + # type: (str, Any) -> TopicRuntimeInfo + """Get a TopicRuntimeInfo + + :param str topic_name: + :rtype: ~azure.servicebus.management.TopicRuntimeInfo + """ + entry_ele = self._get_entity_element(topic_name, **kwargs) + entry = TopicDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) + topic_description = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) + topic_description.name = topic_name + return topic_description + + def create_topic(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> TopicDescription + """ + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :rtype: ~azure.servicebus.management.TopicDescription + """ + try: + topic_name = topic.name # type: ignore + to_create = topic._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError as e: + topic_name = topic # type: ignore + to_create = InternalTopicDescription() # Use an empty topic description. + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + try: + with _handle_response_error(): + entry_ele = cast( + ElementTree, + self._impl.entity.put( + topic_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) + except ValidationError as e: + # post-hoc try to give a somewhat-justifiable failure reason. + if isinstance(topic, (six.string_types, TopicDescription)): + raise_with_traceback( + ValueError, + message="topic must be a non-empty str or a QueueDescription with non-empty str name") + raise_with_traceback( + TypeError, + message="topic must be a non-empty str or a QueueDescription with non-empty str name") + + entry = TopicDescriptionEntry.deserialize(entry_ele) + result = TopicDescription._from_internal_entity(entry.content.topic_description) + result.name = topic_name + return result + + def update_topic(self, topic_description, **kwargs): + # type: (TopicDescription, Any) -> None + """ + + :param ~azure.servicebus.management.TopicDescription topic_description: + :keyword timedelta default_message_time_to_live: + :keyword timedelta duplicate_detection_history_time_window: + :rtype: None + """ + + # TODO: validate whether topic_description has enough information (refer to the create_topic response) + if not isinstance(topic_description, TopicDescription): + raise TypeError("topic_description must be of type TopicDescription") + + internal_description = topic_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = kwargs.get("default_message_time_to_live") or topic_description.default_message_time_to_live + to_update.duplicate_detection_history_time_window = kwargs.get("duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + + to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) + to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + try: + self._impl.entity.put( + topic_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + raise_with_traceback( + ValueError, + message="topic_description must be a TopicDescription with valid fields, " + "including non-empty string topic name") + + def delete_topic(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> None + """ + + :param Union[str, TopicDescription] topic: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) + + def list_topics(self, **kwargs): + # type: (Any) -> ItemPaged[TopicDescription] + """ + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] + """ + def entry_to_topic(entry): + topic = TopicDescription._from_internal_entity(entry.content.topic_description) + topic.name = entry.title + return topic + + extract_data = functools.partial( + extract_data_template, TopicDescriptionFeed, entry_to_topic + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_TOPICS), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def list_topics_runtime_info(self, **kwargs): + # type: (Any) -> ItemPaged[TopicRuntimeInfo] + """ + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of queues if there are more than this number in + the ServiceBus namespace. + :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] + """ + def entry_to_topic(entry): + topic = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) + topic.name = entry.title + return topic + + extract_data = functools.partial( + extract_data_template, TopicDescriptionFeed, entry_to_topic + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_entities, constants.ENTITY_TYPE_TOPICS), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def get_subscription(self, topic, subscription_name, **kwargs): + # type: (Union[str, TopicDescription], str, Any) -> SubscriptionDescription + """ + + :param Union[str, TopicDescription] topic: + :param str subscription_name: + :rtype: ~azure.servicebus.management.SubscriptionDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) + subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): + # type: (Union[str, TopicDescription], str, Any) -> SubscriptionRuntimeInfo + """ + + :param Union[str, TopicDescription] topic: + :param str subscription_name: + :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + def create_subscription(self, topic, subscription, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: + :rtype: ~azure.servicebus.management.SubscriptionDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name # type: ignore + to_create = subscription._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError: + subscription_name = subscription # type: ignore + to_create = InternalSubscriptionDescription() # Use an empty queue description. + + create_entity_body = CreateSubscriptionBody( + content=CreateSubscriptionBodyContent( + subscription_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + try: + with _handle_response_error(): + entry_ele = cast( + ElementTree, + self._impl.subscription.put( + topic_name, + subscription_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) + except ValidationError: + # post-hoc try to give a somewhat-justifiable failure reason. + # TODO: validate param topic + if isinstance(subscription, (six.string_types, SubscriptionDescription)): + raise_with_traceback( + ValueError, + message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + raise_with_traceback( + TypeError, + message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + + entry = SubscriptionDescriptionEntry.deserialize(entry_ele) + result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + result.name = subscription_name + return result + + def update_subscription(self, topic, subscription_description, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param ~azure.servicebus.management.SubscriptionDescription subscription: + :rtype: None """ + # TODO: validate param topic and whether subscription_description has enough properties. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + if not isinstance(subscription_description, SubscriptionDescription): + raise TypeError("subscription_description must be of type SubscriptionDescription") - result = [] # type: List[QueueRuntimeInfo] - internal_queues = self._list_queues(**kwargs) - for queue_name, internal_queue in internal_queues: - runtime_info = QueueRuntimeInfo._from_internal_entity(internal_queue) # pylint:disable=protected-access - runtime_info.queue_name = queue_name - result.append(runtime_info) + internal_description = subscription_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) + to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) + + create_entity_body = CreateTopicBody( + content=CreateTopicBodyContent( + topic_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + self._impl.subscription.put( + topic_name, + subscription_description.name, + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + def delete_subscription(self, topic, subscription, **kwargs): + """ + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) + + def list_subscriptions(self, topic, **kwargs): + """List the subscriptions of a ServiceBus Topic. + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in + the ServiceBus Topic. + :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + + def entry_to_subscription(entry): + subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + extract_data = functools.partial( + extract_data_template, SubscriptionDescriptionFeed, entry_to_subscription + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_subscriptions, topic_name), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def list_subscriptions_runtime_info(self, topic, **kwargs): + """List the subscriptions of a ServiceBus Topic Runtime Information. + + :param Union[str, TopicDescription] topic: + :keyword int start_index: skip this number of queues. + :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in + the ServiceBus Topic. + :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + + def entry_to_subscription(entry): + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) + subscription.name = entry.title + return subscription + + extract_data = functools.partial( + extract_data_template, SubscriptionDescriptionFeed, entry_to_subscription + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_subscriptions, topic_name), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def get_rule(self, topic, subscription, rule_name, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param str rule_name: + :rtype: ~azure.servicebus.management.RuleDescription + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + entry_ele = self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) + entry = RuleDescriptionEntry.deserialize(entry_ele) + if not entry.content: + raise ResourceNotFoundError( + "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format(subscription_name, topic_name, rule_name)) + rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) + return rule_description + + def create_rule(self, topic, subscription, rule, **kwargs): + """ + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: + :rtype: ~azure.servicebus.management.RuleDescription + """ + # TODO: validate param topic, subscription and rule. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + try: + rule_name = rule.name + to_create = rule._to_internal_entity() # type: ignore # pylint:disable=protected-access + except AttributeError: + rule_name = rule + to_create = InternalRuleDescription() # Use an empty queue description. + + create_entity_body = CreateRuleBody( + content=CreateRuleBodyContent( + rule_description=to_create, # type: ignore + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + entry_ele = self._impl.rule.put( + topic_name, + subscription_name, # type: ignore + rule_name, + request_body, api_version=constants.API_VERSION, **kwargs) + entry = RuleDescriptionEntry.deserialize(entry_ele) + result = entry.content.rule_description return result + + def update_rule(self, topic, subscription, rule_description, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param ~azure.servicebus.management.RuleDescription rule_description: + :rtype: None + """ + # TODO: validate param topic, subscription and rule_description. + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + + internal_description = rule_description._to_internal_entity() + to_update = copy(internal_description) # pylint:disable=protected-access + + create_entity_body = CreateRuleBody( + content=CreateRuleBodyContent( + rule_description=to_update, + ) + ) + request_body = create_entity_body.serialize(is_xml=True) + with _handle_response_error(): + self._impl.rule.put( + topic_name, + subscription_name, + rule_description.name, + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + def delete_rule(self, topic, subscription, rule, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :param Union[str, RuleDescription] subscription: + :rtype: None + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + try: + rule_name = rule.name + except AttributeError: + rule_name = rule + self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) + + def list_rules(self, topic, subscription, **kwargs): + """ + + :param Union[str, TopicDescription] topic: + :param Union[str, SubscriptionDescription] subscription: + :keyword int start_index: + :keyword int max_page_size: + :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] + """ + try: + topic_name = topic.name + except AttributeError: + topic_name = topic + try: + subscription_name = subscription.name + except AttributeError: + subscription_name = subscription + + def entry_to_rule(entry): + rule = entry.content.rule_description + return RuleDescription._from_internal_entity(rule) + + extract_data = functools.partial( + extract_data_template, RuleDescriptionFeed, entry_to_rule + ) + get_next = functools.partial( + get_next_template, functools.partial(self._impl.list_rules, topic_name, subscription_name), **kwargs + ) + return ItemPaged( + get_next, extract_data) + + def get_namespace_properties(self, **kwargs): + """ + + :rtype: NamespaceProperties + """ + entry_el = self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) + namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) + return namespace_entry.content.namespace_properties diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py index 1f5f1729340f..6942206b09a2 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -2,38 +2,47 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from typing import Dict, Iterable, Any, Type, Optional +from typing import Dict, Iterable, Any, Optional from collections import OrderedDict from datetime import timedelta -from msrest.serialization import Model -from ._generated.models import QueueDescription +from azure.servicebus.management._generated.models import AuthorizationRule, CorrelationFilter, CreateQueueBodyContent, CreateRuleBodyContent, CreateSubscriptionBodyContent, CreateTopicBodyContent, FalseFilter, KeyValue, MessageCountDetails, NamespaceProperties, NamespacePropertiesEntry, NamespacePropertiesEntryContent, QueueDescription, QueueDescriptionEntry, QueueDescriptionEntryContent, QueueDescriptionFeed, ResponseLink, RuleDescription, RuleDescriptionEntry, RuleDescriptionEntryContent, RuleDescriptionFeed, ServiceBusManagementError, SqlFilter, SqlRuleAction, SubscriptionDescription, SubscriptionDescriptionEntry, SubscriptionDescriptionEntryContent, SubscriptionDescriptionFeed, TopicDescription, TopicDescriptionEntry, TopicDescriptionEntryContent, TopicDescriptionFeed, TrueFilter -QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES = ( - 'lock_duration', - 'max_size_in_megabytes', - 'requires_duplicate_detection', - 'requires_session', - 'default_message_time_to_live', - 'dead_lettering_on_message_expiration', - 'duplicate_detection_history_time_window', - 'max_delivery_count', - 'enable_batched_operations', - 'size_in_bytes', - 'message_count', - 'is_anonymous_accessible', - 'authorization_rules', - 'status', - 'created_at', - 'updated_at', - 'accessed_at', - 'support_ordering', - 'message_count_details', - 'auto_delete_on_idle', - 'enable_partitioning', - 'entity_availability_status', - 'enable_express', -) +MODEL_CLASS_ATTRIBUTES = { + AuthorizationRule: ("type", "claim_type", "claim_value", "rights", "created_time", "modified_time", "key_name", "primary_key", "secondary_key"), + CorrelationFilter: ("type", "correlation_id", "message_id", "to", "reply_to", "label", "session_id", "reply_to_session_id", "content_type", "properties"), + CreateQueueBodyContent: ("type", "queue_description"), + CreateRuleBodyContent: ("type", "rule_description"), + CreateSubscriptionBodyContent: ("type", "subscription_description"), + CreateTopicBodyContent: ("type", "topic_description"), + FalseFilter: ("type", "sql_expression"), + KeyValue: ("key", "value"), + MessageCountDetails: ("active_message_count", "dead_letter_message_count", "scheduled_message_count", "transfer_dead_letter_message_count", "transfer_message_count"), + NamespaceProperties: ("alias", "created_time", "messaging_sku", "messaging_units", "modified_time", "name", "namespace_type"), + NamespacePropertiesEntry: ("id", "title", "updated", "author", "link", "content"), + NamespacePropertiesEntryContent: ("type", "namespace_properties"), + QueueDescription: ("lock_duration", "max_size_in_megabytes", "requires_duplicate_detection", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "duplicate_detection_history_time_window", "max_delivery_count", "enable_batched_operations", "size_in_bytes", "message_count", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_express"), + QueueDescriptionEntry: ("base", "id", "title", "published", "updated", "author", "link", "content"), + QueueDescriptionEntryContent: ("type", "queue_description"), + QueueDescriptionFeed: ("id", "title", "updated", "link", "entry"), + ResponseLink: ("href", "rel"), + RuleDescription: ("filter", "action", "created_at", "name"), + RuleDescriptionEntry: ("id", "title", "published", "updated", "link", "content"), + RuleDescriptionEntryContent: ("type", "rule_description"), + RuleDescriptionFeed: ("id", "title", "updated", "link", "entry"), + ServiceBusManagementError: ("code", "detail"), + SqlFilter: ("type", "sql_expression"), + SqlRuleAction: ("type", "sql_expression"), + SubscriptionDescription: ("lock_duration", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "dead_lettering_on_filter_evaluation_exceptions", "message_count", "max_delivery_count", "enable_batched_operations", "status", "forward_to", "created_at", "updated_at", "accessed_at", "message_count_details", "auto_delete_on_idle", "entity_availability_status"), + SubscriptionDescriptionEntry: ("id", "title", "published", "updated", "link", "content"), + SubscriptionDescriptionEntryContent: ("type", "subscription_description"), + SubscriptionDescriptionFeed: ("id", "title", "updated", "link", "entry"), + TopicDescription: ("default_message_time_to_live", "max_size_in_megabytes", "requires_duplicate_detection", "duplicate_detection_history_time_window", "enable_batched_operations", "size_in_bytes", "filtering_messages_before_publishing", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "subscription_count", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_subscription_partitioning", "enable_express", "user_metadata"), + TopicDescriptionEntry: ("base", "id", "title", "published", "updated", "author", "link", "content"), + TopicDescriptionEntryContent: ("type", "topic_description"), + TopicDescriptionFeed: ("id", "title", "updated", "link", "entry"), + TrueFilter: ("type", "sql_expression"), +} def avoid_timedelta_overflow(td): @@ -50,7 +59,7 @@ def avoid_timedelta_overflow(td): return result -def adjust_dict_key_sequence(dct, keys): +def _adjust_dict_key_sequence(dct, keys): # type: (Dict[str, Any], Iterable[str]) -> Dict[str, Any] result = OrderedDict() @@ -60,17 +69,22 @@ def adjust_dict_key_sequence(dct, keys): return result -def adjust_attribute_map(class_): - # type: (Type[Model]) -> None - """update_queue will serialize QueueDescription to XML. The tags sequence is important to service. It doesn't - make sense but it is what it is. This workaround is to adjust the sequence of the items in Model - class _attribute_map so the serialized XML tags has the correct sequence. +def adjust_attribute_map(): + # type: () -> None + """update_xxx will serialize XXXDescription to XML. The tags sequence is important to service. + This workaround is to convert the _attribute_map of each model class + to use OrderedDict instead of dict so their serialized XML tags use the same sequence as + specified in MODEL_CLASS_ATTRIBUTES. """ # pylint:disable=protected-access - class_._attribute_map = adjust_dict_key_sequence( - class_._attribute_map, - QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES - ) - - -adjust_attribute_map(QueueDescription) + for class_, attributes in MODEL_CLASS_ATTRIBUTES.items(): + class_._attribute_map = _adjust_dict_key_sequence( + class_._attribute_map, + attributes + ) + if "title" in class_._attribute_map: + class_._attribute_map["title"] = { + 'key': 'title', + 'type': 'str', + 'xml': {'ns': 'http://www.w3.org/2005/Atom'} + } diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 8da5fe4f7176..8e7cca917dd5 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -2,74 +2,94 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +from collections import OrderedDict +from copy import deepcopy -from ._generated.models import QueueDescription as InternalQueueDescription +from azure.servicebus.management._generated.models import KeyValue + +from ._generated.models import QueueDescription as InternalQueueDescription, \ + TopicDescription as InternalTopicDescription, \ + SubscriptionDescription as InternalSubscriptionDescription, \ + RuleDescription as InternalRuleDescription, \ + SqlRuleAction as InternalSqlRuleAction, \ + EmptyRuleAction as InternalEmptyRuleAction, \ + CorrelationFilter as InternalCorrelationFilter, \ + SqlFilter as InternalSqlFilter, TrueFilter as InternalTrueFilter, FalseFilter as InternalFalseFilter + +from ._model_workaround import adjust_attribute_map + +adjust_attribute_map() class QueueDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. - :param queue_name: Name of the queue. - :type queue_name: str - :param authorization_rules: Authorization rules for resource. - :type authorization_rules: list[~azure.servicebus.management.AuthorizationRule] - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. - :type dead_lettering_on_message_expiration: bool - :param default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :param duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta - :param entity_availability_status: Availibility status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management.EntityAvailabilityStatus - :param enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :param enable_express: A value that indicates whether Express Entities are enabled. An express - queue holds a message in memory temporarily before writing it to persistent storage. - :type enable_express: bool - :param enable_partitioning: A value that indicates whether the queue is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :param is_anonymous_accessible: A value indicating if the resource can be accessed without - authorization. - :type is_anonymous_accessible: bool - :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time - that the message is locked for other receivers. The maximum value for LockDuration is 5 - minutes; the default value is 1 minute. - :type lock_duration: ~datetime.timedelta - :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered - after this number of deliveries. Default value is 10. - :type max_delivery_count: int - :param max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of - memory allocated for the queue. - :type max_size_in_megabytes: int - :param requires_duplicate_detection: A value indicating if this queue requires duplicate - detection. - :type requires_duplicate_detection: bool - :param requires_session: A value that indicates whether the queue supports the concept of - sessions. - :type requires_session: bool - :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management.EntityStatus - :param support_ordering: A value that indicates whether the queue supports ordering. - :type support_ordering: bool """ def __init__( self, **kwargs ): - self.queue_name = kwargs.get('queue_name', None) + """ + + :keyword name: Name of the queue. + :type name: str + :keyword authorization_rules: Authorization rules for resource. + :type authorization_rules: list[~azure.servicebus.management.AuthorizationRule] + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :keyword entity_availability_status: Availibility status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management.EntityAvailabilityStatus + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :keyword enable_partitioning: A value that indicates whether the queue is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :keyword max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of + memory allocated for the queue. + :type max_size_in_megabytes: int + :keyword requires_duplicate_detection: A value indicating if this queue requires duplicate + detection. + :type requires_duplicate_detection: bool + :keyword requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management.EntityStatus + :keyword support_ordering: A value that indicates whether the queue supports ordering. + :type support_ordering: bool + + :rtype: None + """ + self.name = kwargs.get('name', None) self._internal_qd = None self.authorization_rules = kwargs.get('authorization_rules', None) @@ -89,13 +109,12 @@ def __init__( self.requires_session = kwargs.get('requires_session', None) self.status = kwargs.get('status', None) self.support_ordering = kwargs.get('support_ordering', None) - self.created_at = kwargs.get('created_at', None) @classmethod def _from_internal_entity(cls, internal_qd): # type: (InternalQueueDescription) -> QueueDescription qd = cls() - qd._internal_qd = internal_qd # pylint:disable=protected-access + qd._internal_qd = deepcopy(internal_qd) # pylint:disable=protected-access qd.authorization_rules = internal_qd.authorization_rules qd.auto_delete_on_idle = internal_qd.auto_delete_on_idle @@ -114,7 +133,6 @@ def _from_internal_entity(cls, internal_qd): qd.requires_session = internal_qd.requires_session qd.status = internal_qd.status qd.support_ordering = internal_qd.support_ordering - qd.created_at = internal_qd.created_at return qd @@ -140,7 +158,6 @@ def _to_internal_entity(self): self._internal_qd.requires_session = self.requires_session self._internal_qd.status = self.status self._internal_qd.support_ordering = self.support_ordering - self._internal_qd.created_at = self.created_at return self._internal_qd @@ -148,28 +165,32 @@ def _to_internal_entity(self): class QueueRuntimeInfo(object): """Service Bus queue metrics. - :param queue_name: Name of the queue. - :type queue_name: str - :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :param created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :param size_in_bytes: The size of the queue, in bytes. - :type size_in_bytes: int - :param message_count: The number of messages in the queue. - :type message_count: int - :param message_count_details: Details about the message counts in queue. - :type message_count_details: ~azure.servicebus.management.MessageCountDetails """ def __init__( self, **kwargs ): - self.queue_name = kwargs.get('queue_name', None) + """ + :keyword name: Name of the queue. + :type name: str + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :keyword message_count: The number of messages in the queue. + :type message_count: int + :keyword message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management.MessageCountDetails + + :rtype: None + """ + self.name = kwargs.get('name', None) self._internal_qr = None self.accessed_at = kwargs.get('accessed_at', None) @@ -183,7 +204,7 @@ def __init__( def _from_internal_entity(cls, internal_qr): # type: (InternalQueueDescription) -> QueueRuntimeInfo qr = cls() - qr._internal_qr = internal_qr # pylint:disable=protected-access + qr._internal_qr = deepcopy(internal_qr) # pylint:disable=protected-access qr.accessed_at = internal_qr.accessed_at qr.created_at = internal_qr.created_at @@ -193,3 +214,487 @@ def _from_internal_entity(cls, internal_qr): qr.message_count_details = internal_qr.message_count_details return qr + + +class TopicDescription(object): + """Description of a Service Bus topic resource. + + """ + def __init__( + self, + **kwargs + ): + """ + :keyword str name: + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of + memory allocated for the topic. + :type max_size_in_megabytes: long + :keyword requires_duplicate_detection: A value indicating if this topic requires duplicate + detection. + :type requires_duplicate_detection: bool + :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :keyword authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :keyword support_ordering: A value that indicates whether the topic supports ordering. + :type support_ordering: bool + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword enable_partitioning: A value that indicates whether the topic is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :keyword entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :keyword enable_subscription_partitioning: A value that indicates whether the topic's + subscription is to be partitioned. + :type enable_subscription_partitioning: bool + :keyword enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :keyword user_metadata: Metadata associated with the topic. + :type user_metadata: str + + :rtype: None + """ + super(TopicDescription, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self._internal_td = None + + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) + self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.size_in_bytes = kwargs.get('size_in_bytes', None) + self.is_anonymous_accessible = kwargs.get('is_anonymous_accessible', None) + self.authorization_rules = kwargs.get('authorization_rules', None) + self.status = kwargs.get('status', None) + self.support_ordering = kwargs.get('support_ordering', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.enable_partitioning = kwargs.get('enable_partitioning', None) + self.entity_availability_status = kwargs.get('entity_availability_status', None) + self.enable_subscription_partitioning = kwargs.get('enable_subscription_partitioning', None) + self.enable_express = kwargs.get('enable_express', None) + self.user_metadata = kwargs.get('user_metadata', None) + + @classmethod + def _from_internal_entity(cls, internal_td): + # type: (InternalTopicDescription) -> TopicDescription + qd = cls() + qd._internal_td = deepcopy(internal_td) + + qd.default_message_time_to_live = internal_td.default_message_time_to_live + qd.max_size_in_megabytes = internal_td.max_size_in_megabytes + qd.requires_duplicate_detection = internal_td.requires_duplicate_detection + qd.duplicate_detection_history_time_window = internal_td.duplicate_detection_history_time_window + qd.enable_batched_operations = internal_td.enable_batched_operations + qd.size_in_bytes = internal_td.size_in_bytes + qd.is_anonymous_accessible = internal_td.is_anonymous_accessible + qd.authorization_rules = internal_td.authorization_rules + qd.status = internal_td.status + qd.support_ordering = internal_td.support_ordering + qd.auto_delete_on_idle = internal_td.auto_delete_on_idle + qd.enable_partitioning = internal_td.enable_partitioning + qd.entity_availability_status = internal_td.entity_availability_status + qd.enable_subscription_partitioning = internal_td.enable_subscription_partitioning + qd.enable_express = internal_td.enable_express + qd.user_metadata = internal_td.user_metadata + + return qd + + def _to_internal_entity(self): + # type: () -> InternalTopicDescription + if not self._internal_td: + self._internal_td = InternalTopicDescription() + self._internal_td.default_message_time_to_live = self.default_message_time_to_live + self._internal_td.max_size_in_megabytes = self.max_size_in_megabytes + self._internal_td.requires_duplicate_detection = self.requires_duplicate_detection + self._internal_td.duplicate_detection_history_time_window = self.duplicate_detection_history_time_window + self._internal_td.enable_batched_operations = self.enable_batched_operations + self._internal_td.size_in_bytes = self.size_in_bytes + self._internal_td.is_anonymous_accessible = self.is_anonymous_accessible + self._internal_td.authorization_rules = self.authorization_rules + self._internal_td.status = self.status + self._internal_td.support_ordering = self.support_ordering + self._internal_td.auto_delete_on_idle = self.auto_delete_on_idle + self._internal_td.enable_partitioning = self.enable_partitioning + self._internal_td.entity_availability_status = self.entity_availability_status + self._internal_td.enable_subscription_partitioning = self.enable_subscription_partitioning + self._internal_td.enable_express = self.enable_express + self._internal_td.user_metadata = self.user_metadata + + return self._internal_td + + +class TopicRuntimeInfo(object): + """Description of a Service Bus topic resource. + + """ + def __init__( + self, + **kwargs + ): + """ + :keyword str name: + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :keyword subscription_count: The number of subscriptions in the topic. + :type subscription_count: int + + :rtype: None + """ + super(TopicRuntimeInfo, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self._internal_td = None + self.created_at = kwargs.get('created_at', None) + self.updated_at = kwargs.get('updated_at', None) + self.accessed_at = kwargs.get('accessed_at', None) + self.message_count_details = kwargs.get('message_count_details', None) + self.subscription_count = kwargs.get('subscription_count', None) + + @classmethod + def _from_internal_entity(cls, internal_td): + # type: (InternalTopicDescription) -> TopicRuntimeInfo + qd = cls() + qd._internal_td = internal_td + + qd.created_at = internal_td.created_at + qd.updated_at = internal_td.updated_at + qd.accessed_at = internal_td.accessed_at + qd.message_count_details = internal_td.message_count_details + qd.subscription_count = internal_td.subscription_count + + return qd + + +class SubscriptionDescription(object): + """Description of a Service Bus queue resource. + + """ + def __init__(self, **kwargs): + """ + + :keyword str name: + :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :keyword requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :keyword dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this + queue has dead letter support when a message expires. + :type dead_lettering_on_filter_evaluation_exceptions: bool + :keyword message_count: The number of messages in the queue. + :type message_count: int + :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :keyword forward_to: .. raw:: html + + . + :type forward_to: str + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + + :rtype: None + """ + super(SubscriptionDescription, self).__init__(**kwargs) + self.name = kwargs.get("name") + self._internal_sd = None + + self.lock_duration = kwargs.get('lock_duration', None) + self.requires_session = kwargs.get('requires_session', None) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) + self.dead_lettering_on_filter_evaluation_exceptions = kwargs.get( + 'dead_lettering_on_filter_evaluation_exceptions', None) + self.max_delivery_count = kwargs.get('max_delivery_count', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.status = kwargs.get('status', None) + self.forward_to = kwargs.get('forward_to', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.entity_availability_status = kwargs.get('entity_availability_status', None) + + @classmethod + def _from_internal_entity(cls, internal_subscription): + # type: (InternalSubscriptionDescription) -> SubscriptionDescription + subscription = cls() + subscription._internal_sd = internal_subscription + subscription.lock_duration = internal_subscription.lock_duration + subscription.requires_session = internal_subscription.requires_session + subscription.default_message_time_to_live = internal_subscription.default_message_time_to_live + subscription.dead_lettering_on_message_expiration = internal_subscription.dead_lettering_on_message_expiration + subscription.dead_lettering_on_filter_evaluation_exceptions = internal_subscription.dead_lettering_on_filter_evaluation_exceptions + subscription.max_delivery_count = internal_subscription.max_delivery_count + subscription.enable_batched_operations = internal_subscription.enable_batched_operations + subscription.status = internal_subscription.status + subscription.forward_to = internal_subscription.forward_to + subscription.auto_delete_on_idle = internal_subscription.auto_delete_on_idle + subscription.entity_availability_status = internal_subscription.entity_availability_status + + return subscription + + def _to_internal_entity(self): + # type: () -> InternalSubscriptionDescription + if not self._internal_sd: + self._internal_sd = InternalSubscriptionDescription() + self._internal_sd.lock_duration = self.lock_duration + self._internal_sd.requires_session = self.requires_session + self._internal_sd.default_message_time_to_live = self.default_message_time_to_live + self._internal_sd.dead_lettering_on_message_expiration = self.dead_lettering_on_message_expiration + self._internal_sd.dead_lettering_on_filter_evaluation_exceptions = self.dead_lettering_on_filter_evaluation_exceptions + self._internal_sd.max_delivery_count = self.max_delivery_count + self._internal_sd.enable_batched_operations = self.enable_batched_operations + self._internal_sd.status = self.status + self._internal_sd.forward_to = self.forward_to + self._internal_sd.auto_delete_on_idle = self.auto_delete_on_idle + self._internal_sd.entity_availability_status = self.entity_availability_status + + return self._internal_sd + + +class SubscriptionRuntimeInfo(object): + """Description of a Service Bus queue resource. + + """ + def __init__(self, **kwargs): + """ + + :keyword str name: + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + + :rtype: None + """ + super(SubscriptionRuntimeInfo, self).__init__(**kwargs) + self.name = kwargs.get("name") + + self.message_count = kwargs.get('message_count', None) + self.created_at = kwargs.get('created_at', None) + self.updated_at = kwargs.get('updated_at', None) + self.accessed_at = kwargs.get('accessed_at', None) + self.message_count_details = kwargs.get('message_count_details', None) + + @classmethod + def _from_internal_entity(cls, internal_subscription): + # type: (InternalSubscriptionDescription) -> SubscriptionRuntimeInfo + subscription = cls() + subscription._internal_sd = internal_subscription + subscription.message_count = internal_subscription.message_count + subscription.created_at = internal_subscription.created_at + subscription.updated_at = internal_subscription.updated_at + subscription.accessed_at = internal_subscription.accessed_at + subscription.message_count_details = internal_subscription.message_count_details + + return subscription + + +class RuleDescription(object): + """RuleDescription. + + """ + + def __init__(self, **kwargs): + """ + + :keyword filter: + :type filter: ~azure.servicebus.management._generated.models.RuleFilter + :keyword action: + :type action: ~azure.servicebus.management._generated.models.RuleAction + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword name: + :type name: str + + :rtype: None + """ + super(RuleDescription, self).__init__(**kwargs) + self.filter = kwargs.get('filter', None) + self.action = kwargs.get('action', None) + self.created_at = kwargs.get('created_at', None) + self.name = kwargs.get('name', None) + + self._internal_rule = None + + @classmethod + def _from_internal_entity(cls, internal_rule): + # type: (InternalRuleDescription) -> RuleDescription + rule = cls() + rule._internal_rule = internal_rule + + rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) + rule.action = RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) \ + if internal_rule.action and type(internal_rule.action) != InternalEmptyRuleAction else None + rule.created_at = internal_rule.created_at + rule.name = internal_rule.name + + return rule + + def _to_internal_entity(self): + # type: () -> InternalRuleDescription + if not self._internal_rule: + self._internal_rule = InternalRuleDescription() + self._internal_rule.filter = self.filter._to_internal_entity() if self.filter else TRUE_FILTER + self._internal_rule.action = self.action._to_internal_entity() if self.action else EMPTY_RULE_ACTION + self._internal_rule.created_at = self.created_at + self._internal_rule.name = self.name + + return self._internal_rule + + +class CorrelationRuleFilter(object): + def __init__(self, **kwargs): + self.correlation_id = kwargs.get('correlation_id', None) + self.message_id = kwargs.get('message_id', None) + self.to = kwargs.get('to', None) + self.reply_to = kwargs.get('reply_to', None) + self.label = kwargs.get('label', None) + self.session_id = kwargs.get('session_id', None) + self.reply_to_session_id = kwargs.get('reply_to_session_id', None) + self.content_type = kwargs.get('content_type', None) + self.properties = kwargs.get('properties', None) + + @classmethod + def _from_internal_entity(cls, internal_correlation_filter): + # type: (InternalCorrelationFilter) -> CorrelationRuleFilter + correlation_filter = cls() + correlation_filter.correlation_id = internal_correlation_filter.correlation_id + correlation_filter.message_id = internal_correlation_filter.message_id + correlation_filter.to = internal_correlation_filter.to + correlation_filter.reply_to = internal_correlation_filter.reply_to + correlation_filter.label = internal_correlation_filter.label + correlation_filter.session_id = internal_correlation_filter.session_id + correlation_filter.reply_to_session_id = internal_correlation_filter.reply_to_session_id + correlation_filter.content_type = internal_correlation_filter.content_type + correlation_filter.properties = \ + OrderedDict((kv.key, kv.value) for kv in internal_correlation_filter.properties) \ + if internal_correlation_filter.properties else OrderedDict() + + return correlation_filter + + def _to_internal_entity(self): + internal_entity = InternalCorrelationFilter() + internal_entity.correlation_id = self.correlation_id + + internal_entity.message_id = self.message_id + internal_entity.to = self.to + internal_entity.reply_to = self.reply_to + internal_entity.label = self.label + internal_entity.session_id = self.session_id + internal_entity.reply_to_session_id = self.reply_to_session_id + internal_entity.content_type = self.content_type + internal_entity.properties = [KeyValue(key=key, value=value) for key, value in self.properties.items()] \ + if self.properties else None + + return internal_entity + + +class SqlRuleFilter(object): + def __init__(self, sql_expression=None): + self.sql_expression = sql_expression + + @classmethod + def _from_internal_entity(cls, internal_sql_rule_filter): + sql_rule_filter = cls() + sql_rule_filter.sql_expression = internal_sql_rule_filter.sql_expression + return sql_rule_filter + + def _to_internal_entity(self): + internal_entity = InternalSqlFilter(sql_expression=self.sql_expression) + return internal_entity + + +class TrueRuleFilter(SqlRuleFilter): + def __init__(self): + super(TrueRuleFilter, self).__init__("1=1") + + def _to_internal_entity(self): + internal_entity = InternalTrueFilter() + return internal_entity + + +class FalseRuleFilter(SqlRuleFilter): + def __init__(self): + super(FalseRuleFilter, self).__init__("1>1") + + def _to_internal_entity(self): + internal_entity = InternalFalseFilter() + return internal_entity + + +class SqlRuleAction(object): + def __init__(self, sql_expression=None): + self.sql_expression = sql_expression + + @classmethod + def _from_internal_entity(cls, internal_sql_rule_action): + sql_rule_filter = cls(internal_sql_rule_action.sql_expression) + return sql_rule_filter + + def _to_internal_entity(self): + return InternalSqlRuleAction(sql_expression=self.sql_expression) + + +RULE_CLASS_MAPPING = { + InternalSqlRuleAction: SqlRuleAction, + InternalEmptyRuleAction: None, + InternalCorrelationFilter: CorrelationRuleFilter, + InternalSqlFilter: SqlRuleFilter, + InternalTrueFilter: TrueRuleFilter, + InternalFalseFilter: FalseRuleFilter, +} +EMPTY_RULE_ACTION = InternalEmptyRuleAction() +TRUE_FILTER = TrueRuleFilter() diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py new file mode 100644 index 000000000000..4f7607a3cd2f --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py @@ -0,0 +1,46 @@ +from typing import cast, Union +from xml.etree.ElementTree import ElementTree + + +try: + import urllib.parse as urlparse +except ImportError: + import urlparse # python 2.7 + +from azure.servicebus.management import _constants as constants +from ._handle_response_error import _handle_response_error + + +def extract_data_template(feed_class, convert, feed_element): + deserialized = feed_class.deserialize(feed_element) + list_of_qd = [convert(x) if convert else x for x in deserialized.entry] + next_link = None + if deserialized.link and len(deserialized.link) == 2: + next_link = deserialized.link[1].href + return next_link, iter(list_of_qd) + + +def get_next_template(list_func, *args, **kwargs): + if len(args) > 0: + next_link = args[0] + else: + next_link = kwargs.pop("next_link") + + start_index = kwargs.pop("start_index", 0) + max_page_size = kwargs.pop("max_page_size", 100) + api_version = constants.API_VERSION + if next_link: + queries = urlparse.parse_qs(urlparse.urlparse(next_link).query) + start_index = int(queries['$skip'][0]) + max_page_size = int(queries['$top'][0]) + api_version = queries['api-version'][0] + with _handle_response_error(): + feed_element = cast( + ElementTree, + list_func( + skip=start_index, top=max_page_size, + api_version=api_version, + **kwargs + ) + ) + return feed_element diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py new file mode 100644 index 000000000000..90c5d87cbe06 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py @@ -0,0 +1,37 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.core.pipeline import PipelineRequest +from azure.core.pipeline.policies import SansIOHTTPPolicy + + +class ServiceBusXMLWorkaroundPolicy(SansIOHTTPPolicy): + """A policy that mutates serialized XML to workaround ServiceBus requirement + + """ + def __init__(self): + # type: () -> None + super(ServiceBusXMLWorkaroundPolicy, self).__init__() + + def on_request(self, request): + # type: (PipelineRequest) -> None + """Mutate serialized (QueueDescription, TopicDescription, SubscriptionDescription, RuleDescription) + XML to use default namespace. + + :param request: The pipeline request object + :type request: ~azure.core.pipeline.PipelineRequest + """ + request_body = request.http_request.body + if request_body: + if b'' in request_body: + request_body = request_body.replace( + b'', + b'') + request.http_request.body = request_body + request.http_request.data = request_body + request.http_request.headers["Content-Length"] = str(len(request_body)) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_management_client_async.py deleted file mode 100644 index 177544455326..000000000000 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/aio/_management_client_async.py +++ /dev/null @@ -1,287 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from copy import copy -from typing import TYPE_CHECKING, Dict, Any, Union, List, cast, Tuple -from xml.etree.ElementTree import ElementTree, Element - -from msrest.exceptions import ValidationError -from azure.core.exceptions import raise_with_traceback -from azure.core.pipeline import AsyncPipeline -from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ - RequestIdPolicy, AsyncBearerTokenCredentialPolicy -from azure.core.pipeline.transport import AioHttpTransport - -from ..._common.utils import parse_conn_str -from ..._common.constants import JWT_TOKEN_SCOPE -from ...aio._base_handler_async import ServiceBusSharedKeyCredential -from .._generated.aio._configuration_async import ServiceBusManagementClientConfiguration -from .._generated.models import CreateQueueBody, CreateQueueBodyContent, \ - QueueDescription as InternalQueueDescription -from .._generated.aio._service_bus_management_client_async import ServiceBusManagementClient \ - as ServiceBusManagementClientImpl -from .. import _constants as constants -from .._management_client import _convert_xml_to_object, _handle_response_error -from .._model_workaround import QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES, avoid_timedelta_overflow -from ._shared_key_policy_async import AsyncServiceBusSharedKeyCredentialPolicy -from .._models import QueueRuntimeInfo, QueueDescription - - -if TYPE_CHECKING: - from azure.core.credentials_async import AsyncTokenCredential # pylint:disable=ungrouped-imports - - -class ServiceBusManagementClient: - """Use this client to create, update, list, and delete resources of a ServiceBus namespace. - - :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. - :param credential: To authenticate to manage the entities of the ServiceBus namespace. - :type credential: Union[TokenCredential, ServiceBusSharedKeyCredential] - """ - - def __init__(self, fully_qualified_namespace, credential, **kwargs): - # type: (str, Union[AsyncTokenCredential, ServiceBusSharedKeyCredential], Dict[str, Any]) -> None - - self.fully_qualified_namespace = fully_qualified_namespace - self._credential = credential - self._endpoint = "https://" + fully_qualified_namespace - self._config = ServiceBusManagementClientConfiguration(self._endpoint, **kwargs) - self._pipeline = self._build_pipeline() - self._impl = ServiceBusManagementClientImpl(endpoint=fully_qualified_namespace, pipeline=self._pipeline) - - def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use - transport = kwargs.get('transport') - policies = kwargs.get('policies') - credential_policy = \ - AsyncServiceBusSharedKeyCredentialPolicy(self._endpoint, self._credential, "Authorization") \ - if isinstance(self._credential, ServiceBusSharedKeyCredential) \ - else AsyncBearerTokenCredentialPolicy(self._credential, JWT_TOKEN_SCOPE) - if policies is None: # [] is a valid policy list - policies = [ - RequestIdPolicy(**kwargs), - self._config.headers_policy, - self._config.user_agent_policy, - self._config.proxy_policy, - ContentDecodePolicy(**kwargs), - self._config.redirect_policy, - self._config.retry_policy, - credential_policy, - self._config.logging_policy, - DistributedTracingPolicy(**kwargs), - HttpLoggingPolicy(**kwargs), - ] - if not transport: - transport = AioHttpTransport(**kwargs) - return AsyncPipeline(transport, policies) - - @classmethod - def from_connection_string(cls, conn_str, **kwargs): - # type: (str, Any) -> ServiceBusManagementClient - """Create a client from connection string. - - :param str conn_str: The connection string of the Service Bus Namespace. - :rtype: ~azure.servicebus.management.aio.ServiceBusManagementClient - """ - endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) - if "//" in endpoint: - endpoint = endpoint[endpoint.index("//")+2:] - return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) - - async def _get_queue_object(self, queue_name, **kwargs): - # type: (str, Any) -> InternalQueueDescription - if not queue_name: - raise ValueError("queue_name must be a non-empty str") - with _handle_response_error(): - et = cast( - ElementTree, - await self._impl.queue.get(queue_name, enrich=False, api_version=constants.API_VERSION, **kwargs) - ) - return _convert_xml_to_object(queue_name, et) - - async def _list_queues(self, start_index, max_count, **kwargs): - # type: (int, int, Any) -> List[Tuple[str, InternalQueueDescription]] - with _handle_response_error(): - et = cast( - ElementTree, - await self._impl.list_entities( - entity_type=constants.ENTITY_TYPE_QUEUES, skip=start_index, top=max_count, - api_version=constants.API_VERSION, **kwargs - ) - ) - entries = et.findall(constants.ENTRY_TAG) - queues = [] - for entry in entries: - entity_name = entry.find(constants.TITLE_TAG).text # type: ignore - queue_description = _convert_xml_to_object( - entity_name, # type: ignore - cast(Element, entry), - ) - queues.append((entity_name, queue_description)) - return queues # type: ignore - - async def get_queue(self, queue_name: str, **kwargs) -> QueueDescription: - """Get a QueueDescription. - - :param str queue_name: The name of the queue. - :rtype: ~azure.servicebus.management.QueueDescription - """ - queue_description = QueueDescription._from_internal_entity( # pylint:disable=protected-access - await self._get_queue_object(queue_name, **kwargs) - ) - queue_description.queue_name = queue_name - return queue_description - - async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntimeInfo: - """Get the runtime information of a queue. - - :param str queue_name: The name of the queue. - :rtype: ~azure.servicebus.management.QueueRuntimeInfo - """ - runtime_info = QueueRuntimeInfo._from_internal_entity( # pylint:disable=protected-access - await self._get_queue_object(queue_name, **kwargs) - ) - runtime_info.queue_name = queue_name - return runtime_info - - async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> QueueDescription: - """Create a queue. - - :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name - of the created queue. Other properties of the created queue will have default values decided by the - ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. - :type queue: Union[str, QueueDescription] - :rtype: ~azure.servicebus.management.QueueDescription - """ - try: - queue_name = queue.queue_name # type: ignore - to_create = queue._to_internal_entity() # type: ignore # pylint:disable=protected-access - except AttributeError: - queue_name = queue # type: ignore - to_create = InternalQueueDescription() # Use an empty queue description. - - create_entity_body = CreateQueueBody( - content=CreateQueueBodyContent( - queue_description=to_create, # type: ignore - ) - ) - request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - et = cast( - ElementTree, - await self._impl.queue.put( - queue_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - if isinstance(queue, (str, QueueDescription)): - raise_with_traceback( - ValueError, - message="queue must be a non-empty str or a QueueDescription with non-empty str queue_name") - raise_with_traceback( - TypeError, - message="queue must be a non-empty str or a QueueDescription with non-empty str queue_name") - - result = QueueDescription._from_internal_entity( # pylint:disable=protected-access - _convert_xml_to_object(queue_name, et) - ) - result.queue_name = queue_name - return result - - async def update_queue(self, queue_description: QueueDescription, **kwargs) -> QueueDescription: - """Update a queue. - - :param queue_description: The properties of this `QueueDescription` will be applied to the queue in - ServiceBus. Only a portion of properties can be updated. - Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. - :type queue_description: ~azure.servicebus.management.QueueDescription - :rtype: ~azure.servicebus.management.QueueDescription - """ - - if not isinstance(queue_description, QueueDescription): - raise TypeError("queue_description must be of type QueueDescription") - - to_update = copy(queue_description._to_internal_entity()) # pylint:disable=protected-access - - for attr in QUEUE_DESCRIPTION_SERIALIZE_ATTRIBUTES: - setattr(to_update, attr, getattr(queue_description, attr, None)) - to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) - to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) - - create_entity_body = CreateQueueBody( - content=CreateQueueBodyContent( - queue_description=to_update, - ) - ) - request_body = create_entity_body.serialize(is_xml=True) - with _handle_response_error(): - try: - et = cast( - ElementTree, - await self._impl.queue.put( - queue_description.queue_name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - raise_with_traceback( - ValueError, - message="queue_description must be a QueueDescription with valid fields, " - "including non-empty string queue name") - - result = QueueDescription._from_internal_entity( # pylint:disable=protected-access - _convert_xml_to_object(queue_description.queue_name, et) - ) - result.queue_name = queue_description.queue_name - return result - - async def delete_queue(self, queue_name: str, **kwargs) -> None: - """Delete a queue. - - :param str queue_name: The name of the queue. - :rtype: None - """ - - if not queue_name: - raise ValueError("queue_name must not be None or empty") - with _handle_response_error(): - await self._impl.queue.delete(queue_name, api_version=constants.API_VERSION, **kwargs) - - async def list_queues(self, *, start_index: int = 0, max_count: int = 100, **kwargs) -> List[QueueDescription]: - """List the queues of a ServiceBus namespace. - - :keyword int start_index: skip this number of queues. - :keyword int max_count: return at most this number of queues if there are more than this number in - the ServiceBus namespace. - :rtype: List[~azure.servicebus.management.QueueDescription] - """ - result = [] # type: List[QueueDescription] - internal_queues = await self._list_queues(start_index, max_count, **kwargs) - for queue_name, internal_queue in internal_queues: - qd = QueueDescription._from_internal_entity(internal_queue) # pylint:disable=protected-access - qd.queue_name = queue_name - result.append(qd) - return result - - async def list_queues_runtime_info( - self, *, start_index: int = 0, max_count: int = 100, **kwargs) -> List[QueueRuntimeInfo]: - """List the runtime info of the queues in a ServiceBus namespace. - - :keyword int start_index: skip this number of queues. - :keyword int max_count: return at most this number of queues if there are more than this number in - the ServiceBus namespace. - :rtype: List[~azure.servicebus.management.QueueRuntimeInfo] - """ - result = [] # type: List[QueueRuntimeInfo] - internal_queues = await self._list_queues(start_index, max_count, **kwargs) - for queue_name, internal_queue in internal_queues: - runtime_info = QueueRuntimeInfo._from_internal_entity(internal_queue) # pylint:disable=protected-access - runtime_info.queue_name = queue_name - result.append(runtime_info) - return result diff --git a/sdk/servicebus/azure-servicebus/swagger/README.md b/sdk/servicebus/azure-servicebus/swagger/README.md index af12a5c4a831..209922fd59d2 100644 --- a/sdk/servicebus/azure-servicebus/swagger/README.md +++ b/sdk/servicebus/azure-servicebus/swagger/README.md @@ -17,7 +17,7 @@ autorest --use=@autorest/python@5.0.0-preview.6 ``` ### Settings ``` yaml -input-file: servicebus-swagger.json +input-file: C:/Work/azure-rest-api-specs-pr/specification/servicebus/data-plane/servicebus-swagger.json output-folder: ../azure/servicebus/management/_generated namespace: azure.servicebus.management._generated no-namespace-folders: true @@ -27,4 +27,4 @@ vanilla: true clear-output-folder: true python: true package-version: "2017-04" -``` \ No newline at end of file +``` diff --git a/sdk/servicebus/azure-servicebus/swagger/generate_attributes_sequence_tuple.py b/sdk/servicebus/azure-servicebus/swagger/generate_attributes_sequence_tuple.py new file mode 100644 index 000000000000..a5a385366bd6 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/swagger/generate_attributes_sequence_tuple.py @@ -0,0 +1,33 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +# This is a tool, not a part of the SDK code. Run it with Python 3.6+. +# +# It iterates the _attribute_map of model classes and print the attributes of each class into a tuple. +# `dict` in Python 3.6+ guarantees order when iterating over the dict so the attributes tuple +# has the correct order of model class attributes. +# Copy the output to file azure.servicebus.management._model_workaround.py, which will convert +# _attribute_map of each model class from dict to OrderedDict. + +import inspect +from msrest.serialization import Model +from azure.servicebus.management._generated.models import _models_py3 + + +if __name__ == '__main__': + members = inspect.getmembers(_models_py3, inspect.isclass) + class_names = [] + model_class_attributes_string = "MODEL_CLASS_ATTRIBUTES = {\n" + for class_name, class_ in members: + if issubclass(class_, Model) and len(class_._attribute_map) > 1: + attributes = ", ".join('"'+x + '"' for x in class_._attribute_map.keys()) + attributes = " {}: ({})".format(class_name, attributes) + model_class_attributes_string += attributes+",\n" + class_names.append(class_name) + model_class_attributes_string += "}\n" + print("from azure.servicebus.management._generated.models import", ", ".join(class_names)) + print("\n") + print(model_class_attributes_string) From f5cd8f6c5272bcb2b3caf81eb64f0a9a92609f4b Mon Sep 17 00:00:00 2001 From: Kieran Brantner-Magee Date: Fri, 26 Jun 2020 08:58:49 -0700 Subject: [PATCH 04/21] resource_moniker isn't guaranteed to be populated, so use moniker instead for default scrubbing strategy. Add remaining notes for how to run Keyvault tests to mgmt_settings_fake. --- .../src/azure_devtools/scenario_tests/preparers.py | 2 +- tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py index 36f8c8d11039..ea339a195ff8 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py @@ -129,7 +129,7 @@ def _preparer_wrapper(test_class_instance, **kwargs): if test_class_instance.is_live: test_class_instance.scrubber.register_name_pair( resource_name, - self.resource_moniker + self.moniker ) # We shouldn't trim the same kwargs that we use for deletion, diff --git a/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py b/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py index d3db2a68ce63..8e24c6037a03 100644 --- a/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py +++ b/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py @@ -12,7 +12,10 @@ SUBSCRIPTION_ID = "00000000-0000-0000-0000-000000000000" # Keyvault tests +# Note: Keyvault tests require EnvironmentCredential variables to be populated as well. (AZURE_CLIENT_ID etc) TENANT_ID = '00000000-0000-0000-0000-000000000000' +# Note: Not the OID from the azure portal. Use 'az ad sp show --id | grep objectId' +CLIENT_OID = '00000000-0000-0000-0000-000000000000' # Cognitive Services tests CS_SUBSCRIPTION_KEY = '0000000000000000000000000000' # Event Grid key From ff84d1cf6ae76a8b5e72746f3bfd7494f268d5f4 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Fri, 26 Jun 2020 18:39:17 -0700 Subject: [PATCH 05/21] Update validation and type hints --- .../management/_management_client_async.py | 400 ++++++++---------- .../management/_management_client.py | 311 +++++++------- 2 files changed, 336 insertions(+), 375 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 2a4f42505cbc..79dd11dfde82 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -4,15 +4,12 @@ # -------------------------------------------------------------------------------------------- import functools from copy import copy -from typing import TYPE_CHECKING, Dict, Any, Union, List, cast, Tuple -from xml.etree.ElementTree import ElementTree, Element +from typing import TYPE_CHECKING, Dict, Any, Union, cast +from xml.etree.ElementTree import ElementTree -import six from azure.core.async_paging import AsyncItemPaged from azure.servicebus.aio.management._utils import extract_data_template, get_next_template -from azure.servicebus.management._model_workaround import avoid_timedelta_overflow -from msrest.exceptions import ValidationError -from azure.core.exceptions import raise_with_traceback, ResourceNotFoundError +from azure.core.exceptions import ResourceNotFoundError from azure.core.pipeline import AsyncPipeline from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ RequestIdPolicy, AsyncBearerTokenCredentialPolicy @@ -24,7 +21,8 @@ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ QueueDescription as InternalQueueDescription, TopicDescription as InternalTopicDescription, \ - SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription + SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription, \ + NamespaceProperties from ..._common.utils import parse_conn_str from ..._common.constants import JWT_TOKEN_SCOPE @@ -38,6 +36,7 @@ SubscriptionDescription, SubscriptionRuntimeInfo, RuleDescription from ...management._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy from ...management._handle_response_error import _handle_response_error +from ...management._model_workaround import avoid_timedelta_overflow if TYPE_CHECKING: @@ -138,8 +137,7 @@ async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kw ) return element - async def get_queue(self, queue_name, **kwargs): - # type: (str, Any) -> QueueDescription + async def get_queue(self, queue_name: str, **kwargs) -> QueueDescription: """Get a QueueDescription. :param str queue_name: The name of the queue. @@ -153,8 +151,7 @@ async def get_queue(self, queue_name, **kwargs): queue_description.name = queue_name return queue_description - async def get_queue_runtime_info(self, queue_name, **kwargs): - # type: (str, Any) -> QueueRuntimeInfo + async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntimeInfo: """Get the runtime information of a queue. :param str queue_name: The name of the queue. @@ -168,12 +165,11 @@ async def get_queue_runtime_info(self, queue_name, **kwargs): runtime_info.name = queue_name return runtime_info - async def create_queue(self, queue, **kwargs): - # type: (Union[str, QueueDescription], Any) -> QueueDescription + async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> QueueDescription: """Create a queue. :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name - of the created queue. Other properties of the created queue will have async default values decided by the + of the created queue. Other properties of the created queue will have default values decided by the ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. :type queue: Union[str, ~azure.servicebus.management.QueueDescription] :rtype: ~azure.servicebus.management.QueueDescription @@ -191,47 +187,34 @@ async def create_queue(self, queue, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - await self._impl.entity.put( - queue_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - if isinstance(queue, (six.string_types, QueueDescription)): - raise_with_traceback( - ValueError, - message="queue must be a non-empty str or a QueueDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="queue must be a non-empty str or a QueueDescription with non-empty str name") + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.entity.put( + queue_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = QueueDescriptionEntry.deserialize(entry_ele) result = QueueDescription._from_internal_entity(entry.content.queue_description) result.name = queue_name return result - async def update_queue(self, queue_description, **kwargs): - # type: (QueueDescription, Any) -> None + async def update_queue(self, queue_description: QueueDescription, **kwargs) -> None: """Update a queue. :param queue_description: The properties of this `QueueDescription` will be applied to the queue in ServiceBus. Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. :type queue_description: ~azure.servicebus.management.QueueDescription - :keyword timedelta async default_message_time_to_live - :keyword timedelta lock_duration - :keyword bool dead_lettering_on_message_expiration - :keyword timedelta duplicate_detection_history_time_window - :keyword int max_delivery_count + :keyword timedelta default_message_time_to_live: The value you want to update to. + :keyword timedelta lock_duration: The value you want to update to. + :keyword bool dead_lettering_on_message_expiration: The value you want to update to. + :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. + :keyword int max_delivery_count: The value you want to update to. :rtype: ~azure.servicebus.management.QueueDescription """ - # TODO: validate whether a queue_description has enough information - if not isinstance(queue_description, QueueDescription): raise TypeError("queue_description must be of type QueueDescription") @@ -239,7 +222,7 @@ async def update_queue(self, queue_description, **kwargs): to_update = copy(internal_description) # pylint:disable=protected-access to_update.default_message_time_to_live = kwargs.get( - "async default_message_time_to_live") or queue_description.default_message_time_to_live + "default_message_time_to_live") or queue_description.default_message_time_to_live to_update.lock_duration = kwargs.get("lock_duration") or queue_description.lock_duration to_update.dead_lettering_on_message_expiration = kwargs.get( "dead_lettering_on_message_expiration") or queue_description.dead_lettering_on_message_expiration @@ -257,26 +240,19 @@ async def update_queue(self, queue_description, **kwargs): ) request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): - try: - await self._impl.entity.put( - queue_description.name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - raise_with_traceback( - ValueError, - message="queue_description must be a QueueDescription with valid fields, " - "including non-empty string name") - - async def delete_queue(self, queue, **kwargs): - # type: (Union[str, QueueDescription], Any) -> None + await self._impl.entity.put( + queue_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + async def delete_queue(self, queue: Union[str, QueueDescription], **kwargs) -> None: """Delete a queue. - :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue. + :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue or + a `QueueDescription` with name. :rtype: None """ try: @@ -288,13 +264,11 @@ async def delete_queue(self, queue, **kwargs): with _handle_response_error(): await self._impl.entity.delete(queue_name, api_version=constants.API_VERSION, **kwargs) - def list_queues(self, **kwargs): - # type: (Any) -> AsyncItemPaged[QueueDescription] + def list_queues(self, **kwargs) -> AsyncItemPaged[QueueDescription]: """List the queues of a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] """ @@ -312,12 +286,11 @@ def entry_to_qd(entry): return AsyncItemPaged( get_next, extract_data) - def list_queues_runtime_info(self, **kwargs): - # type: (Any) -> AsyncItemPaged[QueueRuntimeInfo] + def list_queues_runtime_info(self, **kwargs) -> AsyncItemPaged[QueueRuntimeInfo]: """List the runtime info of the queues in a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in + :keyword int max_page_size: max number of entities per page. the ServiceBus namespace. :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ @@ -336,11 +309,10 @@ def entry_to_qr(entry): return AsyncItemPaged( get_next, extract_data) - async def get_topic(self, topic_name, **kwargs): - # type: (str, Any) -> TopicDescription + async def get_topic(self, topic_name, **kwargs) -> TopicDescription: """Get a TopicDescription. - :param str topic_name: The name of the queue. + :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicDescription """ entry_ele = await self._get_entity_element(topic_name, **kwargs) @@ -351,14 +323,13 @@ async def get_topic(self, topic_name, **kwargs): topic_description.name = topic_name return topic_description - async def get_topic_runtime_info(self, topic_name, **kwargs): - # type: (str, Any) -> TopicRuntimeInfo + async def get_topic_runtime_info(self, topic_name: str, **kwargs) -> TopicRuntimeInfo: """Get a TopicRuntimeInfo - :param str topic_name: + :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicRuntimeInfo """ - entry_ele = await self._get_entity_element(topic_name, **kwargs) + entry_ele = self._get_entity_element(topic_name, **kwargs) entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) @@ -366,11 +337,13 @@ async def get_topic_runtime_info(self, topic_name, **kwargs): topic_description.name = topic_name return topic_description - async def create_topic(self, topic, **kwargs): - # type: (Union[str, TopicDescription], Any) -> TopicDescription - """ + async def create_topic(self, topic: Union[str, TopicDescription], **kwargs) -> TopicDescription: + """Create a topic. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic name or a `TopicDescription` + instance. When it's a str, it will be the name of the created topic. Other properties of the created topic + will have default values decided by the ServiceBus. + Use a `TopicDescription` if you want to set queue properties other than the queue name. :rtype: ~azure.servicebus.management.TopicDescription """ try: @@ -386,47 +359,39 @@ async def create_topic(self, topic, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - await self._impl.entity.put( - topic_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError as e: - # post-hoc try to give a somewhat-justifiable failure reason. - if isinstance(topic, (six.string_types, TopicDescription)): - raise_with_traceback( - ValueError, - message="topic must be a non-empty str or a QueueDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="topic must be a non-empty str or a QueueDescription with non-empty str name") - + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.entity.put( + topic_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = TopicDescriptionEntry.deserialize(entry_ele) result = TopicDescription._from_internal_entity(entry.content.topic_description) result.name = topic_name return result - async def update_topic(self, topic_description, **kwargs): - # type: (TopicDescription, Any) -> None - """ + async def update_topic(self, topic_description: TopicDescription, **kwargs) -> None: + """Update a topic. - :param ~azure.servicebus.management.TopicDescription topic_description: - :keyword timedelta async default_message_time_to_live: - :keyword timedelta duplicate_detection_history_time_window: + Before calling this method, you should use `get_topic` to get a `TopicDescription` instance, then use the + keyword arguments to update the properties you want to update. + Only a portion of properties can be updated. + Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic. + + :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. + :keyword timedelta default_message_time_to_live: The value you want to update to. + :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :rtype: None """ - # TODO: validate whether topic_description has enough information (refer to the create_topic response) if not isinstance(topic_description, TopicDescription): raise TypeError("topic_description must be of type TopicDescription") internal_description = topic_description._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access - to_update.default_message_time_to_live = kwargs.get("async default_message_time_to_live") or topic_description.default_message_time_to_live + to_update.default_message_time_to_live = kwargs.get("default_message_time_to_live") or topic_description.default_message_time_to_live to_update.duplicate_detection_history_time_window = kwargs.get("duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) @@ -439,24 +404,16 @@ async def update_topic(self, topic_description, **kwargs): ) request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): - try: - await self._impl.entity.put( - topic_description.name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - raise_with_traceback( - ValueError, - message="topic_description must be a TopicDescription with valid fields, " - "including non-empty string topic name") - - async def delete_topic(self, topic, **kwargs): - # type: (Union[str, TopicDescription], Any) -> None - """ + await self._impl.entity.put( + topic_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) + + async def delete_topic(self, topic: Union[str, TopicDescription], **kwargs) -> None: + """Delete a topic. :param Union[str, TopicDescription] topic: :rtype: None @@ -467,12 +424,11 @@ async def delete_topic(self, topic, **kwargs): topic_name = topic await self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) - def list_topics(self, **kwargs): - # type: (Any) -> ItemPaged[TopicDescription] - """ - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + def list_topics(self, **kwargs) -> AsyncItemPaged[TopicDescription]: + """List the topics of a ServiceBus namespace. + + :keyword int start_index: skip this number of topics. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): @@ -489,12 +445,11 @@ def entry_to_topic(entry): return AsyncItemPaged( get_next, extract_data) - def list_topics_runtime_info(self, **kwargs): - # type: (Any) -> ItemPaged[TopicRuntimeInfo] - """ + def list_topics_runtime_info(self, **kwargs) -> AsyncItemPaged[TopicRuntimeInfo]: + """List the topics runtime info of a ServiceBus namespace. + :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): @@ -511,12 +466,13 @@ def entry_to_topic(entry): return AsyncItemPaged( get_next, extract_data) - async def get_subscription(self, topic, subscription_name, **kwargs): - # type: (Union[str, TopicDescription], str, Any) -> SubscriptionDescription - """ + async def get_subscription( + self, topic: Union[str, TopicDescription], subscription_name: str, **kwargs + ) -> SubscriptionDescription: + """Get a topic subscription. - :param Union[str, TopicDescription] topic: - :param str subscription_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -532,12 +488,13 @@ async def get_subscription(self, topic, subscription_name, **kwargs): subscription.name = entry.title return subscription - async def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): - # type: (Union[str, TopicDescription], str, Any) -> SubscriptionRuntimeInfo - """ + async def get_subscription_runtime_info( + self, topic: Union[str, TopicDescription], subscription_name: str, **kwargs + ) -> SubscriptionRuntimeInfo: + """Get a topic subscription runtime info. - :param Union[str, TopicDescription] topic: - :param str subscription_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ try: @@ -553,11 +510,15 @@ async def get_subscription_runtime_info(self, topic, subscription_name, **kwargs subscription.name = entry.title return subscription - async def create_subscription(self, topic, subscription, **kwargs): + async def create_subscription( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], **kwargs + ) -> SubscriptionDescription: """ - :param Union[str, TopicDescription] topic: - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: + :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription name or a + `SubscriptionDescription` instance. When it's a str, it will be the name of the created subscription. + Other properties of the created subscription will have default values decided by the ServiceBus. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -577,39 +538,34 @@ async def create_subscription(self, topic, subscription, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - await self._impl.subscription.put( - topic_name, - subscription_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - # TODO: validate param topic - if isinstance(subscription, (six.string_types, SubscriptionDescription)): - raise_with_traceback( - ValueError, - message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + with _handle_response_error(): + entry_ele = cast( + ElementTree, + await self._impl.subscription.put( + topic_name, + subscription_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) result.name = subscription_name return result - async def update_subscription(self, topic, subscription_description, **kwargs): - """ + async def update_subscription( + self, topic: Union[str, TopicDescription], subscription_description: SubscriptionDescription, **kwargs + ) -> None: + """Update a subscription. - :param Union[str, TopicDescription] topic: - :param ~azure.servicebus.management.SubscriptionDescription subscription: + Before calling this method, you should use `get_subscription` to get a `SubscriptionDescription` instance, + then update the related attributes and call this method. + Only a portion of properties can be updated. + Refer to TODO: to add the doc link that describes what can be updated. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param ~azure.servicebus.management.SubscriptionDescription subscription: The subscription to be updated. :rtype: None """ - # TODO: validate param topic and whether subscription_description has enough properties. try: topic_name = topic.name except AttributeError: @@ -639,10 +595,13 @@ async def update_subscription(self, topic, subscription_description, **kwargs): **kwargs ) - async def delete_subscription(self, topic, subscription, **kwargs): - """ - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: + async def delete_subscription( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], **kwargs + ) -> None: + """Delete a topic subscription. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription to be deleted. :rtype: None """ try: @@ -655,13 +614,13 @@ async def delete_subscription(self, topic, subscription, **kwargs): subscription_name = subscription await self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) - def list_subscriptions(self, topic, **kwargs): + def list_subscriptions( + self, topic: Union[str, TopicDescription], **kwargs) -> AsyncItemPaged[SubscriptionDescription]: """List the subscriptions of a ServiceBus Topic. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in - the ServiceBus Topic. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: @@ -683,13 +642,13 @@ def entry_to_subscription(entry): return AsyncItemPaged( get_next, extract_data) - def list_subscriptions_runtime_info(self, topic, **kwargs): + def list_subscriptions_runtime_info( + self, topic: Union[str, TopicDescription], **kwargs) -> AsyncItemPaged[SubscriptionRuntimeInfo]: """List the subscriptions of a ServiceBus Topic Runtime Information. - :param Union[str, TopicDescription] topic: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in - the ServiceBus Topic. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: @@ -711,12 +670,14 @@ def entry_to_subscription(entry): return AsyncItemPaged( get_next, extract_data) - async def get_rule(self, topic, subscription, rule_name, **kwargs): - """ + async def get_rule( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], + rule_name: str, **kwargs) -> RuleDescription: + """Get a topic subscription rule - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param str rule_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rule. + :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleDescription """ try: @@ -727,7 +688,7 @@ async def get_rule(self, topic, subscription, rule_name, **kwargs): subscription_name = subscription.name except AttributeError: subscription_name = subscription - entry_ele = self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) + entry_ele = await self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) entry = RuleDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError( @@ -735,14 +696,18 @@ async def get_rule(self, topic, subscription, rule_name, **kwargs): rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) return rule_description - async def create_rule(self, topic, subscription, rule, **kwargs): - """ - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param Union[str, ~azure.servicebus.management.RuleDescription] rule: + async def create_rule( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], + rule: Union[str, RuleDescription], **kwargs) -> RuleDescription: + """Create a subscription of a topic. + + :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. + :param Union[str, SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The rule name or a + `RuleDescription` instance. When it's a str, it will be the name of the created rule. + Other properties of the created rule will have default values decided by the ServiceBus :rtype: ~azure.servicebus.management.RuleDescription """ - # TODO: validate param topic, subscription and rule. try: topic_name = topic.name except AttributeError: @@ -774,15 +739,22 @@ async def create_rule(self, topic, subscription, rule, **kwargs): result = entry.content.rule_description return result - async def update_rule(self, topic, subscription, rule_description, **kwargs): - """ + async def update_rule( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], + rule_description: RuleDescription, **kwargs) -> None: + """Update a rule. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param ~azure.servicebus.management.RuleDescription rule_description: + Before calling this method, you should use `get_rule` to get a `RuleDescription` instance, + then update the related attributes and call this method. + Only a portion of properties can be updated. + Refer to TODO: to add the doc link that describes what can be updated. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns this rule. + :param ~azure.servicebus.management.RuleDescription rule_description: The rule to be updated. :rtype: None """ - # TODO: validate param topic, subscription and rule_description. + try: topic_name = topic.name except AttributeError: @@ -812,12 +784,14 @@ async def update_rule(self, topic, subscription, rule_description, **kwargs): **kwargs ) - async def delete_rule(self, topic, subscription, rule, **kwargs): - """ + async def delete_rule( + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], + rule: Union[str, RuleDescription], **kwargs) -> None: + """Delete a topic subscription rule. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param Union[str, RuleDescription] subscription: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the topic. + :param Union[str, RuleDescription] rule: The to-be-deleted rule. :rtype: None """ try: @@ -834,13 +808,15 @@ async def delete_rule(self, topic, subscription, rule, **kwargs): rule_name = rule await self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) - def list_rules(self, topic, subscription, **kwargs): - """ + def list_rules( + self, topic: Union[str, TopicDescription], subscription: Union[str, RuleDescription], **kwargs + ) -> AsyncItemPaged[RuleDescription]: + """List the rules of a topic subscription. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :keyword int start_index: - :keyword int max_page_size: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. + :keyword int start_index: skip this number of rules. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: @@ -865,8 +841,8 @@ def entry_to_rule(entry): return AsyncItemPaged( get_next, extract_data) - async def get_namespace_properties(self, **kwargs): - """ + async def get_namespace_properties(self, **kwargs) -> NamespaceProperties: + """Get the namespace properties :rtype: NamespaceProperties """ diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index c7c17a5f9dc6..1fee8e76c49c 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -7,19 +7,19 @@ from typing import TYPE_CHECKING, Dict, Any, Union, cast from xml.etree.ElementTree import ElementTree -import six from azure.core.paging import ItemPaged + from ._generated.models import QueueDescriptionFeed, TopicDescriptionEntry, \ QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ RuleDescriptionFeed, NamespacePropertiesEntry, CreateTopicBody, CreateTopicBodyContent, \ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ QueueDescription as InternalQueueDescription, TopicDescription as InternalTopicDescription, \ - SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription + SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription, \ + NamespaceProperties from ._utils import extract_data_template, get_next_template from ._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy -from msrest.exceptions import ValidationError -from azure.core.exceptions import raise_with_traceback, ResourceNotFoundError +from azure.core.exceptions import ResourceNotFoundError from azure.core.pipeline import Pipeline from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ RequestIdPolicy, BearerTokenCredentialPolicy @@ -186,23 +186,13 @@ def create_queue(self, queue, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - self._impl.entity.put( - queue_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - if isinstance(queue, (six.string_types, QueueDescription)): - raise_with_traceback( - ValueError, - message="queue must be a non-empty str or a QueueDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="queue must be a non-empty str or a QueueDescription with non-empty str name") + with _handle_response_error(): + entry_ele = cast( + ElementTree, + self._impl.entity.put( + queue_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = QueueDescriptionEntry.deserialize(entry_ele) result = QueueDescription._from_internal_entity(entry.content.queue_description) @@ -213,20 +203,21 @@ def update_queue(self, queue_description, **kwargs): # type: (QueueDescription, Any) -> None """Update a queue. - :param queue_description: The properties of this `QueueDescription` will be applied to the queue in - ServiceBus. Only a portion of properties can be updated. - Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. + Before calling this method, you should use `get_queue` to get a `QueueDescription` instance, then use the + keyword arguments to update the properties you want to update. + Only a portion of properties can be updated. + Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. + + :param queue_description: The queue to be updated. :type queue_description: ~azure.servicebus.management.QueueDescription - :keyword timedelta default_message_time_to_live - :keyword timedelta lock_duration - :keyword bool dead_lettering_on_message_expiration - :keyword timedelta duplicate_detection_history_time_window - :keyword int max_delivery_count + :keyword timedelta default_message_time_to_live: The value you want to update to. + :keyword timedelta lock_duration: The value you want to update to. + :keyword bool dead_lettering_on_message_expiration: The value you want to update to. + :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. + :keyword int max_delivery_count: The value you want to update to. :rtype: ~azure.servicebus.management.QueueDescription """ - # TODO: validate whether a queue_description has enough information - if not isinstance(queue_description, QueueDescription): raise TypeError("queue_description must be of type QueueDescription") @@ -252,26 +243,20 @@ def update_queue(self, queue_description, **kwargs): ) request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): - try: - self._impl.entity.put( - queue_description.name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - raise_with_traceback( - ValueError, - message="queue_description must be a QueueDescription with valid fields, " - "including non-empty string name") + self._impl.entity.put( + queue_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) def delete_queue(self, queue, **kwargs): # type: (Union[str, QueueDescription], Any) -> None """Delete a queue. - :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue. + :param Union[str, azure.servicebus.management.QueueDescription] queue: The name of the queue or + a `QueueDescription` with name. :rtype: None """ try: @@ -288,8 +273,7 @@ def list_queues(self, **kwargs): """List the queues of a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] """ @@ -312,7 +296,7 @@ def list_queues_runtime_info(self, **kwargs): """List the runtime info of the queues in a ServiceBus namespace. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in + :keyword int max_page_size: max number of entities per page. the ServiceBus namespace. :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ @@ -335,7 +319,7 @@ def get_topic(self, topic_name, **kwargs): # type: (str, Any) -> TopicDescription """Get a TopicDescription. - :param str topic_name: The name of the queue. + :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicDescription """ entry_ele = self._get_entity_element(topic_name, **kwargs) @@ -350,7 +334,7 @@ def get_topic_runtime_info(self, topic_name, **kwargs): # type: (str, Any) -> TopicRuntimeInfo """Get a TopicRuntimeInfo - :param str topic_name: + :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicRuntimeInfo """ entry_ele = self._get_entity_element(topic_name, **kwargs) @@ -363,9 +347,12 @@ def get_topic_runtime_info(self, topic_name, **kwargs): def create_topic(self, topic, **kwargs): # type: (Union[str, TopicDescription], Any) -> TopicDescription - """ + """Create a topic. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic name or a `TopicDescription` + instance. When it's a str, it will be the name of the created topic. Other properties of the created topic + will have default values decided by the ServiceBus. + Use a `TopicDescription` if you want to set queue properties other than the queue name. :rtype: ~azure.servicebus.management.TopicDescription """ try: @@ -381,24 +368,13 @@ def create_topic(self, topic, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - self._impl.entity.put( - topic_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError as e: - # post-hoc try to give a somewhat-justifiable failure reason. - if isinstance(topic, (six.string_types, TopicDescription)): - raise_with_traceback( - ValueError, - message="topic must be a non-empty str or a QueueDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="topic must be a non-empty str or a QueueDescription with non-empty str name") - + with _handle_response_error(): + entry_ele = cast( + ElementTree, + self._impl.entity.put( + topic_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = TopicDescriptionEntry.deserialize(entry_ele) result = TopicDescription._from_internal_entity(entry.content.topic_description) result.name = topic_name @@ -406,15 +382,19 @@ def create_topic(self, topic, **kwargs): def update_topic(self, topic_description, **kwargs): # type: (TopicDescription, Any) -> None - """ + """Update a topic. + + Before calling this method, you should use `get_topic` to get a `TopicDescription` instance, then use the + keyword arguments to update the properties you want to update. + Only a portion of properties can be updated. + Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic. - :param ~azure.servicebus.management.TopicDescription topic_description: - :keyword timedelta default_message_time_to_live: - :keyword timedelta duplicate_detection_history_time_window: + :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. + :keyword timedelta default_message_time_to_live: The value you want to update to. + :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :rtype: None """ - # TODO: validate whether topic_description has enough information (refer to the create_topic response) if not isinstance(topic_description, TopicDescription): raise TypeError("topic_description must be of type TopicDescription") @@ -434,24 +414,17 @@ def update_topic(self, topic_description, **kwargs): ) request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): - try: - self._impl.entity.put( - topic_description.name, # type: ignore - request_body, - api_version=constants.API_VERSION, - if_match="*", - **kwargs - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - raise_with_traceback( - ValueError, - message="topic_description must be a TopicDescription with valid fields, " - "including non-empty string topic name") + self._impl.entity.put( + topic_description.name, # type: ignore + request_body, + api_version=constants.API_VERSION, + if_match="*", + **kwargs + ) def delete_topic(self, topic, **kwargs): # type: (Union[str, TopicDescription], Any) -> None - """ + """Delete a topic. :param Union[str, TopicDescription] topic: :rtype: None @@ -464,10 +437,10 @@ def delete_topic(self, topic, **kwargs): def list_topics(self, **kwargs): # type: (Any) -> ItemPaged[TopicDescription] - """ - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + """List the topics of a ServiceBus namespace. + + :keyword int start_index: skip this number of topics. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): @@ -486,10 +459,10 @@ def entry_to_topic(entry): def list_topics_runtime_info(self, **kwargs): # type: (Any) -> ItemPaged[TopicRuntimeInfo] - """ + """List the topics runtime info of a ServiceBus namespace. + :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of queues if there are more than this number in - the ServiceBus namespace. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): @@ -508,10 +481,10 @@ def entry_to_topic(entry): def get_subscription(self, topic, subscription_name, **kwargs): # type: (Union[str, TopicDescription], str, Any) -> SubscriptionDescription - """ + """Get a topic subscription. - :param Union[str, TopicDescription] topic: - :param str subscription_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -529,10 +502,10 @@ def get_subscription(self, topic, subscription_name, **kwargs): def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): # type: (Union[str, TopicDescription], str, Any) -> SubscriptionRuntimeInfo - """ + """Get a topic subscription runtime info. - :param Union[str, TopicDescription] topic: - :param str subscription_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ try: @@ -549,10 +522,13 @@ def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): return subscription def create_subscription(self, topic, subscription, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> SubscriptionDescription + """Create a topic subscription. - :param Union[str, TopicDescription] topic: - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: + :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription name or a + `SubscriptionDescription` instance. When it's a str, it will be the name of the created subscription. + Other properties of the created subscription will have default values decided by the ServiceBus. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -572,25 +548,14 @@ def create_subscription(self, topic, subscription, **kwargs): ) ) request_body = create_entity_body.serialize(is_xml=True) - try: - with _handle_response_error(): - entry_ele = cast( - ElementTree, - self._impl.subscription.put( - topic_name, - subscription_name, # type: ignore - request_body, api_version=constants.API_VERSION, **kwargs) - ) - except ValidationError: - # post-hoc try to give a somewhat-justifiable failure reason. - # TODO: validate param topic - if isinstance(subscription, (six.string_types, SubscriptionDescription)): - raise_with_traceback( - ValueError, - message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") - raise_with_traceback( - TypeError, - message="subscription must be a non-empty str or a SubscriptionDescription with non-empty str name") + with _handle_response_error(): + entry_ele = cast( + ElementTree, + self._impl.subscription.put( + topic_name, + subscription_name, # type: ignore + request_body, api_version=constants.API_VERSION, **kwargs) + ) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) @@ -598,13 +563,18 @@ def create_subscription(self, topic, subscription, **kwargs): return result def update_subscription(self, topic, subscription_description, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> None + """Update a subscription. - :param Union[str, TopicDescription] topic: - :param ~azure.servicebus.management.SubscriptionDescription subscription: + Before calling this method, you should use `get_subscription` to get a `SubscriptionDescription` instance, + then update the related attributes and call this method. + Only a portion of properties can be updated. + Refer to TODO: to add the doc link that describes what can be updated. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param ~azure.servicebus.management.SubscriptionDescription subscription: The subscription to be updated. :rtype: None """ - # TODO: validate param topic and whether subscription_description has enough properties. try: topic_name = topic.name except AttributeError: @@ -635,9 +605,11 @@ def update_subscription(self, topic, subscription_description, **kwargs): ) def delete_subscription(self, topic, subscription, **kwargs): - """ - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> None + """Delete a topic subscription. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription to be deleted. :rtype: None """ try: @@ -651,12 +623,12 @@ def delete_subscription(self, topic, subscription, **kwargs): self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) def list_subscriptions(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> ItemPaged[SubscriptionDescription] """List the subscriptions of a ServiceBus Topic. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in - the ServiceBus Topic. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: @@ -679,12 +651,12 @@ def entry_to_subscription(entry): get_next, extract_data) def list_subscriptions_runtime_info(self, topic, **kwargs): + # type: (Union[str, TopicDescription], Any) -> ItemPaged[SubscriptionRuntimeInfo] """List the subscriptions of a ServiceBus Topic Runtime Information. - :param Union[str, TopicDescription] topic: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. :keyword int start_index: skip this number of queues. - :keyword int max_page_size: return at most this number of subscriptions if there are more than this number in - the ServiceBus Topic. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: @@ -707,11 +679,12 @@ def entry_to_subscription(entry): get_next, extract_data) def get_rule(self, topic, subscription, rule_name, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Any) -> RuleDescription + """Get a topic subscription rule - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param str rule_name: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rule. + :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleDescription """ try: @@ -731,13 +704,16 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): return rule_description def create_rule(self, topic, subscription, rule, **kwargs): - """ - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param Union[str, ~azure.servicebus.management.RuleDescription] rule: + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Union[str, RuleDescription]) -> RuleDescription + """Create a subscription of a topic. + + :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. + :param Union[str, SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The rule name or a + `RuleDescription` instance. When it's a str, it will be the name of the created rule. + Other properties of the created rule will have default values decided by the ServiceBus :rtype: ~azure.servicebus.management.RuleDescription """ - # TODO: validate param topic, subscription and rule. try: topic_name = topic.name except AttributeError: @@ -770,14 +746,20 @@ def create_rule(self, topic, subscription, rule, **kwargs): return result def update_rule(self, topic, subscription, rule_description, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], RuleDescription, Any) -> None + """Update a rule. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param ~azure.servicebus.management.RuleDescription rule_description: + Before calling this method, you should use `get_rule` to get a `RuleDescription` instance, + then update the related attributes and call this method. + Only a portion of properties can be updated. + Refer to TODO: to add the doc link that describes what can be updated. + + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns this rule. + :param ~azure.servicebus.management.RuleDescription rule_description: The rule to be updated. :rtype: None """ - # TODO: validate param topic, subscription and rule_description. + try: topic_name = topic.name except AttributeError: @@ -808,11 +790,12 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): ) def delete_rule(self, topic, subscription, rule, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> None + """Delete a topic subscription rule. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :param Union[str, RuleDescription] subscription: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the topic. + :param Union[str, RuleDescription] rule: The to-be-deleted rule. :rtype: None """ try: @@ -830,12 +813,13 @@ def delete_rule(self, topic, subscription, rule, **kwargs): self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) def list_rules(self, topic, subscription, **kwargs): - """ + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> ItemPaged[RuleDescription] + """List the rules of a topic subscription. - :param Union[str, TopicDescription] topic: - :param Union[str, SubscriptionDescription] subscription: - :keyword int start_index: - :keyword int max_page_size: + :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. + :keyword int start_index: skip this number of rules. + :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: @@ -861,7 +845,8 @@ def entry_to_rule(entry): get_next, extract_data) def get_namespace_properties(self, **kwargs): - """ + # type: (Any) -> NamespaceProperties + """Get the namespace properties :rtype: NamespaceProperties """ From 69ba610acaccd6555bda3b15926dbe0b59603151 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Fri, 26 Jun 2020 18:39:43 -0700 Subject: [PATCH 06/21] Update models from swagger --- .../management/_generated/models/_models.py | 112 ++++++++++------- .../_generated/models/_models_py3.py | 117 +++++++++++------- .../operations/_subscription_operations.py | 1 + .../management/_model_workaround.py | 6 +- .../azure/servicebus/management/_models.py | 61 ++++++--- 5 files changed, 191 insertions(+), 106 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py index 495895a71eea..e3077351e58e 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models.py @@ -439,7 +439,7 @@ def __init__( class MessageCountDetails(msrest.serialization.Model): - """Details about the message counts in queue. + """Details about the message counts in entity. :param active_message_count: Number of active messages in the queue, topic, or subscription. :type active_message_count: int @@ -638,6 +638,12 @@ class QueueDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param forward_to: The name of the recipient entity to which all the messages sent to the queue + are forwarded to. + :type forward_to: str + :param user_metadata: Custom metdata that user can associate with the description. Max length + is 1024 chars. + :type user_metadata: str :param created_at: The exact time the queue was created. :type created_at: ~datetime.datetime :param updated_at: The exact time a message was updated in the queue. @@ -647,7 +653,7 @@ class QueueDescription(msrest.serialization.Model): :type accessed_at: ~datetime.datetime :param support_ordering: A value that indicates whether the queue supports ordering. :type support_ordering: bool - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. @@ -662,6 +668,9 @@ class QueueDescription(msrest.serialization.Model): :param enable_express: A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. :type enable_express: bool + :param forward_dead_lettered_messages_to: The name of the recipient entity to which all the + dead-lettered messages of this subscription are forwarded to. + :type forward_dead_lettered_messages_to: str """ _attribute_map = { @@ -679,6 +688,8 @@ class QueueDescription(msrest.serialization.Model): 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_to': {'key': 'ForwardTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, @@ -688,6 +699,7 @@ class QueueDescription(msrest.serialization.Model): 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_dead_lettered_messages_to': {'key': 'ForwardDeadLetteredMessagesTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } _xml_map = { 'name': 'QueueDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' @@ -712,6 +724,8 @@ def __init__( self.is_anonymous_accessible = kwargs.get('is_anonymous_accessible', None) self.authorization_rules = kwargs.get('authorization_rules', None) self.status = kwargs.get('status', None) + self.forward_to = kwargs.get('forward_to', None) + self.user_metadata = kwargs.get('user_metadata', None) self.created_at = kwargs.get('created_at', None) self.updated_at = kwargs.get('updated_at', None) self.accessed_at = kwargs.get('accessed_at', None) @@ -721,6 +735,7 @@ def __init__( self.enable_partitioning = kwargs.get('enable_partitioning', None) self.entity_availability_status = kwargs.get('entity_availability_status', None) self.enable_express = kwargs.get('enable_express', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) class QueueDescriptionEntry(msrest.serialization.Model): @@ -892,7 +907,7 @@ class RuleDescription(msrest.serialization.Model): :type filter: ~azure.servicebus.management._generated.models.RuleFilter :param action: :type action: ~azure.servicebus.management._generated.models.RuleAction - :param created_at: The exact time the queue was created. + :param created_at: The exact time the rule was created. :type created_at: ~datetime.datetime :param name: :type name: str @@ -926,13 +941,13 @@ class RuleDescriptionEntry(msrest.serialization.Model): :type id: str :param title: The name of the rule. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this rule was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this rule was last updated. :type updated: ~datetime.datetime :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The RuleDescription. :type content: ~azure.servicebus.management._generated.models.RuleDescriptionEntryContent """ @@ -962,7 +977,7 @@ def __init__( class RuleDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The RuleDescription. :param type: Type of content in queue response. :type type: str @@ -988,9 +1003,9 @@ def __init__( class RuleDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus rules. - :param id: URL of the list queues query. + :param id: URL of the list rules query. :type id: str :param title: The entity type for the feed. :type title: object @@ -998,7 +1013,7 @@ class RuleDescriptionFeed(msrest.serialization.Model): :type updated: ~datetime.datetime :param link: Links to paginated response. :type link: list[~azure.servicebus.management._generated.models.ResponseLink] - :param entry: Queue entries. + :param entry: Rules entries. :type entry: list[~azure.servicebus.management._generated.models.RuleDescriptionEntry] """ @@ -1095,7 +1110,7 @@ def __init__( class SubscriptionDescription(msrest.serialization.Model): - """Description of a Service Bus queue resource. + """Description of a Service Bus subscription resource. :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 @@ -1108,13 +1123,13 @@ class SubscriptionDescription(msrest.serialization.Model): the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. :type default_message_time_to_live: ~datetime.timedelta - :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. + :param dead_lettering_on_message_expiration: A value that indicates whether this subscription + has dead letter support when a message expires. :type dead_lettering_on_message_expiration: bool :param dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this - queue has dead letter support when a message expires. + subscription has dead letter support when a message expires. :type dead_lettering_on_filter_evaluation_exceptions: bool - :param message_count: The number of messages in the queue. + :param message_count: The number of messages in the subscription. :type message_count: int :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered after this number of deliveries. Default value is 10. @@ -1125,20 +1140,25 @@ class SubscriptionDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param forward_to: .. raw:: html - - . + :param forward_to: The name of the recipient entity to which all the messages sent to the + subscription are forwarded to. :type forward_to: str - :param created_at: The exact time the queue was created. + :param created_at: The exact time the subscription was created. :type created_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. + :param updated_at: The exact time a message was updated in the subscription. :type updated_at: ~datetime.datetime :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. + to this subscription. :type accessed_at: ~datetime.datetime - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + :param user_metadata: Metadata associated with the subscription. Maximum number of characters + is 1024. + :type user_metadata: str + :param forward_dead_lettered_messages_to: The name of the recipient entity to which all the + messages sent to the subscription are forwarded to. + :type forward_dead_lettered_messages_to: str + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the subscription is automatically deleted. The minimum duration is 5 minutes. :type auto_delete_on_idle: ~datetime.timedelta :param entity_availability_status: Availability status of the entity. Possible values include: @@ -1162,6 +1182,8 @@ class SubscriptionDescription(msrest.serialization.Model): 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_dead_lettered_messages_to': {'key': 'ForwardDeadLetteredMessagesTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } @@ -1188,24 +1210,26 @@ def __init__( self.updated_at = kwargs.get('updated_at', None) self.accessed_at = kwargs.get('accessed_at', None) self.message_count_details = kwargs.get('message_count_details', None) + self.user_metadata = kwargs.get('user_metadata', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) self.entity_availability_status = kwargs.get('entity_availability_status', None) class SubscriptionDescriptionEntry(msrest.serialization.Model): - """Represents an entry in the feed when querying queues. + """Represents an entry in the feed when querying subscriptions. :param id: The URL of the GET request. :type id: str :param title: The name of the subscription. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this subscription was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this subscription was last updated. :type updated: ~datetime.datetime :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The SubscriptionDescription. :type content: ~azure.servicebus.management._generated.models.SubscriptionDescriptionEntryContent """ @@ -1236,11 +1260,11 @@ def __init__( class SubscriptionDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The SubscriptionDescription. :param type: Type of content in queue response. :type type: str - :param subscription_description: Description of a Service Bus queue resource. + :param subscription_description: Description of a Service Bus subscription resource. :type subscription_description: ~azure.servicebus.management._generated.models.SubscriptionDescription """ @@ -1263,9 +1287,9 @@ def __init__( class SubscriptionDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus subscriptions. - :param id: URL of the list queues query. + :param id: URL of the list subscriptions query. :type id: str :param title: The entity type for the feed. :type title: object @@ -1273,7 +1297,7 @@ class SubscriptionDescriptionFeed(msrest.serialization.Model): :type updated: ~datetime.datetime :param link: Links to paginated response. :type link: list[~azure.servicebus.management._generated.models.ResponseLink] - :param entry: Queue entries. + :param entry: Subscription entries. :type entry: list[~azure.servicebus.management._generated.models.SubscriptionDescriptionEntry] """ @@ -1319,7 +1343,7 @@ class TopicDescription(msrest.serialization.Model): :param enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool - :param size_in_bytes: The size of the queue, in bytes. + :param size_in_bytes: The size of the topic, in bytes. :type size_in_bytes: int :param filtering_messages_before_publishing: Filter messages before publishing. :type filtering_messages_before_publishing: bool @@ -1332,16 +1356,16 @@ class TopicDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param created_at: The exact time the queue was created. + :param created_at: The exact time the topic was created. :type created_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. + :param updated_at: The exact time a message was updated in the topic. :type updated_at: ~datetime.datetime :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. + to this topic. :type accessed_at: ~datetime.datetime :param support_ordering: A value that indicates whether the topic supports ordering. :type support_ordering: bool - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails :param subscription_count: The number of subscriptions in the topic. :type subscription_count: int @@ -1429,17 +1453,17 @@ class TopicDescriptionEntry(msrest.serialization.Model): :type base: str :param id: The URL of the GET request. :type id: str - :param title: The name of the queue. + :param title: The name of the topic. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this topic was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this topic was last updated. :type updated: ~datetime.datetime :param author: The author that created this resource. :type author: ~azure.servicebus.management._generated.models.ResponseAuthor :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The TopicDescription. :type content: ~azure.servicebus.management._generated.models.TopicDescriptionEntryContent """ @@ -1473,7 +1497,7 @@ def __init__( class TopicDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The TopicDescription. :param type: Type of content in queue response. :type type: str @@ -1499,9 +1523,9 @@ def __init__( class TopicDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus topics. - :param id: URL of the list queues query. + :param id: URL of the list topics query. :type id: str :param title: The entity type for the feed. :type title: object diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py index 25a40c7a1cc4..f2fce56d1769 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/models/_models_py3.py @@ -489,7 +489,7 @@ def __init__( class MessageCountDetails(msrest.serialization.Model): - """Details about the message counts in queue. + """Details about the message counts in entity. :param active_message_count: Number of active messages in the queue, topic, or subscription. :type active_message_count: int @@ -712,6 +712,12 @@ class QueueDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :param forward_to: The name of the recipient entity to which all the messages sent to the queue + are forwarded to. + :type forward_to: str + :param user_metadata: Custom metdata that user can associate with the description. Max length + is 1024 chars. + :type user_metadata: str :param created_at: The exact time the queue was created. :type created_at: ~datetime.datetime :param updated_at: The exact time a message was updated in the queue. @@ -721,7 +727,7 @@ class QueueDescription(msrest.serialization.Model): :type accessed_at: ~datetime.datetime :param support_ordering: A value that indicates whether the queue supports ordering. :type support_ordering: bool - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. @@ -736,6 +742,9 @@ class QueueDescription(msrest.serialization.Model): :param enable_express: A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. :type enable_express: bool + :param forward_dead_lettered_messages_to: The name of the recipient entity to which all the + dead-lettered messages of this subscription are forwarded to. + :type forward_dead_lettered_messages_to: str """ _attribute_map = { @@ -753,6 +762,8 @@ class QueueDescription(msrest.serialization.Model): 'is_anonymous_accessible': {'key': 'IsAnonymousAccessible', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'authorization_rules': {'key': 'AuthorizationRules', 'type': '[AuthorizationRule]', 'xml': {'name': 'AuthorizationRules', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect', 'wrapped': True, 'itemsName': 'AuthorizationRule', 'itemsNs': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'status': {'key': 'Status', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_to': {'key': 'ForwardTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'created_at': {'key': 'CreatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, @@ -762,6 +773,7 @@ class QueueDescription(msrest.serialization.Model): 'enable_partitioning': {'key': 'EnablePartitioning', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'enable_express': {'key': 'EnableExpress', 'type': 'bool', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_dead_lettered_messages_to': {'key': 'ForwardDeadLetteredMessagesTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } _xml_map = { 'name': 'QueueDescription', 'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect' @@ -784,6 +796,8 @@ def __init__( is_anonymous_accessible: Optional[bool] = None, authorization_rules: Optional[List["AuthorizationRule"]] = None, status: Optional[Union[str, "EntityStatus"]] = None, + forward_to: Optional[str] = None, + user_metadata: Optional[str] = None, created_at: Optional[datetime.datetime] = None, updated_at: Optional[datetime.datetime] = None, accessed_at: Optional[datetime.datetime] = None, @@ -793,6 +807,7 @@ def __init__( enable_partitioning: Optional[bool] = None, entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, enable_express: Optional[bool] = None, + forward_dead_lettered_messages_to: Optional[str] = None, **kwargs ): super(QueueDescription, self).__init__(**kwargs) @@ -810,6 +825,8 @@ def __init__( self.is_anonymous_accessible = is_anonymous_accessible self.authorization_rules = authorization_rules self.status = status + self.forward_to = forward_to + self.user_metadata = user_metadata self.created_at = created_at self.updated_at = updated_at self.accessed_at = accessed_at @@ -819,6 +836,7 @@ def __init__( self.enable_partitioning = enable_partitioning self.entity_availability_status = entity_availability_status self.enable_express = enable_express + self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to class QueueDescriptionEntry(msrest.serialization.Model): @@ -1013,7 +1031,7 @@ class RuleDescription(msrest.serialization.Model): :type filter: ~azure.servicebus.management._generated.models.RuleFilter :param action: :type action: ~azure.servicebus.management._generated.models.RuleAction - :param created_at: The exact time the queue was created. + :param created_at: The exact time the rule was created. :type created_at: ~datetime.datetime :param name: :type name: str @@ -1052,13 +1070,13 @@ class RuleDescriptionEntry(msrest.serialization.Model): :type id: str :param title: The name of the rule. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this rule was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this rule was last updated. :type updated: ~datetime.datetime :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The RuleDescription. :type content: ~azure.servicebus.management._generated.models.RuleDescriptionEntryContent """ @@ -1095,7 +1113,7 @@ def __init__( class RuleDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The RuleDescription. :param type: Type of content in queue response. :type type: str @@ -1124,9 +1142,9 @@ def __init__( class RuleDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus rules. - :param id: URL of the list queues query. + :param id: URL of the list rules query. :type id: str :param title: The entity type for the feed. :type title: object @@ -1134,7 +1152,7 @@ class RuleDescriptionFeed(msrest.serialization.Model): :type updated: ~datetime.datetime :param link: Links to paginated response. :type link: list[~azure.servicebus.management._generated.models.ResponseLink] - :param entry: Queue entries. + :param entry: Rules entries. :type entry: list[~azure.servicebus.management._generated.models.RuleDescriptionEntry] """ @@ -1244,7 +1262,7 @@ def __init__( class SubscriptionDescription(msrest.serialization.Model): - """Description of a Service Bus queue resource. + """Description of a Service Bus subscription resource. :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 @@ -1257,13 +1275,13 @@ class SubscriptionDescription(msrest.serialization.Model): the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. :type default_message_time_to_live: ~datetime.timedelta - :param dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. + :param dead_lettering_on_message_expiration: A value that indicates whether this subscription + has dead letter support when a message expires. :type dead_lettering_on_message_expiration: bool :param dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this - queue has dead letter support when a message expires. + subscription has dead letter support when a message expires. :type dead_lettering_on_filter_evaluation_exceptions: bool - :param message_count: The number of messages in the queue. + :param message_count: The number of messages in the subscription. :type message_count: int :param max_delivery_count: The maximum delivery count. A message is automatically deadlettered after this number of deliveries. Default value is 10. @@ -1274,20 +1292,25 @@ class SubscriptionDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param forward_to: .. raw:: html - - . + :param forward_to: The name of the recipient entity to which all the messages sent to the + subscription are forwarded to. :type forward_to: str - :param created_at: The exact time the queue was created. + :param created_at: The exact time the subscription was created. :type created_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. + :param updated_at: The exact time a message was updated in the subscription. :type updated_at: ~datetime.datetime :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. + to this subscription. :type accessed_at: ~datetime.datetime - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails - :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + :param user_metadata: Metadata associated with the subscription. Maximum number of characters + is 1024. + :type user_metadata: str + :param forward_dead_lettered_messages_to: The name of the recipient entity to which all the + messages sent to the subscription are forwarded to. + :type forward_dead_lettered_messages_to: str + :param auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the subscription is automatically deleted. The minimum duration is 5 minutes. :type auto_delete_on_idle: ~datetime.timedelta :param entity_availability_status: Availability status of the entity. Possible values include: @@ -1311,6 +1334,8 @@ class SubscriptionDescription(msrest.serialization.Model): 'updated_at': {'key': 'UpdatedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'accessed_at': {'key': 'AccessedAt', 'type': 'iso-8601', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'message_count_details': {'key': 'MessageCountDetails', 'type': 'MessageCountDetails'}, + 'user_metadata': {'key': 'UserMetadata', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, + 'forward_dead_lettered_messages_to': {'key': 'ForwardDeadLetteredMessagesTo', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'auto_delete_on_idle': {'key': 'AutoDeleteOnIdle', 'type': 'duration', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, 'entity_availability_status': {'key': 'EntityAvailabilityStatus', 'type': 'str', 'xml': {'ns': 'http://schemas.microsoft.com/netservices/2010/10/servicebus/connect'}}, } @@ -1335,6 +1360,8 @@ def __init__( updated_at: Optional[datetime.datetime] = None, accessed_at: Optional[datetime.datetime] = None, message_count_details: Optional["MessageCountDetails"] = None, + user_metadata: Optional[str] = None, + forward_dead_lettered_messages_to: Optional[str] = None, auto_delete_on_idle: Optional[datetime.timedelta] = None, entity_availability_status: Optional[Union[str, "EntityAvailabilityStatus"]] = None, **kwargs @@ -1354,24 +1381,26 @@ def __init__( self.updated_at = updated_at self.accessed_at = accessed_at self.message_count_details = message_count_details + self.user_metadata = user_metadata + self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to self.auto_delete_on_idle = auto_delete_on_idle self.entity_availability_status = entity_availability_status class SubscriptionDescriptionEntry(msrest.serialization.Model): - """Represents an entry in the feed when querying queues. + """Represents an entry in the feed when querying subscriptions. :param id: The URL of the GET request. :type id: str :param title: The name of the subscription. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this subscription was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this subscription was last updated. :type updated: ~datetime.datetime :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The SubscriptionDescription. :type content: ~azure.servicebus.management._generated.models.SubscriptionDescriptionEntryContent """ @@ -1409,11 +1438,11 @@ def __init__( class SubscriptionDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The SubscriptionDescription. :param type: Type of content in queue response. :type type: str - :param subscription_description: Description of a Service Bus queue resource. + :param subscription_description: Description of a Service Bus subscription resource. :type subscription_description: ~azure.servicebus.management._generated.models.SubscriptionDescription """ @@ -1439,9 +1468,9 @@ def __init__( class SubscriptionDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus subscriptions. - :param id: URL of the list queues query. + :param id: URL of the list subscriptions query. :type id: str :param title: The entity type for the feed. :type title: object @@ -1449,7 +1478,7 @@ class SubscriptionDescriptionFeed(msrest.serialization.Model): :type updated: ~datetime.datetime :param link: Links to paginated response. :type link: list[~azure.servicebus.management._generated.models.ResponseLink] - :param entry: Queue entries. + :param entry: Subscription entries. :type entry: list[~azure.servicebus.management._generated.models.SubscriptionDescriptionEntry] """ @@ -1501,7 +1530,7 @@ class TopicDescription(msrest.serialization.Model): :param enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool - :param size_in_bytes: The size of the queue, in bytes. + :param size_in_bytes: The size of the topic, in bytes. :type size_in_bytes: int :param filtering_messages_before_publishing: Filter messages before publishing. :type filtering_messages_before_publishing: bool @@ -1514,16 +1543,16 @@ class TopicDescription(msrest.serialization.Model): :param status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :param created_at: The exact time the queue was created. + :param created_at: The exact time the topic was created. :type created_at: ~datetime.datetime - :param updated_at: The exact time a message was updated in the queue. + :param updated_at: The exact time a message was updated in the topic. :type updated_at: ~datetime.datetime :param accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. + to this topic. :type accessed_at: ~datetime.datetime :param support_ordering: A value that indicates whether the topic supports ordering. :type support_ordering: bool - :param message_count_details: Details about the message counts in queue. + :param message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails :param subscription_count: The number of subscriptions in the topic. :type subscription_count: int @@ -1634,17 +1663,17 @@ class TopicDescriptionEntry(msrest.serialization.Model): :type base: str :param id: The URL of the GET request. :type id: str - :param title: The name of the queue. + :param title: The name of the topic. :type title: object - :param published: The timestamp for when this queue was published. + :param published: The timestamp for when this topic was published. :type published: ~datetime.datetime - :param updated: The timestamp for when this queue was last updated. + :param updated: The timestamp for when this topic was last updated. :type updated: ~datetime.datetime :param author: The author that created this resource. :type author: ~azure.servicebus.management._generated.models.ResponseAuthor :param link: The URL for the HTTP request. :type link: ~azure.servicebus.management._generated.models.ResponseLink - :param content: The QueueDescription. + :param content: The TopicDescription. :type content: ~azure.servicebus.management._generated.models.TopicDescriptionEntryContent """ @@ -1687,7 +1716,7 @@ def __init__( class TopicDescriptionEntryContent(msrest.serialization.Model): - """The QueueDescription. + """The TopicDescription. :param type: Type of content in queue response. :type type: str @@ -1716,9 +1745,9 @@ def __init__( class TopicDescriptionFeed(msrest.serialization.Model): - """Response from listing Service Bus queues. + """Response from listing Service Bus topics. - :param id: URL of the list queues query. + :param id: URL of the list topics query. :type id: str :param title: The entity type for the feed. :type title: object diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py index c4b4dfa9f4e2..9b26a472a70f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_generated/operations/_subscription_operations.py @@ -172,6 +172,7 @@ def put( body_content = self._serialize.body(request_body, 'object', is_xml=True) body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py index 6942206b09a2..20db04cace85 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -21,7 +21,7 @@ NamespaceProperties: ("alias", "created_time", "messaging_sku", "messaging_units", "modified_time", "name", "namespace_type"), NamespacePropertiesEntry: ("id", "title", "updated", "author", "link", "content"), NamespacePropertiesEntryContent: ("type", "namespace_properties"), - QueueDescription: ("lock_duration", "max_size_in_megabytes", "requires_duplicate_detection", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "duplicate_detection_history_time_window", "max_delivery_count", "enable_batched_operations", "size_in_bytes", "message_count", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_express"), + QueueDescription: ("lock_duration", "max_size_in_megabytes", "requires_duplicate_detection", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "duplicate_detection_history_time_window", "max_delivery_count", "enable_batched_operations", "size_in_bytes", "message_count", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_express", "forward_to", "user_metadata", "forward_dead_lettered_messages_to"), QueueDescriptionEntry: ("base", "id", "title", "published", "updated", "author", "link", "content"), QueueDescriptionEntryContent: ("type", "queue_description"), QueueDescriptionFeed: ("id", "title", "updated", "link", "entry"), @@ -33,7 +33,7 @@ ServiceBusManagementError: ("code", "detail"), SqlFilter: ("type", "sql_expression"), SqlRuleAction: ("type", "sql_expression"), - SubscriptionDescription: ("lock_duration", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "dead_lettering_on_filter_evaluation_exceptions", "message_count", "max_delivery_count", "enable_batched_operations", "status", "forward_to", "created_at", "updated_at", "accessed_at", "message_count_details", "auto_delete_on_idle", "entity_availability_status"), + SubscriptionDescription: ("lock_duration", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "dead_lettering_on_filter_evaluation_exceptions", "message_count", "max_delivery_count", "enable_batched_operations", "status", "forward_to", "created_at", "updated_at", "accessed_at", "message_count_details", "auto_delete_on_idle", "entity_availability_status", "user_metadata", "forward_dead_lettered_messages_to"), SubscriptionDescriptionEntry: ("id", "title", "published", "updated", "link", "content"), SubscriptionDescriptionEntryContent: ("type", "subscription_description"), SubscriptionDescriptionFeed: ("id", "title", "updated", "link", "entry"), @@ -82,6 +82,8 @@ def adjust_attribute_map(): class_._attribute_map, attributes ) + + # For the "title" workaround. Need to discuss with Java whether we should use "string" in the swagger file. if "title" in class_._attribute_map: class_._attribute_map["title"] = { 'key': 'title', diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 8e7cca917dd5..725a01c91e12 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -84,8 +84,18 @@ def __init__( :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management.EntityStatus + :keyword forward_to: The name of the recipient entity to which all the messages sent to the queue + are forwarded to. + :type forward_to: str + :keyword user_metadata: Custom metdata that user can associate with the description. Max length + is 1024 chars. + :type user_metadata: str :keyword support_ordering: A value that indicates whether the queue supports ordering. :type support_ordering: bool + :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the + dead-lettered messages of this subscription are forwarded to. + :type forward_dead_lettered_messages_to: str + :rtype: None """ @@ -109,6 +119,10 @@ def __init__( self.requires_session = kwargs.get('requires_session', None) self.status = kwargs.get('status', None) self.support_ordering = kwargs.get('support_ordering', None) + self.forward_to = kwargs.get('forward_to', None) + self.user_metadata = kwargs.get('user_metadata', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) + @classmethod def _from_internal_entity(cls, internal_qd): @@ -133,6 +147,9 @@ def _from_internal_entity(cls, internal_qd): qd.requires_session = internal_qd.requires_session qd.status = internal_qd.status qd.support_ordering = internal_qd.support_ordering + qd.forward_to = internal_qd.forward_to + qd.forward_dead_lettered_messages_to = internal_qd.forward_dead_lettered_messages_to + qd.user_metadata = internal_qd.user_metadata return qd @@ -158,6 +175,9 @@ def _to_internal_entity(self): self._internal_qd.requires_session = self.requires_session self._internal_qd.status = self.status self._internal_qd.support_ordering = self.support_ordering + self._internal_qd.forward_to = self.forward_to + self._internal_qd.forward_dead_lettered_messages_to = self.forward_dead_lettered_messages_to + self._internal_qd.user_metadata = self.user_metadata return self._internal_qd @@ -185,7 +205,7 @@ def __init__( :type size_in_bytes: int :keyword message_count: The number of messages in the queue. :type message_count: int - :keyword message_count_details: Details about the message counts in queue. + :keyword message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management.MessageCountDetails :rtype: None @@ -225,7 +245,6 @@ def __init__( **kwargs ): """ - :keyword str name: :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. @@ -242,8 +261,10 @@ def __init__( :keyword enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool - :keyword size_in_bytes: The size of the queue, in bytes. + :keyword size_in_bytes: The size of the topic, in bytes. :type size_in_bytes: int + :keyword filtering_messages_before_publishing: Filter messages before publishing. + :type filtering_messages_before_publishing: bool :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without authorization. :type is_anonymous_accessible: bool @@ -401,7 +422,6 @@ class SubscriptionDescription(object): def __init__(self, **kwargs): """ - :keyword str name: :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute. @@ -413,14 +433,12 @@ def __init__(self, **kwargs): the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. :type default_message_time_to_live: ~datetime.timedelta - :keyword dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. + :keyword dead_lettering_on_message_expiration: A value that indicates whether this subscription + has dead letter support when a message expires. :type dead_lettering_on_message_expiration: bool :keyword dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this - queue has dead letter support when a message expires. + subscription has dead letter support when a message expires. :type dead_lettering_on_filter_evaluation_exceptions: bool - :keyword message_count: The number of messages in the queue. - :type message_count: int :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered after this number of deliveries. Default value is 10. :type max_delivery_count: int @@ -430,19 +448,22 @@ def __init__(self, **kwargs): :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :keyword forward_to: .. raw:: html - - . + :keyword forward_to: The name of the recipient entity to which all the messages sent to the + subscription are forwarded to. :type forward_to: str - :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + :keyword user_metadata: Metadata associated with the subscription. Maximum number of characters + is 1024. + :type user_metadata: str + :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the + messages sent to the subscription are forwarded to. + :type forward_dead_lettered_messages_to: str + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the subscription is automatically deleted. The minimum duration is 5 minutes. :type auto_delete_on_idle: ~datetime.timedelta :keyword entity_availability_status: Availability status of the entity. Possible values include: "Available", "Limited", "Renaming", "Restoring", "Unknown". :type entity_availability_status: str or ~azure.servicebus.management._generated.models.EntityAvailabilityStatus - - :rtype: None """ super(SubscriptionDescription, self).__init__(**kwargs) self.name = kwargs.get("name") @@ -458,6 +479,8 @@ def __init__(self, **kwargs): self.enable_batched_operations = kwargs.get('enable_batched_operations', None) self.status = kwargs.get('status', None) self.forward_to = kwargs.get('forward_to', None) + self.user_metadata = kwargs.get('user_metadata', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) self.entity_availability_status = kwargs.get('entity_availability_status', None) @@ -475,6 +498,8 @@ def _from_internal_entity(cls, internal_subscription): subscription.enable_batched_operations = internal_subscription.enable_batched_operations subscription.status = internal_subscription.status subscription.forward_to = internal_subscription.forward_to + subscription.user_metadata = internal_subscription.user_metadata + subscription.forward_dead_lettered_messages_to = internal_subscription.forward_dead_lettered_messages_to subscription.auto_delete_on_idle = internal_subscription.auto_delete_on_idle subscription.entity_availability_status = internal_subscription.entity_availability_status @@ -493,6 +518,8 @@ def _to_internal_entity(self): self._internal_sd.enable_batched_operations = self.enable_batched_operations self._internal_sd.status = self.status self._internal_sd.forward_to = self.forward_to + self._internal_sd.user_metadata = self.user_metadata + self._internal_sd.forward_dead_lettered_messages_to = self.forward_dead_lettered_messages_to self._internal_sd.auto_delete_on_idle = self.auto_delete_on_idle self._internal_sd.entity_availability_status = self.entity_availability_status @@ -514,6 +541,8 @@ def __init__(self, **kwargs): :keyword accessed_at: Last time a message was sent, or the last time there was a receive request to this queue. :type accessed_at: ~datetime.datetime + :keyword message_count: The number of messages in the subscription. + :type message_count: int :keyword message_count_details: Details about the message counts in queue. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails @@ -554,7 +583,7 @@ def __init__(self, **kwargs): :type filter: ~azure.servicebus.management._generated.models.RuleFilter :keyword action: :type action: ~azure.servicebus.management._generated.models.RuleAction - :keyword created_at: The exact time the queue was created. + :keyword created_at: The exact time the rule was created. :type created_at: ~datetime.datetime :keyword name: :type name: str From ba58755c4328885c1dae3bb1bfabe947b867d474 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Mon, 29 Jun 2020 04:24:34 -0700 Subject: [PATCH 07/21] Fix pylint --- .../management/_management_client_async.py | 51 +++-- .../azure/servicebus/aio/management/_utils.py | 8 +- .../management/_handle_response_error.py | 6 +- .../management/_management_client.py | 35 ++-- .../management/_model_workaround.py | 194 ++++++++++++++++-- .../azure/servicebus/management/_models.py | 14 +- .../azure/servicebus/management/_utils.py | 6 +- .../management/_xml_workaround_policy.py | 4 - 8 files changed, 255 insertions(+), 63 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 79dd11dfde82..9e1d74a5b64b 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -2,6 +2,8 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint:disable=protected-access +# pylint:disable=specify-parameter-names-in-call import functools from copy import copy from typing import TYPE_CHECKING, Dict, Any, Union, cast @@ -43,7 +45,7 @@ from azure.core.credentials_async import AsyncTokenCredential # pylint:disable=ungrouped-imports -class ServiceBusManagementClient: +class ServiceBusManagementClient: #pylint:disable=too-many-public-methods """Use this client to create, update, list, and delete resources of a ServiceBus namespace. :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. @@ -123,7 +125,8 @@ async def _get_subscription_element(self, topic_name, subscription_name, enrich= with _handle_response_error(): element = cast( ElementTree, - await self._impl.subscription.get(topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) + await self._impl.subscription.get( + topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) ) return element @@ -133,7 +136,8 @@ async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kw with _handle_response_error(): element = cast( ElementTree, - await self._impl.rule.get(topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) + await self._impl.rule.get( + topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) ) return element @@ -147,7 +151,8 @@ async def get_queue(self, queue_name: str, **kwargs) -> QueueDescription: entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) - queue_description = QueueDescription._from_internal_entity(entry.content.queue_description) + queue_description = QueueDescription._from_internal_entity( + entry.content.queue_description) queue_description.name = queue_name return queue_description @@ -161,7 +166,8 @@ async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntim entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) - runtime_info = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) + runtime_info = QueueRuntimeInfo._from_internal_entity( + entry.content.queue_description) runtime_info.name = queue_name return runtime_info @@ -176,7 +182,7 @@ async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> Q """ try: queue_name = queue.name # type: ignore - to_create = queue._to_internal_entity() # type: ignore # pylint:disable=protected-access + to_create = queue._to_internal_entity() # type: ignore except AttributeError: queue_name = queue # type: ignore to_create = InternalQueueDescription() # Use an empty queue description. @@ -196,7 +202,8 @@ async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> Q ) entry = QueueDescriptionEntry.deserialize(entry_ele) - result = QueueDescription._from_internal_entity(entry.content.queue_description) + result = QueueDescription._from_internal_entity( + entry.content.queue_description) result.name = queue_name return result @@ -219,7 +226,7 @@ async def update_queue(self, queue_description: QueueDescription, **kwargs) -> N raise TypeError("queue_description must be of type QueueDescription") internal_description = queue_description._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = copy(internal_description) to_update.default_message_time_to_live = kwargs.get( "default_message_time_to_live") or queue_description.default_message_time_to_live @@ -309,7 +316,7 @@ def entry_to_qr(entry): return AsyncItemPaged( get_next, extract_data) - async def get_topic(self, topic_name, **kwargs) -> TopicDescription: + async def get_topic(self, topic_name: str, **kwargs) -> TopicDescription: """Get a TopicDescription. :param str topic_name: The name of the topic. @@ -348,8 +355,8 @@ async def create_topic(self, topic: Union[str, TopicDescription], **kwargs) -> T """ try: topic_name = topic.name # type: ignore - to_create = topic._to_internal_entity() # type: ignore # pylint:disable=protected-access - except AttributeError as e: + to_create = topic._to_internal_entity() # type: ignore + except AttributeError: topic_name = topic # type: ignore to_create = InternalTopicDescription() # Use an empty topic description. @@ -389,10 +396,12 @@ async def update_topic(self, topic_description: TopicDescription, **kwargs) -> N raise TypeError("topic_description must be of type TopicDescription") internal_description = topic_description._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = copy(internal_description) - to_update.default_message_time_to_live = kwargs.get("default_message_time_to_live") or topic_description.default_message_time_to_live - to_update.duplicate_detection_history_time_window = kwargs.get("duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + to_update.default_message_time_to_live = kwargs.get( + "default_message_time_to_live") or topic_description.default_message_time_to_live + to_update.duplicate_detection_history_time_window = kwargs.get( + "duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -527,7 +536,7 @@ async def create_subscription( topic_name = topic try: subscription_name = subscription.name # type: ignore - to_create = subscription._to_internal_entity() # type: ignore # pylint:disable=protected-access + to_create = subscription._to_internal_entity() # type: ignore except AttributeError: subscription_name = subscription # type: ignore to_create = InternalSubscriptionDescription() # Use an empty queue description. @@ -574,7 +583,7 @@ async def update_subscription( raise TypeError("subscription_description must be of type SubscriptionDescription") internal_description = subscription_description._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = copy(internal_description) to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -692,7 +701,8 @@ async def get_rule( entry = RuleDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError( - "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format(subscription_name, topic_name, rule_name)) + "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format( + subscription_name, topic_name, rule_name)) rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) return rule_description @@ -718,7 +728,7 @@ async def create_rule( subscription_name = subscription try: rule_name = rule.name - to_create = rule._to_internal_entity() # type: ignore # pylint:disable=protected-access + to_create = rule._to_internal_entity() # type: ignore except AttributeError: rule_name = rule to_create = InternalRuleDescription() # Use an empty queue description. @@ -765,7 +775,7 @@ async def update_rule( subscription_name = subscription internal_description = rule_description._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = copy(internal_description) create_entity_body = CreateRuleBody( content=CreateRuleBodyContent( @@ -806,7 +816,8 @@ async def delete_rule( rule_name = rule.name except AttributeError: rule_name = rule - await self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) + await self._impl.rule.delete( + topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) def list_rules( self, topic: Union[str, TopicDescription], subscription: Union[str, RuleDescription], **kwargs diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py index 03667b090565..32de8c17aa39 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py @@ -1,4 +1,8 @@ -from typing import cast, Union +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +from typing import cast from xml.etree.ElementTree import ElementTree @@ -21,7 +25,7 @@ async def extract_data_template(feed_class, convert, feed_element): async def get_next_template(list_func, *args, **kwargs): - if len(args) > 0: + if args: next_link = args[0] else: next_link = kwargs.pop("next_link") diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py index 809879e6c090..7686f8dd5cbe 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_handle_response_error.py @@ -1,3 +1,7 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- from contextlib import contextmanager from azure.core.exceptions import HttpResponseError @@ -15,4 +19,4 @@ def _handle_response_error(): ) except AttributeError: new_response_error = response_error - raise new_response_error \ No newline at end of file + raise new_response_error diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 1fee8e76c49c..f3d5585c6c5b 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -2,12 +2,19 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint:disable=protected-access +# pylint:disable=specify-parameter-names-in-call import functools from copy import copy from typing import TYPE_CHECKING, Dict, Any, Union, cast from xml.etree.ElementTree import ElementTree from azure.core.paging import ItemPaged +from azure.core.exceptions import ResourceNotFoundError +from azure.core.pipeline import Pipeline +from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ + RequestIdPolicy, BearerTokenCredentialPolicy +from azure.core.pipeline.transport import RequestsTransport from ._generated.models import QueueDescriptionFeed, TopicDescriptionEntry, \ QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ @@ -19,11 +26,6 @@ NamespaceProperties from ._utils import extract_data_template, get_next_template from ._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy -from azure.core.exceptions import ResourceNotFoundError -from azure.core.pipeline import Pipeline -from azure.core.pipeline.policies import HttpLoggingPolicy, DistributedTracingPolicy, ContentDecodePolicy, \ - RequestIdPolicy, BearerTokenCredentialPolicy -from azure.core.pipeline.transport import RequestsTransport from .._common.constants import JWT_TOKEN_SCOPE from .._common.utils import parse_conn_str @@ -41,7 +43,7 @@ from azure.core.credentials import TokenCredential # pylint:disable=ungrouped-imports -class ServiceBusManagementClient: +class ServiceBusManagementClient: # pylint:disable=too-many-public-methods """Use this client to create, update, list, and delete resources of a ServiceBus namespace. :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. @@ -119,7 +121,8 @@ def _get_subscription_element(self, topic_name, subscription_name, enrich=False, with _handle_response_error(): element = cast( ElementTree, - self._impl.subscription.get(topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) + self._impl.subscription.get( + topic_name, subscription_name, enrich=enrich, api_version=constants.API_VERSION, **kwargs) ) return element @@ -129,7 +132,8 @@ def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): with _handle_response_error(): element = cast( ElementTree, - self._impl.rule.get(topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) + self._impl.rule.get( + topic_name, subscription_name, rule_name, enrich=False, api_version=constants.API_VERSION, **kwargs) ) return element @@ -358,7 +362,7 @@ def create_topic(self, topic, **kwargs): try: topic_name = topic.name # type: ignore to_create = topic._to_internal_entity() # type: ignore # pylint:disable=protected-access - except AttributeError as e: + except AttributeError: topic_name = topic # type: ignore to_create = InternalTopicDescription() # Use an empty topic description. @@ -401,8 +405,10 @@ def update_topic(self, topic_description, **kwargs): internal_description = topic_description._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access - to_update.default_message_time_to_live = kwargs.get("default_message_time_to_live") or topic_description.default_message_time_to_live - to_update.duplicate_detection_history_time_window = kwargs.get("duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + to_update.default_message_time_to_live = kwargs.get( + "default_message_time_to_live") or topic_description.default_message_time_to_live + to_update.duplicate_detection_history_time_window = kwargs.get( + "duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -699,12 +705,13 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): entry = RuleDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError( - "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format(subscription_name, topic_name, rule_name)) + "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format( + subscription_name, topic_name, rule_name)) rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) return rule_description def create_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Union[str, RuleDescription]) -> RuleDescription + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Union[str, RuleDescription]) -> RuleDescription # pylint:disable=line-too-long """Create a subscription of a topic. :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. @@ -790,7 +797,7 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): ) def delete_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> None + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> None # pylint:disable=line-too-long """Delete a topic subscription rule. :param Union[str, TopicDescription] topic: The topic that owns the subscription. diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py index 20db04cace85..f250bce0a71f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -5,24 +5,129 @@ from typing import Dict, Iterable, Any, Optional from collections import OrderedDict from datetime import timedelta -from azure.servicebus.management._generated.models import AuthorizationRule, CorrelationFilter, CreateQueueBodyContent, CreateRuleBodyContent, CreateSubscriptionBodyContent, CreateTopicBodyContent, FalseFilter, KeyValue, MessageCountDetails, NamespaceProperties, NamespacePropertiesEntry, NamespacePropertiesEntryContent, QueueDescription, QueueDescriptionEntry, QueueDescriptionEntryContent, QueueDescriptionFeed, ResponseLink, RuleDescription, RuleDescriptionEntry, RuleDescriptionEntryContent, RuleDescriptionFeed, ServiceBusManagementError, SqlFilter, SqlRuleAction, SubscriptionDescription, SubscriptionDescriptionEntry, SubscriptionDescriptionEntryContent, SubscriptionDescriptionFeed, TopicDescription, TopicDescriptionEntry, TopicDescriptionEntryContent, TopicDescriptionFeed, TrueFilter +from azure.servicebus.management._generated.models import ( + AuthorizationRule, + CorrelationFilter, + CreateQueueBodyContent, + CreateRuleBodyContent, + CreateSubscriptionBodyContent, + CreateTopicBodyContent, + FalseFilter, + KeyValue, + MessageCountDetails, + NamespaceProperties, + NamespacePropertiesEntry, + NamespacePropertiesEntryContent, + QueueDescription, + QueueDescriptionEntry, + QueueDescriptionEntryContent, + QueueDescriptionFeed, + ResponseLink, + RuleDescription, + RuleDescriptionEntry, + RuleDescriptionEntryContent, + RuleDescriptionFeed, + ServiceBusManagementError, + SqlFilter, + SqlRuleAction, + SubscriptionDescription, + SubscriptionDescriptionEntry, + SubscriptionDescriptionEntryContent, + SubscriptionDescriptionFeed, + TopicDescription, + TopicDescriptionEntry, + TopicDescriptionEntryContent, + TopicDescriptionFeed, + TrueFilter, +) MODEL_CLASS_ATTRIBUTES = { - AuthorizationRule: ("type", "claim_type", "claim_value", "rights", "created_time", "modified_time", "key_name", "primary_key", "secondary_key"), - CorrelationFilter: ("type", "correlation_id", "message_id", "to", "reply_to", "label", "session_id", "reply_to_session_id", "content_type", "properties"), + AuthorizationRule: ( + "type", + "claim_type", + "claim_value", + "rights", + "created_time", + "modified_time", + "key_name", + "primary_key", + "secondary_key", + ), + CorrelationFilter: ( + "type", + "correlation_id", + "message_id", + "to", + "reply_to", + "label", + "session_id", + "reply_to_session_id", + "content_type", + "properties", + ), CreateQueueBodyContent: ("type", "queue_description"), CreateRuleBodyContent: ("type", "rule_description"), CreateSubscriptionBodyContent: ("type", "subscription_description"), CreateTopicBodyContent: ("type", "topic_description"), FalseFilter: ("type", "sql_expression"), KeyValue: ("key", "value"), - MessageCountDetails: ("active_message_count", "dead_letter_message_count", "scheduled_message_count", "transfer_dead_letter_message_count", "transfer_message_count"), - NamespaceProperties: ("alias", "created_time", "messaging_sku", "messaging_units", "modified_time", "name", "namespace_type"), + MessageCountDetails: ( + "active_message_count", + "dead_letter_message_count", + "scheduled_message_count", + "transfer_dead_letter_message_count", + "transfer_message_count", + ), + NamespaceProperties: ( + "alias", + "created_time", + "messaging_sku", + "messaging_units", + "modified_time", + "name", + "namespace_type", + ), NamespacePropertiesEntry: ("id", "title", "updated", "author", "link", "content"), NamespacePropertiesEntryContent: ("type", "namespace_properties"), - QueueDescription: ("lock_duration", "max_size_in_megabytes", "requires_duplicate_detection", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "duplicate_detection_history_time_window", "max_delivery_count", "enable_batched_operations", "size_in_bytes", "message_count", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_express", "forward_to", "user_metadata", "forward_dead_lettered_messages_to"), - QueueDescriptionEntry: ("base", "id", "title", "published", "updated", "author", "link", "content"), + QueueDescription: ( + "lock_duration", + "max_size_in_megabytes", + "requires_duplicate_detection", + "requires_session", + "default_message_time_to_live", + "dead_lettering_on_message_expiration", + "duplicate_detection_history_time_window", + "max_delivery_count", + "enable_batched_operations", + "size_in_bytes", + "message_count", + "is_anonymous_accessible", + "authorization_rules", + "status", + "created_at", + "updated_at", + "accessed_at", + "support_ordering", + "message_count_details", + "auto_delete_on_idle", + "enable_partitioning", + "entity_availability_status", + "enable_express", + "forward_to", + "user_metadata", + "forward_dead_lettered_messages_to", + ), + QueueDescriptionEntry: ( + "base", + "id", + "title", + "published", + "updated", + "author", + "link", + "content", + ), QueueDescriptionEntryContent: ("type", "queue_description"), QueueDescriptionFeed: ("id", "title", "updated", "link", "entry"), ResponseLink: ("href", "rel"), @@ -33,12 +138,70 @@ ServiceBusManagementError: ("code", "detail"), SqlFilter: ("type", "sql_expression"), SqlRuleAction: ("type", "sql_expression"), - SubscriptionDescription: ("lock_duration", "requires_session", "default_message_time_to_live", "dead_lettering_on_message_expiration", "dead_lettering_on_filter_evaluation_exceptions", "message_count", "max_delivery_count", "enable_batched_operations", "status", "forward_to", "created_at", "updated_at", "accessed_at", "message_count_details", "auto_delete_on_idle", "entity_availability_status", "user_metadata", "forward_dead_lettered_messages_to"), - SubscriptionDescriptionEntry: ("id", "title", "published", "updated", "link", "content"), + SubscriptionDescription: ( + "lock_duration", + "requires_session", + "default_message_time_to_live", + "dead_lettering_on_message_expiration", + "dead_lettering_on_filter_evaluation_exceptions", + "message_count", + "max_delivery_count", + "enable_batched_operations", + "status", + "forward_to", + "created_at", + "updated_at", + "accessed_at", + "message_count_details", + "auto_delete_on_idle", + "entity_availability_status", + "user_metadata", + "forward_dead_lettered_messages_to", + ), + SubscriptionDescriptionEntry: ( + "id", + "title", + "published", + "updated", + "link", + "content", + ), SubscriptionDescriptionEntryContent: ("type", "subscription_description"), SubscriptionDescriptionFeed: ("id", "title", "updated", "link", "entry"), - TopicDescription: ("default_message_time_to_live", "max_size_in_megabytes", "requires_duplicate_detection", "duplicate_detection_history_time_window", "enable_batched_operations", "size_in_bytes", "filtering_messages_before_publishing", "is_anonymous_accessible", "authorization_rules", "status", "created_at", "updated_at", "accessed_at", "support_ordering", "message_count_details", "subscription_count", "auto_delete_on_idle", "enable_partitioning", "entity_availability_status", "enable_subscription_partitioning", "enable_express", "user_metadata"), - TopicDescriptionEntry: ("base", "id", "title", "published", "updated", "author", "link", "content"), + TopicDescription: ( + "default_message_time_to_live", + "max_size_in_megabytes", + "requires_duplicate_detection", + "duplicate_detection_history_time_window", + "enable_batched_operations", + "size_in_bytes", + "filtering_messages_before_publishing", + "is_anonymous_accessible", + "authorization_rules", + "status", + "created_at", + "updated_at", + "accessed_at", + "support_ordering", + "message_count_details", + "subscription_count", + "auto_delete_on_idle", + "enable_partitioning", + "entity_availability_status", + "enable_subscription_partitioning", + "enable_express", + "user_metadata", + ), + TopicDescriptionEntry: ( + "base", + "id", + "title", + "published", + "updated", + "author", + "link", + "content", + ), TopicDescriptionEntryContent: ("type", "topic_description"), TopicDescriptionFeed: ("id", "title", "updated", "link", "entry"), TrueFilter: ("type", "sql_expression"), @@ -79,14 +242,13 @@ def adjust_attribute_map(): # pylint:disable=protected-access for class_, attributes in MODEL_CLASS_ATTRIBUTES.items(): class_._attribute_map = _adjust_dict_key_sequence( - class_._attribute_map, - attributes + class_._attribute_map, attributes ) # For the "title" workaround. Need to discuss with Java whether we should use "string" in the swagger file. if "title" in class_._attribute_map: class_._attribute_map["title"] = { - 'key': 'title', - 'type': 'str', - 'xml': {'ns': 'http://www.w3.org/2005/Atom'} + "key": "title", + "type": "str", + "xml": {"ns": "http://www.w3.org/2005/Atom"}, } diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 725a01c91e12..bc75603964ef 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -2,6 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint:disable=protected-access from collections import OrderedDict from copy import deepcopy @@ -236,7 +237,7 @@ def _from_internal_entity(cls, internal_qr): return qr -class TopicDescription(object): +class TopicDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus topic resource. """ @@ -415,7 +416,7 @@ def _from_internal_entity(cls, internal_td): return qd -class SubscriptionDescription(object): +class SubscriptionDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. """ @@ -493,7 +494,8 @@ def _from_internal_entity(cls, internal_subscription): subscription.requires_session = internal_subscription.requires_session subscription.default_message_time_to_live = internal_subscription.default_message_time_to_live subscription.dead_lettering_on_message_expiration = internal_subscription.dead_lettering_on_message_expiration - subscription.dead_lettering_on_filter_evaluation_exceptions = internal_subscription.dead_lettering_on_filter_evaluation_exceptions + subscription.dead_lettering_on_filter_evaluation_exceptions = \ + internal_subscription.dead_lettering_on_filter_evaluation_exceptions subscription.max_delivery_count = internal_subscription.max_delivery_count subscription.enable_batched_operations = internal_subscription.enable_batched_operations subscription.status = internal_subscription.status @@ -513,7 +515,8 @@ def _to_internal_entity(self): self._internal_sd.requires_session = self.requires_session self._internal_sd.default_message_time_to_live = self.default_message_time_to_live self._internal_sd.dead_lettering_on_message_expiration = self.dead_lettering_on_message_expiration - self._internal_sd.dead_lettering_on_filter_evaluation_exceptions = self.dead_lettering_on_filter_evaluation_exceptions + self._internal_sd.dead_lettering_on_filter_evaluation_exceptions = \ + self.dead_lettering_on_filter_evaluation_exceptions self._internal_sd.max_delivery_count = self.max_delivery_count self._internal_sd.enable_batched_operations = self.enable_batched_operations self._internal_sd.status = self.status @@ -549,6 +552,7 @@ def __init__(self, **kwargs): :rtype: None """ super(SubscriptionRuntimeInfo, self).__init__(**kwargs) + self._internal_sd = None self.name = kwargs.get("name") self.message_count = kwargs.get('message_count', None) @@ -606,7 +610,7 @@ def _from_internal_entity(cls, internal_rule): rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) rule.action = RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) \ - if internal_rule.action and type(internal_rule.action) != InternalEmptyRuleAction else None + if internal_rule.action and not isinstance(internal_rule.action, InternalEmptyRuleAction) else None rule.created_at = internal_rule.created_at rule.name = internal_rule.name diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py index 4f7607a3cd2f..ece5fef8e674 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py @@ -1,3 +1,7 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- from typing import cast, Union from xml.etree.ElementTree import ElementTree @@ -21,7 +25,7 @@ def extract_data_template(feed_class, convert, feed_element): def get_next_template(list_func, *args, **kwargs): - if len(args) > 0: + if args: next_link = args[0] else: next_link = kwargs.pop("next_link") diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py index 90c5d87cbe06..6f4f4d759e5a 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py @@ -11,10 +11,6 @@ class ServiceBusXMLWorkaroundPolicy(SansIOHTTPPolicy): """A policy that mutates serialized XML to workaround ServiceBus requirement """ - def __init__(self): - # type: () -> None - super(ServiceBusXMLWorkaroundPolicy, self).__init__() - def on_request(self, request): # type: (PipelineRequest) -> None """Mutate serialized (QueueDescription, TopicDescription, SubscriptionDescription, RuleDescription) From 3c4df529dc75886ea64f8d6c8c09e4df378b5486 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Mon, 29 Jun 2020 05:36:51 -0700 Subject: [PATCH 08/21] Fix update_subscription --- .../aio/management/_management_client_async.py | 9 ++++++--- .../azure/servicebus/management/_management_client.py | 10 +++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 9e1d74a5b64b..ff7c4c55f723 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -588,9 +588,9 @@ async def update_subscription( to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) - create_entity_body = CreateTopicBody( - content=CreateTopicBodyContent( - topic_description=to_update, + create_entity_body = CreateSubscriptionBody( + content=CreateSubscriptionBodyContent( + subscription_description=to_update, ) ) request_body = create_entity_body.serialize(is_xml=True) @@ -860,3 +860,6 @@ async def get_namespace_properties(self, **kwargs) -> NamespaceProperties: entry_el = await self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) return namespace_entry.content.namespace_properties + + async def close(self) -> None: + await self._impl.close() diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index f3d5585c6c5b..19533e366b09 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -594,9 +594,9 @@ def update_subscription(self, topic, subscription_description, **kwargs): to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) - create_entity_body = CreateTopicBody( - content=CreateTopicBodyContent( - topic_description=to_update, + create_entity_body = CreateSubscriptionBody( + content=CreateSubscriptionBodyContent( + subscription_description=to_update, ) ) request_body = create_entity_body.serialize(is_xml=True) @@ -860,3 +860,7 @@ def get_namespace_properties(self, **kwargs): entry_el = self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) return namespace_entry.content.namespace_properties + + def close(self): + # type: () -> None + self._impl.close() From 000cf04a814d605b195ce8eeba57188483982b0c Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Mon, 29 Jun 2020 14:26:25 -0700 Subject: [PATCH 09/21] Fix mypy errors --- .../management/_management_client_async.py | 46 ++++++++-------- .../azure/servicebus/aio/management/_utils.py | 5 +- .../management/_management_client.py | 52 ++++++++++--------- .../management/_model_workaround.py | 5 +- .../azure/servicebus/management/_models.py | 16 +++--- .../azure/servicebus/management/_utils.py | 2 +- 6 files changed, 64 insertions(+), 62 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index ff7c4c55f723..67be9c4399d3 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -263,7 +263,7 @@ async def delete_queue(self, queue: Union[str, QueueDescription], **kwargs) -> N :rtype: None """ try: - queue_name = queue.name + queue_name = queue.name # type: ignore except AttributeError: queue_name = queue if not queue_name: @@ -389,7 +389,7 @@ async def update_topic(self, topic_description: TopicDescription, **kwargs) -> N :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. - :rtype: None + :rtype: None """ if not isinstance(topic_description, TopicDescription): @@ -428,7 +428,7 @@ async def delete_topic(self, topic: Union[str, TopicDescription], **kwargs) -> N :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic await self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) @@ -485,7 +485,7 @@ async def get_subscription( :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) @@ -507,7 +507,7 @@ async def get_subscription_runtime_info( :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) @@ -531,7 +531,7 @@ async def create_subscription( :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: @@ -576,7 +576,7 @@ async def update_subscription( :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic if not isinstance(subscription_description, SubscriptionDescription): @@ -614,11 +614,11 @@ async def delete_subscription( :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription await self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) @@ -633,7 +633,7 @@ def list_subscriptions( :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic @@ -661,7 +661,7 @@ def list_subscriptions_runtime_info( :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic @@ -690,11 +690,11 @@ async def get_rule( :rtype: ~azure.servicebus.management.RuleDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription entry_ele = await self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) @@ -719,15 +719,15 @@ async def create_rule( :rtype: ~azure.servicebus.management.RuleDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription try: - rule_name = rule.name + rule_name = rule.name # type: ignore to_create = rule._to_internal_entity() # type: ignore except AttributeError: rule_name = rule @@ -766,11 +766,11 @@ async def update_rule( """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription @@ -805,15 +805,15 @@ async def delete_rule( :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription try: - rule_name = rule.name + rule_name = rule.name # type: ignore except AttributeError: rule_name = rule await self._impl.rule.delete( @@ -831,11 +831,11 @@ def list_rules( :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py index 32de8c17aa39..17cc78071d86 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py @@ -6,10 +6,7 @@ from xml.etree.ElementTree import ElementTree -try: - import urllib.parse as urlparse -except ImportError: - import urlparse # python 2.7 +import urllib.parse as urlparse from azure.servicebus.management import _constants as constants from ...management._handle_response_error import _handle_response_error diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 19533e366b09..8767ef976f76 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -264,13 +264,15 @@ def delete_queue(self, queue, **kwargs): :rtype: None """ try: - queue_name = queue.name + queue_name = queue.name # type: ignore except AttributeError: queue_name = queue if not queue_name: raise ValueError("queue_name must not be None or empty") with _handle_response_error(): - self._impl.entity.delete(queue_name, api_version=constants.API_VERSION, **kwargs) + self._impl.entity.delete( + queue_name, # type: ignore + api_version=constants.API_VERSION, **kwargs) def list_queues(self, **kwargs): # type: (Any) -> ItemPaged[QueueDescription] @@ -396,7 +398,7 @@ def update_topic(self, topic_description, **kwargs): :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. - :rtype: None + :rtype: None """ if not isinstance(topic_description, TopicDescription): @@ -436,7 +438,7 @@ def delete_topic(self, topic, **kwargs): :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) @@ -494,7 +496,7 @@ def get_subscription(self, topic, subscription_name, **kwargs): :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) @@ -515,7 +517,7 @@ def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) @@ -538,7 +540,7 @@ def create_subscription(self, topic, subscription, **kwargs): :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: @@ -582,7 +584,7 @@ def update_subscription(self, topic, subscription_description, **kwargs): :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic if not isinstance(subscription_description, SubscriptionDescription): @@ -619,11 +621,11 @@ def delete_subscription(self, topic, subscription, **kwargs): :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) @@ -638,7 +640,7 @@ def list_subscriptions(self, topic, **kwargs): :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic @@ -666,7 +668,7 @@ def list_subscriptions_runtime_info(self, topic, **kwargs): :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic @@ -694,11 +696,11 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): :rtype: ~azure.servicebus.management.RuleDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription entry_ele = self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) @@ -711,7 +713,7 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): return rule_description def create_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Union[str, RuleDescription]) -> RuleDescription # pylint:disable=line-too-long + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> RuleDescription # pylint:disable=line-too-long """Create a subscription of a topic. :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. @@ -722,15 +724,15 @@ def create_rule(self, topic, subscription, rule, **kwargs): :rtype: ~azure.servicebus.management.RuleDescription """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription try: - rule_name = rule.name + rule_name = rule.name # type: ignore to_create = rule._to_internal_entity() # type: ignore # pylint:disable=protected-access except AttributeError: rule_name = rule @@ -768,11 +770,11 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription @@ -806,15 +808,15 @@ def delete_rule(self, topic, subscription, rule, **kwargs): :rtype: None """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription try: - rule_name = rule.name + rule_name = rule.name # type: ignore except AttributeError: rule_name = rule self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) @@ -830,11 +832,11 @@ def list_rules(self, topic, subscription, **kwargs): :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: - topic_name = topic.name + topic_name = topic.name # type: ignore except AttributeError: topic_name = topic try: - subscription_name = subscription.name + subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py index f250bce0a71f..4aff1c42f4af 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -2,9 +2,10 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from typing import Dict, Iterable, Any, Optional +from typing import Dict, Iterable, Any, Optional, Tuple, Type from collections import OrderedDict from datetime import timedelta +from msrest.serialization import Model from azure.servicebus.management._generated.models import ( AuthorizationRule, CorrelationFilter, @@ -205,7 +206,7 @@ TopicDescriptionEntryContent: ("type", "topic_description"), TopicDescriptionFeed: ("id", "title", "updated", "link", "entry"), TrueFilter: ("type", "sql_expression"), -} +} # type: Dict[Type[Model], Tuple[str, ...]] def avoid_timedelta_overflow(td): diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index bc75603964ef..723f694b0ebe 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -5,8 +5,8 @@ # pylint:disable=protected-access from collections import OrderedDict from copy import deepcopy - -from azure.servicebus.management._generated.models import KeyValue +from typing import Type, Dict +from msrest.serialization import Model from ._generated.models import QueueDescription as InternalQueueDescription, \ TopicDescription as InternalTopicDescription, \ @@ -15,7 +15,8 @@ SqlRuleAction as InternalSqlRuleAction, \ EmptyRuleAction as InternalEmptyRuleAction, \ CorrelationFilter as InternalCorrelationFilter, \ - SqlFilter as InternalSqlFilter, TrueFilter as InternalTrueFilter, FalseFilter as InternalFalseFilter + SqlFilter as InternalSqlFilter, TrueFilter as InternalTrueFilter, FalseFilter as InternalFalseFilter, \ + KeyValue from ._model_workaround import adjust_attribute_map @@ -608,9 +609,10 @@ def _from_internal_entity(cls, internal_rule): rule = cls() rule._internal_rule = internal_rule - rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) + rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) \ + if internal_rule.filter and internal_rule.filter in RULE_CLASS_MAPPING else None rule.action = RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) \ - if internal_rule.action and not isinstance(internal_rule.action, InternalEmptyRuleAction) else None + if internal_rule.action and internal_rule.action in RULE_CLASS_MAPPING else None rule.created_at = internal_rule.created_at rule.name = internal_rule.name @@ -723,11 +725,11 @@ def _to_internal_entity(self): RULE_CLASS_MAPPING = { InternalSqlRuleAction: SqlRuleAction, - InternalEmptyRuleAction: None, + # InternalEmptyRuleAction: None, InternalCorrelationFilter: CorrelationRuleFilter, InternalSqlFilter: SqlRuleFilter, InternalTrueFilter: TrueRuleFilter, InternalFalseFilter: FalseRuleFilter, -} +} # type: Dict[Type[Model], Type] EMPTY_RULE_ACTION = InternalEmptyRuleAction() TRUE_FILTER = TrueRuleFilter() diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py index ece5fef8e674..11d118dd47fe 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py @@ -9,7 +9,7 @@ try: import urllib.parse as urlparse except ImportError: - import urlparse # python 2.7 + import urlparse # type: ignore # for python 2.7 from azure.servicebus.management import _constants as constants from ._handle_response_error import _handle_response_error From 944b86a94b66890866e10d5f5d12d930a2ec57d7 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Mon, 29 Jun 2020 17:54:24 -0700 Subject: [PATCH 10/21] Remove start_index and max_page_size of list operations --- .../aio/management/_management_client_async.py | 15 --------------- .../servicebus/management/_management_client.py | 15 --------------- 2 files changed, 30 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 67be9c4399d3..22fb43fe0913 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -274,8 +274,6 @@ async def delete_queue(self, queue: Union[str, QueueDescription], **kwargs) -> N def list_queues(self, **kwargs) -> AsyncItemPaged[QueueDescription]: """List the queues of a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] """ @@ -296,9 +294,6 @@ def entry_to_qd(entry): def list_queues_runtime_info(self, **kwargs) -> AsyncItemPaged[QueueRuntimeInfo]: """List the runtime info of the queues in a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. - the ServiceBus namespace. :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ @@ -436,8 +431,6 @@ async def delete_topic(self, topic: Union[str, TopicDescription], **kwargs) -> N def list_topics(self, **kwargs) -> AsyncItemPaged[TopicDescription]: """List the topics of a ServiceBus namespace. - :keyword int start_index: skip this number of topics. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): @@ -457,8 +450,6 @@ def entry_to_topic(entry): def list_topics_runtime_info(self, **kwargs) -> AsyncItemPaged[TopicRuntimeInfo]: """List the topics runtime info of a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): @@ -628,8 +619,6 @@ def list_subscriptions( """List the subscriptions of a ServiceBus Topic. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: @@ -656,8 +645,6 @@ def list_subscriptions_runtime_info( """List the subscriptions of a ServiceBus Topic Runtime Information. :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: @@ -826,8 +813,6 @@ def list_rules( :param Union[str, TopicDescription] topic: The topic that owns the subscription. :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. - :keyword int start_index: skip this number of rules. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 8767ef976f76..f5c9ad326eae 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -278,8 +278,6 @@ def list_queues(self, **kwargs): # type: (Any) -> ItemPaged[QueueDescription] """List the queues of a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] """ @@ -301,9 +299,6 @@ def list_queues_runtime_info(self, **kwargs): # type: (Any) -> ItemPaged[QueueRuntimeInfo] """List the runtime info of the queues in a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. - the ServiceBus namespace. :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ @@ -447,8 +442,6 @@ def list_topics(self, **kwargs): # type: (Any) -> ItemPaged[TopicDescription] """List the topics of a ServiceBus namespace. - :keyword int start_index: skip this number of topics. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): @@ -469,8 +462,6 @@ def list_topics_runtime_info(self, **kwargs): # type: (Any) -> ItemPaged[TopicRuntimeInfo] """List the topics runtime info of a ServiceBus namespace. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): @@ -635,8 +626,6 @@ def list_subscriptions(self, topic, **kwargs): """List the subscriptions of a ServiceBus Topic. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: @@ -663,8 +652,6 @@ def list_subscriptions_runtime_info(self, topic, **kwargs): """List the subscriptions of a ServiceBus Topic Runtime Information. :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :keyword int start_index: skip this number of queues. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: @@ -827,8 +814,6 @@ def list_rules(self, topic, subscription, **kwargs): :param Union[str, TopicDescription] topic: The topic that owns the subscription. :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. - :keyword int start_index: skip this number of rules. - :keyword int max_page_size: max number of entities per page. :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] """ try: From c75c34ad259d638e55b4479fb076d877e0efb37d Mon Sep 17 00:00:00 2001 From: Adam Ling Date: Tue, 30 Jun 2020 00:50:19 -0700 Subject: [PATCH 11/21] add test and fix minor bugs --- .../management/_management_client_async.py | 9 +- .../management/_management_client.py | 3 + .../azure/servicebus/management/_models.py | 14 +- .../mgmt_tests/mgmt_test_utilities_async.py | 10 +- .../mgmt_tests/test_mgmt_queues_async.py | 414 ++++++++-------- .../mgmt_tests/test_mgmt_rules_async.py | 223 +++++++++ .../test_mgmt_subscriptions_async.py | 295 ++++++++++++ .../mgmt_tests/test_mgmt_topics_async.py | 270 +++++++++++ .../tests/mgmt_tests/mgmt_test_utilities.py | 4 +- .../tests/mgmt_tests/test_mgmt_queues.py | 445 +++++++++--------- .../tests/mgmt_tests/test_mgmt_rules.py | 220 +++++++++ .../mgmt_tests/test_mgmt_subscriptions.py | 292 ++++++++++++ .../tests/mgmt_tests/test_mgmt_topics.py | 266 +++++++++++ 13 files changed, 2041 insertions(+), 424 deletions(-) create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 67be9c4399d3..3707c015ec24 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -336,7 +336,7 @@ async def get_topic_runtime_info(self, topic_name: str, **kwargs) -> TopicRuntim :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicRuntimeInfo """ - entry_ele = self._get_entity_element(topic_name, **kwargs) + entry_ele = await self._get_entity_element(topic_name, **kwargs) entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) @@ -488,7 +488,7 @@ async def get_subscription( topic_name = topic.name # type: ignore except AttributeError: topic_name = topic - entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry_ele = await self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError( @@ -510,7 +510,7 @@ async def get_subscription_runtime_info( topic_name = topic.name # type: ignore except AttributeError: topic_name = topic - entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) + entry_ele = await self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError( @@ -765,6 +765,9 @@ async def update_rule( :rtype: None """ + if not isinstance(rule_description, RuleDescription): + raise TypeError("rule_description must be of type RuleDescription") + try: topic_name = topic.name # type: ignore except AttributeError: diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 8767ef976f76..0fef1f656f3f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -769,6 +769,9 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): :rtype: None """ + if not isinstance(rule_description, RuleDescription): + raise TypeError("rule_description must be of type RuleDescription") + try: topic_name = topic.name # type: ignore except AttributeError: diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 723f694b0ebe..2d9c53d2bfb2 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -247,6 +247,8 @@ def __init__( **kwargs ): """ + :keyword name: Name of the topic. + :type name: str :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. @@ -299,7 +301,6 @@ def __init__( :rtype: None """ - super(TopicDescription, self).__init__(**kwargs) self.name = kwargs.get('name', None) self._internal_td = None @@ -393,7 +394,6 @@ def __init__( :rtype: None """ - super(TopicRuntimeInfo, self).__init__(**kwargs) self.name = kwargs.get('name', None) self._internal_td = None self.created_at = kwargs.get('created_at', None) @@ -423,7 +423,8 @@ class SubscriptionDescription(object): # pylint:disable=too-many-instance-attri """ def __init__(self, **kwargs): """ - + :keyword name: Name of the subscription. + :type name: str :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute. @@ -467,7 +468,6 @@ def __init__(self, **kwargs): :type entity_availability_status: str or ~azure.servicebus.management._generated.models.EntityAvailabilityStatus """ - super(SubscriptionDescription, self).__init__(**kwargs) self.name = kwargs.get("name") self._internal_sd = None @@ -552,7 +552,6 @@ def __init__(self, **kwargs): :rtype: None """ - super(SubscriptionRuntimeInfo, self).__init__(**kwargs) self._internal_sd = None self.name = kwargs.get("name") @@ -595,7 +594,6 @@ def __init__(self, **kwargs): :rtype: None """ - super(RuleDescription, self).__init__(**kwargs) self.filter = kwargs.get('filter', None) self.action = kwargs.get('action', None) self.created_at = kwargs.get('created_at', None) @@ -610,9 +608,9 @@ def _from_internal_entity(cls, internal_rule): rule._internal_rule = internal_rule rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) \ - if internal_rule.filter and internal_rule.filter in RULE_CLASS_MAPPING else None + if internal_rule.filter and type(internal_rule.filter) in RULE_CLASS_MAPPING else None rule.action = RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) \ - if internal_rule.action and internal_rule.action in RULE_CLASS_MAPPING else None + if internal_rule.action and type(internal_rule.action) in RULE_CLASS_MAPPING else None rule.created_at = internal_rule.created_at rule.name = internal_rule.name diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py index 680e388e60f9..fabd3f4ce14b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py @@ -27,7 +27,7 @@ async def get_resource_name(self, resource): class AsyncMgmtQueueListTestHelper(AsyncMgmtListTestHelperInterface): async def list_resource_method(self, start_index=0, max_count=100): - return await self.sb_mgmt_client.list_queues(start_index=start_index, max_count=max_count) + return await async_pageable_to_list(self.sb_mgmt_client.list_queues(start_index=start_index, max_count=max_count)) async def create_resource_method(self, name): await self.sb_mgmt_client.create_queue(name) @@ -41,7 +41,7 @@ async def get_resource_name(self, queue): class AsyncMgmtQueueListRuntimeInfoTestHelper(AsyncMgmtListTestHelperInterface): async def list_resource_method(self, start_index=0, max_count=100): - return await self.sb_mgmt_client.list_queues_runtime_info(start_index=start_index, max_count=max_count) + return await async_pageable_to_list(self.sb_mgmt_client.list_queues_runtime_info(start_index=start_index, max_count=max_count)) async def create_resource_method(self, name): await self.sb_mgmt_client.create_queue(name) @@ -122,3 +122,9 @@ async def run_test_async_mgmt_list_with_negative_parameters(test_helper): result = await test_helper.list_resource_method() assert len(result) == 0 + +async def async_pageable_to_list(pageable): + res = [] + async for item in pageable: + res.append(item) + return res diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py index 0ea9ef5ca859..568628133c10 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py @@ -6,8 +6,9 @@ import pytest import datetime -from azure.core.exceptions import HttpResponseError, ServiceRequestError, ResourceNotFoundError, ResourceExistsError -from azure.servicebus.management.aio import ServiceBusManagementClient +import msrest +from azure.core.exceptions import HttpResponseError, ResourceNotFoundError, ResourceExistsError +from azure.servicebus.aio.management import ServiceBusManagementClient from azure.servicebus.management import QueueDescription from azure.servicebus.aio import ServiceBusSharedKeyCredential from azure.servicebus._common.utils import utc_now @@ -22,160 +23,164 @@ AsyncMgmtQueueListTestHelper, AsyncMgmtQueueListRuntimeInfoTestHelper, run_test_async_mgmt_list_with_parameters, - run_test_async_mgmt_list_with_negative_parameters + run_test_async_mgmt_list_with_negative_parameters, + async_pageable_to_list ) + class ServiceBusManagementClientQueueAsyncTests(AzureMgmtTestCase): @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_list_basic(self, servicebus_namespace_connection_string, servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = await sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 - await sb_mgmt_client.create_queue("test_queue") - queues = await sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == "test_queue" - await sb_mgmt_client.delete_queue("test_queue") - queues = await sb_mgmt_client.list_queues() + await mgmt_service.create_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == "test_queue" + await mgmt_service.delete_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 fully_qualified_namespace = servicebus_namespace.name + '.servicebus.windows.net' - sb_mgmt_client = ServiceBusManagementClient( + mgmt_service = ServiceBusManagementClient( fully_qualified_namespace, credential=ServiceBusSharedKeyCredential(servicebus_namespace_key_name, servicebus_namespace_primary_key) ) - queues = await sb_mgmt_client.list_queues() + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 - await sb_mgmt_client.create_queue("test_queue") - queues = await sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == "test_queue" - await sb_mgmt_client.delete_queue("test_queue") - queues = await sb_mgmt_client.list_queues() + await mgmt_service.create_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == "test_queue" + await mgmt_service.delete_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_list_with_special_chars(self, servicebus_namespace_connection_string): # Queue names can contain letters, numbers, periods (.), hyphens (-), underscores (_), and slashes (/), up to 260 characters. Queue names are also case-insensitive. queue_name = 'txt/.-_123' - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = await sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 - await sb_mgmt_client.create_queue(queue_name) - queues = await sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == queue_name - await sb_mgmt_client.delete_queue(queue_name) - queues = await sb_mgmt_client.list_queues() + await mgmt_service.create_queue(queue_name) + queues = await async_pageable_to_list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == queue_name + await mgmt_service.delete_queue(queue_name) + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_with_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_list_with_negative_credential(self, servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): # invalid_conn_str = 'Endpoint=sb://invalid.servicebus.windows.net/;SharedAccessKeyName=invalid;SharedAccessKey=invalid' - # sb_mgmt_client = ServiceBusManagementClient.from_connection_string(invalid_conn_str) + # mgmt_service = ServiceBusManagementClient.from_connection_string(invalid_conn_str) # with pytest.raises(ServiceRequestError): - # await sb_mgmt_client.list_queues() + # await async_pageable_to_list(mgmt_service.list_queues()) invalid_conn_str = 'Endpoint=sb://{}.servicebus.windows.net/;SharedAccessKeyName=invalid;SharedAccessKey=invalid'.format(servicebus_namespace.name) - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(invalid_conn_str) + mgmt_service = ServiceBusManagementClient.from_connection_string(invalid_conn_str) with pytest.raises(HttpResponseError): - await sb_mgmt_client.list_queues() + await async_pageable_to_list(mgmt_service.list_queues()) # fully_qualified_namespace = 'invalid.servicebus.windows.net' - # sb_mgmt_client = ServiceBusManagementClient( + # mgmt_service = ServiceBusManagementClient( # fully_qualified_namespace, # credential=ServiceBusSharedKeyCredential(servicebus_namespace_key_name, servicebus_namespace_primary_key) # ) # with pytest.raises(ServiceRequestError): - # await sb_mgmt_client.list_queues() + # await async_pageable_to_list(mgmt_service.list_queues()) fully_qualified_namespace = servicebus_namespace.name + '.servicebus.windows.net' - sb_mgmt_client = ServiceBusManagementClient( + mgmt_service = ServiceBusManagementClient( fully_qualified_namespace, credential=ServiceBusSharedKeyCredential("invalid", "invalid") ) with pytest.raises(HttpResponseError): - await sb_mgmt_client.list_queues() + await async_pageable_to_list(mgmt_service.list_queues()) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_with_negative_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await sb_mgmt_client.create_queue("test_queue") - queues = await sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await mgmt_service.create_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 1 - await sb_mgmt_client.create_queue('txt/.-_123') - queues = await sb_mgmt_client.list_queues() + await mgmt_service.create_queue('txt/.-_123') + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 2 - await sb_mgmt_client.delete_queue("test_queue") + await mgmt_service.delete_queue("test_queue") - queues = await sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == 'txt/.-_123' + queues = await async_pageable_to_list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == 'txt/.-_123' - await sb_mgmt_client.delete_queue('txt/.-_123') + await mgmt_service.delete_queue('txt/.-_123') - queues = await sb_mgmt_client.list_queues() + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_one_and_check_not_existing(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) for i in range(10): - await sb_mgmt_client.create_queue("queue{}".format(i)) + await mgmt_service.create_queue("queue{}".format(i)) random_delete_idx = 0 to_delete_queue_name = "queue{}".format(random_delete_idx) - await sb_mgmt_client.delete_queue(to_delete_queue_name) - queue_names = [queue.queue_name for queue in (await sb_mgmt_client.list_queues())] + await mgmt_service.delete_queue(to_delete_queue_name) + queue_names = [queue.name for queue in (await async_pageable_to_list(mgmt_service.list_queues()))] assert len(queue_names) == 9 and to_delete_queue_name not in queue_names for name in queue_names: - await sb_mgmt_client.delete_queue(name) + await mgmt_service.delete_queue(name) - queues = await sb_mgmt_client.list_queues() + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await sb_mgmt_client.create_queue("test_queue") - queues = await sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await mgmt_service.create_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 1 - await sb_mgmt_client.delete_queue("test_queue") - queues = await sb_mgmt_client.list_queues() + await mgmt_service.delete_queue("test_queue") + queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 with pytest.raises(ResourceNotFoundError): - await sb_mgmt_client.delete_queue("test_queue") + await mgmt_service.delete_queue("test_queue") with pytest.raises(ResourceNotFoundError): - await sb_mgmt_client.delete_queue("non_existing_queue") + await mgmt_service.delete_queue("non_existing_queue") with pytest.raises(ValueError): - await sb_mgmt_client.delete_queue("") + await mgmt_service.delete_queue("") with pytest.raises(ValueError): - await sb_mgmt_client.delete_queue(queue_name=None) + await mgmt_service.delete_queue(queue=None) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -185,28 +190,30 @@ async def test_async_mgmt_queue_create_by_name(self, servicebus_namespace_connec queue_name = "eidk" created_at = utc_now() await mgmt_service.create_queue(queue_name) - - queue = await mgmt_service.get_queue(queue_name) - assert queue.queue_name == queue_name - assert queue.entity_availability_status == 'Available' - assert queue.status == 'Active' - # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + try: + queue = await mgmt_service.get_queue(queue_name) + assert queue.name == queue_name + assert queue.entity_availability_status == 'Available' + assert queue.status == 'Active' + # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + finally: + await mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_create_with_invalid_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(TypeError): + with pytest.raises(msrest.exceptions.ValidationError): await mgmt_service.create_queue(Exception()) - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): await mgmt_service.create_queue(QueueDescription(queue_name=Exception())) - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): await mgmt_service.create_queue('') - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): await mgmt_service.create_queue(QueueDescription(queue_name='')) @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -215,7 +222,7 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) queue_name = "dkldf" - await mgmt_service.create_queue(QueueDescription(queue_name=queue_name, + await mgmt_service.create_queue(QueueDescription(name=queue_name, auto_delete_on_idle=datetime.timedelta(minutes=10), dead_lettering_on_message_expiration=True, default_message_time_to_live=datetime.timedelta(minutes=11), @@ -231,23 +238,25 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n requires_session=True, support_ordering=True )) - - queue = await mgmt_service.get_queue(queue_name) - assert queue.queue_name == queue_name - assert queue.auto_delete_on_idle == datetime.timedelta(minutes=10) - assert queue.dead_lettering_on_message_expiration == True - assert queue.default_message_time_to_live == datetime.timedelta(minutes=11) - assert queue.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) - assert queue.enable_batched_operations == True - assert queue.enable_express == True - assert queue.enable_partitioning == True - assert queue.is_anonymous_accessible == True - assert queue.lock_duration == datetime.timedelta(seconds=13) - assert queue.max_delivery_count == 14 - assert queue.max_size_in_megabytes % 3072 == 0 - #assert queue.requires_duplicate_detection == True - assert queue.requires_session == True - assert queue.support_ordering == True + try: + queue = await mgmt_service.get_queue(queue_name) + assert queue.name == queue_name + assert queue.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert queue.dead_lettering_on_message_expiration == True + assert queue.default_message_time_to_live == datetime.timedelta(minutes=11) + assert queue.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert queue.enable_batched_operations == True + assert queue.enable_express == True + assert queue.enable_partitioning == True + assert queue.is_anonymous_accessible == True + assert queue.lock_duration == datetime.timedelta(seconds=13) + assert queue.max_delivery_count == 14 + assert queue.max_size_in_megabytes % 3072 == 0 + #assert queue.requires_duplicate_detection == True + assert queue.requires_session == True + assert queue.support_ordering == True + finally: + await mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -256,8 +265,11 @@ async def test_async_mgmt_queue_create_duplicate(self, servicebus_namespace_conn queue_name = "eriodk" await mgmt_service.create_queue(queue_name) - with pytest.raises(ResourceExistsError): - await mgmt_service.create_queue(queue_name) + try: + with pytest.raises(ResourceExistsError): + await mgmt_service.create_queue(queue_name) + finally: + await mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -266,44 +278,49 @@ async def test_async_mgmt_queue_update_success(self, servicebus_namespace_connec queue_name = "ewuidfj" queue_description = await mgmt_service.create_queue(queue_name) - - # Try updating one setting. - queue_description.lock_duration = datetime.timedelta(minutes=2) - queue_description = await mgmt_service.update_queue(queue_description) - assert queue_description.lock_duration == datetime.timedelta(minutes=2) - - # Now try updating all settings. - queue_description.auto_delete_on_idle = datetime.timedelta(minutes=10) - queue_description.dead_lettering_on_message_expiration = True - queue_description.default_message_time_to_live = datetime.timedelta(minutes=11) - queue_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) - queue_description.enable_batched_operations = True - queue_description.enable_express = True - #queue_description.enable_partitioning = True # Cannot be changed after creation - queue_description.is_anonymous_accessible = True - queue_description.lock_duration = datetime.timedelta(seconds=13) - queue_description.max_delivery_count = 14 - queue_description.max_size_in_megabytes = 3072 - #queue_description.requires_duplicate_detection = True # Read only - #queue_description.requires_session = True # Cannot be changed after creation - queue_description.support_ordering = True - - queue_description = await mgmt_service.update_queue(queue_description) - - assert queue_description.auto_delete_on_idle == datetime.timedelta(minutes=10) - assert queue_description.dead_lettering_on_message_expiration == True - assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11) - assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) - assert queue_description.enable_batched_operations == True - assert queue_description.enable_express == True - #assert queue_description.enable_partitioning == True - assert queue_description.is_anonymous_accessible == True - assert queue_description.lock_duration == datetime.timedelta(seconds=13) - assert queue_description.max_delivery_count == 14 - assert queue_description.max_size_in_megabytes == 3072 - #assert queue_description.requires_duplicate_detection == True - #assert queue_description.requires_session == True - assert queue_description.support_ordering == True + + try: + # Try updating one setting. + queue_description.lock_duration = datetime.timedelta(minutes=2) + await mgmt_service.update_queue(queue_description) + queue_description = await mgmt_service.get_queue(queue_name) + assert queue_description.lock_duration == datetime.timedelta(minutes=2) + + # Now try updating all settings. + queue_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + queue_description.dead_lettering_on_message_expiration = True + queue_description.default_message_time_to_live = datetime.timedelta(minutes=11) + queue_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) + queue_description.enable_batched_operations = True + queue_description.enable_express = True + #queue_description.enable_partitioning = True # Cannot be changed after creation + queue_description.is_anonymous_accessible = True + queue_description.lock_duration = datetime.timedelta(seconds=13) + queue_description.max_delivery_count = 14 + queue_description.max_size_in_megabytes = 3072 + #queue_description.requires_duplicate_detection = True # Read only + #queue_description.requires_session = True # Cannot be changed after creation + queue_description.support_ordering = True + + await mgmt_service.update_queue(queue_description) + queue_description = await mgmt_service.get_queue(queue_name) + + assert queue_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert queue_description.dead_lettering_on_message_expiration == True + assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert queue_description.enable_batched_operations == True + assert queue_description.enable_express == True + #assert queue_description.enable_partitioning == True + assert queue_description.is_anonymous_accessible == True + assert queue_description.lock_duration == datetime.timedelta(seconds=13) + assert queue_description.max_delivery_count == 14 + assert queue_description.max_size_in_megabytes == 3072 + #assert queue_description.requires_duplicate_detection == True + #assert queue_description.requires_session == True + assert queue_description.support_ordering == True + finally: + await mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -312,57 +329,58 @@ async def test_async_mgmt_queue_update_invalid(self, servicebus_namespace_connec queue_name = "vbmfm" queue_description = await mgmt_service.create_queue(queue_name) - - # handle a null update properly. - with pytest.raises(TypeError): - await mgmt_service.update_queue(None) - - # handle an invalid type update properly. - with pytest.raises(TypeError): - await mgmt_service.update_queue(Exception("test")) - - # change a setting we can't change; should fail. - queue_description.requires_session = True - with pytest.raises(HttpResponseError): - await mgmt_service.update_queue(queue_description) - queue_description.requires_session = False - - #change the name to a queue that doesn't exist; should fail. - queue_description.queue_name = "dkfrgx" - with pytest.raises(HttpResponseError): - await mgmt_service.update_queue(queue_description) - queue_description.queue_name = queue_name - - #change the name to a queue with an invalid name exist; should fail. - queue_description.queue_name = '' - with pytest.raises(ValueError): - await mgmt_service.update_queue(queue_description) - queue_description.queue_name = queue_name - - #change to a setting with an invalid value; should still fail. - queue_description.lock_duration = datetime.timedelta(days=25) - with pytest.raises(HttpResponseError): - await mgmt_service.update_queue(queue_description) - queue_description.lock_duration = datetime.timedelta(minutes=5) + try: + # handle a null update properly. + with pytest.raises(TypeError): + await mgmt_service.update_queue(None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + await mgmt_service.update_queue(Exception("test")) + + # change a setting we can't change; should fail. + queue_description.requires_session = True + with pytest.raises(HttpResponseError): + await mgmt_service.update_queue(queue_description) + queue_description.requires_session = False + + #change the name to a queue that doesn't exist; should fail. + queue_description.name = "dkfrgx" + with pytest.raises(HttpResponseError): + await mgmt_service.update_queue(queue_description) + queue_description.name = queue_name + + #change the name to a queue with an invalid name exist; should fail. + queue_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.update_queue(queue_description) + queue_description.name = queue_name + + #change to a setting with an invalid value; should still fail. + queue_description.lock_duration = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + await mgmt_service.update_queue(queue_description) + queue_description.lock_duration = datetime.timedelta(minutes=5) + finally: + await mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = await sb_mgmt_client.list_queues() - queues_infos = await sb_mgmt_client.list_queues_runtime_info() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = await async_pageable_to_list(mgmt_service.list_queues()) + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) assert len(queues) == len(queues_infos) == 0 - await sb_mgmt_client.create_queue("test_queue") + await mgmt_service.create_queue("test_queue") - queues = await sb_mgmt_client.list_queues() - queues_infos = await sb_mgmt_client.list_queues_runtime_info() + queues = await async_pageable_to_list(mgmt_service.list_queues()) + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) assert len(queues) == 1 and len(queues_infos) == 1 - assert queues[0].queue_name == queues_infos[0].queue_name == "test_queue" - assert queues_infos[0].created_at and queues_infos[0].created_at == queues[0].created_at + assert queues[0].name == queues_infos[0].name == "test_queue" info = queues_infos[0] @@ -378,32 +396,34 @@ async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespa assert info.message_count_details.transfer_message_count == 0 assert info.message_count_details.scheduled_message_count == 0 - await sb_mgmt_client.delete_queue("test_queue") - queues_infos = await sb_mgmt_client.list_queues_runtime_info() + await mgmt_service.delete_queue("test_queue") + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) assert len(queues_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - await sb_mgmt_client.create_queue("test_queue") - queue_runtime_info = await sb_mgmt_client.get_queue_runtime_info("test_queue") + await mgmt_service.create_queue("test_queue") + queue_runtime_info = await mgmt_service.get_queue_runtime_info("test_queue") assert queue_runtime_info - assert queue_runtime_info.queue_name == "test_queue" + assert queue_runtime_info.name == "test_queue" assert queue_runtime_info.size_in_bytes == 0 assert queue_runtime_info.created_at is not None assert queue_runtime_info.accessed_at is not None @@ -416,17 +436,17 @@ async def test_async_mgmt_queue_get_runtime_info_basic(self, servicebus_namespac assert queue_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 assert queue_runtime_info.message_count_details.transfer_message_count == 0 assert queue_runtime_info.message_count_details.scheduled_message_count == 0 - await sb_mgmt_client.delete_queue("test_queue") + await mgmt_service.delete_queue("test_queue") @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_get_runtime_info_negative(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(ValueError): - await sb_mgmt_client.get_queue_runtime_info(None) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.get_queue_runtime_info(None) - with pytest.raises(ValueError): - await sb_mgmt_client.get_queue_runtime_info("") + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.get_queue_runtime_info("") with pytest.raises(ResourceNotFoundError): - await sb_mgmt_client.get_queue_runtime_info("non_existing_queue") + await mgmt_service.get_queue_runtime_info("non_existing_queue") diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py new file mode 100644 index 000000000000..74c615fb3552 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py @@ -0,0 +1,223 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest + +import msrest +from azure.servicebus.aio.management import ServiceBusManagementClient +from azure.servicebus.management import RuleDescription, CorrelationRuleFilter, SqlRuleFilter, TrueRuleFilter, SqlRuleAction +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +from mgmt_test_utilities_async import async_pageable_to_list + +_logger = get_logger(logging.DEBUG) + +class ServiceBusManagementClientRuleAsyncTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_rule_create(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + rule_name_1 = 'test_rule_1' + rule_name_2 = 'test_rule_2' + rule_name_3 = 'test_rule_3' + + correlation_fitler = CorrelationRuleFilter(correlation_id='testcid') + sql_rule_action = SqlRuleAction(sql_expression="SET Priority = 'low'") + rule_1 = RuleDescription(name=rule_name_1, filter=correlation_fitler, action=sql_rule_action) + + sql_filter = SqlRuleFilter("Priority = 'low'") + rule_2 = RuleDescription(name=rule_name_2, filter=sql_filter) + + bool_filter = TrueRuleFilter() + rule_3 = RuleDescription(name=rule_name_3, filter=bool_filter) + + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + + await mgmt_service.create_rule(topic_name, subscription_name, rule_1) + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name_1) + assert type(rule_desc.filter) == CorrelationRuleFilter + assert rule_desc.filter.correlation_id == 'testcid' + assert rule_desc.action.sql_expression == "SET Priority = 'low'" + + await mgmt_service.create_rule(topic_name, subscription_name, rule_2) + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name_2) + assert type(rule_desc.filter) == SqlRuleFilter + assert rule_desc.filter.sql_expression == "Priority = 'low'" + + await mgmt_service.create_rule(topic_name, subscription_name, rule_3) + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name_3) + assert type(rule_desc.filter) == TrueRuleFilter + + finally: + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_1) + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_2) + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_3) + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_rule_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + subscription_name = 'kkaqo' + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + await mgmt_service.create_rule(topic_name, subscription_name, rule) + with pytest.raises(ResourceExistsError): + await mgmt_service.create_rule(topic_name, subscription_name, rule) + finally: + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_rule_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + + try: + topic_description = await mgmt_service.create_topic(topic_name) + subscription_description = await mgmt_service.create_subscription(topic_description, subscription_name) + await mgmt_service.create_rule(topic_name, subscription_name, rule) + + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) + + assert type(rule_desc.filter) == SqlRuleFilter + assert rule_desc.filter.sql_expression == "Priority = 'low'" + + correlation_fitler = CorrelationRuleFilter(correlation_id='testcid') + sql_rule_action = SqlRuleAction(sql_expression="SET Priority = 'low'") + + rule_desc.filter = correlation_fitler + rule_desc.action = sql_rule_action + await mgmt_service.update_rule(topic_description, subscription_description, rule_desc) + + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) + assert type(rule_desc.filter) == CorrelationRuleFilter + assert rule_desc.filter.correlation_id == 'testcid' + assert rule_desc.action.sql_expression == "SET Priority = 'low'" + + finally: + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + + try: + topic_description = await mgmt_service.create_topic(topic_name) + subscription_description = await mgmt_service.create_subscription(topic_name, subscription_name) + await mgmt_service.create_rule(topic_name, subscription_name, rule) + + rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) + + # handle a null update properly. + with pytest.raises(TypeError): + await mgmt_service.update_rule(topic_name, subscription_name, None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + await mgmt_service.update_rule(topic_name, subscription_name, Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + rule_desc.name = "iewdm" + with pytest.raises(HttpResponseError): + await mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + rule_desc.name = rule_name + + # change the name to a topic with an invalid name exist; should fail. + rule_desc.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + rule_desc.name = rule_name + + finally: + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_rule_list_and_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + rule_name_1 = 'test_rule_1' + rule_name_2 = 'test_rule_2' + rule_name_3 = 'test_rule_3' + + sql_filter_1 = SqlRuleFilter("Priority = 'low'") + sql_filter_2 = SqlRuleFilter("Priority = 'middle'") + sql_filter_3 = SqlRuleFilter("Priority = 'high'") + rule_1 = RuleDescription(name=rule_name_1, filter=sql_filter_1) + rule_2 = RuleDescription(name=rule_name_2, filter=sql_filter_2) + rule_3 = RuleDescription(name=rule_name_3, filter=sql_filter_3) + + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + + rules = await async_pageable_to_list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 1 # by default there is a True filter + + await mgmt_service.create_rule(topic_name, subscription_name, rule_1) + await mgmt_service.create_rule(topic_name, subscription_name, rule_2) + await mgmt_service.create_rule(topic_name, subscription_name, rule_3) + + rules = await async_pageable_to_list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 3 + 1 + + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_2) + rules = await async_pageable_to_list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 2 + 1 + assert rules[0].name == "$Default" + assert rules[1].name == rule_name_1 + assert type(rules[1].filter) == SqlRuleFilter + assert rules[1].filter.sql_expression == "Priority = 'low'" + assert rules[2].name == rule_name_3 + assert type(rules[2].filter) == SqlRuleFilter + assert rules[2].filter.sql_expression == "Priority = 'high'" + + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_1) + await mgmt_service.delete_rule(topic_name, subscription_name, rule_name_3) + + rules = await async_pageable_to_list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 1 + + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py new file mode 100644 index 000000000000..7755fcfd11a4 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py @@ -0,0 +1,295 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest +import datetime + +import msrest +from azure.servicebus.aio.management import ServiceBusManagementClient +from azure.servicebus.management import SubscriptionDescription +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +from mgmt_test_utilities_async import async_pageable_to_list + +_logger = get_logger(logging.DEBUG) + + +class ServiceBusManagementClientSubscriptionAsyncTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_create_by_name(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + subscription = await mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription.name == subscription_name + assert subscription.entity_availability_status == 'Available' + assert subscription.status == 'Active' + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_create_with_subscription_description(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "iweidk" + subscription_name = "kdosako" + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription( + topic_name, + SubscriptionDescription( + name=subscription_name, + auto_delete_on_idle=datetime.timedelta(minutes=10), + dead_lettering_on_message_expiration=True, + default_message_time_to_live=datetime.timedelta(minutes=11), + enable_batched_operations=True, + lock_duration=datetime.timedelta(seconds=13), + max_delivery_count=14, + requires_session=True + ) + ) + subscription = await mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription.name == subscription_name + assert subscription.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription.dead_lettering_on_message_expiration == True + assert subscription.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription.enable_batched_operations == True + assert subscription.lock_duration == datetime.timedelta(seconds=13) + assert subscription.max_delivery_count == 14 + assert subscription.requires_session == True + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + subscription_name = 'kkaqo' + try: + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + with pytest.raises(ResourceExistsError): + await mgmt_service.create_subscription(topic_name, subscription_name) + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + + try: + topic_description = await mgmt_service.create_topic(topic_name) + subscription_description = await mgmt_service.create_subscription(topic_description, subscription_name) + + # Try updating one setting. + subscription_description.lock_duration = datetime.timedelta(minutes=2) + await mgmt_service.update_subscription(topic_description, subscription_description) + subscription_description = await mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription_description.lock_duration == datetime.timedelta(minutes=2) + + # Now try updating all settings. + subscription_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + subscription_description.dead_lettering_on_message_expiration = True + subscription_description.default_message_time_to_live = datetime.timedelta(minutes=11) + subscription_description.lock_duration = datetime.timedelta(seconds=12) + subscription_description.max_delivery_count = 14 + # topic_description.enable_partitioning = True # Cannot be changed after creation + # topic_description.requires_session = True # Cannot be changed after creation + + await mgmt_service.update_subscription(topic_description, subscription_description) + subscription_description = await mgmt_service.get_subscription(topic_description, subscription_name) + + assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription_description.dead_lettering_on_message_expiration == True + assert subscription_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription_description.max_delivery_count == 14 + assert subscription_description.lock_duration == datetime.timedelta(seconds=12) + # assert topic_description.enable_partitioning == True + # assert topic_description.requires_session == True + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "dfjfj" + subscription_name = "kwqxc" + try: + topic_description = await mgmt_service.create_topic(topic_name) + subscription_description = await mgmt_service.create_subscription(topic_name, subscription_name) + + # handle a null update properly. + with pytest.raises(TypeError): + await mgmt_service.update_subscription(topic_name, None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + await mgmt_service.update_subscription(topic_name, Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + subscription_description.name = "iewdm" + with pytest.raises(HttpResponseError): + await mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.name = subscription_name + + # change the name to a topic with an invalid name exist; should fail. + subscription_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.name = topic_name + + # change to a setting with an invalid value; should still fail. + subscription_description.lock_duration = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + await mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.lock_duration = datetime.timedelta(minutes=5) + finally: + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = 'test_topicgda' + subscription_name_1 = 'test_sub1da' + subscription_name_2 = 'test_sub2gcv' + await mgmt_service.create_topic(topic_name) + + await mgmt_service.create_subscription(topic_name, subscription_name_1) + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 1 + + await mgmt_service.create_subscription(topic_name, subscription_name_2) + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 2 + + description = await mgmt_service.get_subscription(topic_name, subscription_name_1) + await mgmt_service.delete_subscription(topic_name, description) + + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 1 and subscriptions[0].name == subscription_name_2 + + await mgmt_service.delete_subscription(topic_name, subscription_name_2) + + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_list(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = 'lkoqxc' + subscription_name_1 = 'testsub1' + subscription_name_2 = 'testsub2' + + await mgmt_service.create_topic(topic_name) + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + await mgmt_service.create_subscription(topic_name, subscription_name_1) + await mgmt_service.create_subscription(topic_name, subscription_name_2) + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 2 + assert subscriptions[0].name == subscription_name_1 + assert subscriptions[1].name == subscription_name_2 + await mgmt_service.delete_subscription(topic_name, subscription_name_1) + await mgmt_service.delete_subscription(topic_name, subscription_name_2) + subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = 'dkoamv' + subscription_name = 'cxqplc' + await mgmt_service.create_topic(topic_name) + + subs = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + + assert len(subs) == len(subs_infos) == 0 + + await mgmt_service.create_subscription(topic_name, subscription_name) + + subs = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + + assert len(subs) == 1 and len(subs_infos) == 1 + + assert subs[0].name == subs_infos[0].name == subscription_name + + info = subs_infos[0] + + assert info.accessed_at is not None + assert info.updated_at is not None + + assert info.message_count_details + assert info.message_count_details.active_message_count == 0 + assert info.message_count_details.dead_letter_message_count == 0 + assert info.message_count_details.transfer_dead_letter_message_count == 0 + assert info.message_count_details.transfer_message_count == 0 + assert info.message_count_details.scheduled_message_count == 0 + + await mgmt_service.delete_subscription(topic_name, subscription_name) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + assert len(subs_infos) == 0 + + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = 'dcvxqa' + subscription_name = 'xvazzag' + + await mgmt_service.create_topic(topic_name) + await mgmt_service.create_subscription(topic_name, subscription_name) + sub_runtime_info = await mgmt_service.get_subscription_runtime_info(topic_name, subscription_name) + + assert sub_runtime_info + assert sub_runtime_info.name == subscription_name + assert sub_runtime_info.created_at is not None + assert sub_runtime_info.accessed_at is not None + assert sub_runtime_info.updated_at is not None + + assert sub_runtime_info.message_count_details + assert sub_runtime_info.message_count_details.active_message_count == 0 + assert sub_runtime_info.message_count_details.dead_letter_message_count == 0 + assert sub_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 + assert sub_runtime_info.message_count_details.transfer_message_count == 0 + assert sub_runtime_info.message_count_details.scheduled_message_count == 0 + + await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py new file mode 100644 index 000000000000..e0b8bb7c0f7f --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py @@ -0,0 +1,270 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest +import datetime + +import msrest +from azure.servicebus.aio.management import ServiceBusManagementClient +from azure.servicebus.management import TopicDescription +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +from mgmt_test_utilities_async import async_pageable_to_list + +_logger = get_logger(logging.DEBUG) + + +class ServiceBusManagementClientTopicAsyncTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_create_by_name(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + + try: + await mgmt_service.create_topic(topic_name) + topic = await mgmt_service.get_topic(topic_name) + assert topic.name == topic_name + assert topic.entity_availability_status == 'Available' + assert topic.status == 'Active' + finally: + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "iweidk" + try: + await mgmt_service.create_topic( + TopicDescription( + name=topic_name, + auto_delete_on_idle=datetime.timedelta(minutes=10), + default_message_time_to_live=datetime.timedelta(minutes=11), + duplicate_detection_history_time_window=datetime.timedelta(minutes=12), + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + enable_subscription_partitioning=True, + is_anonymous_accessible=True, + max_size_in_megabytes=3072 + ) + ) + topic = await mgmt_service.get_topic(topic_name) + assert topic.name == topic_name + assert topic.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic.enable_batched_operations + assert topic.enable_express + assert topic.enable_partitioning + assert topic.enable_subscription_partitioning + assert topic.is_anonymous_accessible + assert topic.max_size_in_megabytes % 3072 == 0 + finally: + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + try: + await mgmt_service.create_topic(topic_name) + with pytest.raises(ResourceExistsError): + await mgmt_service.create_topic(topic_name) + finally: + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + try: + topic_description = await mgmt_service.create_topic(topic_name) + + # Try updating one setting. + topic_description.default_message_time_to_live = datetime.timedelta(minutes=2) + await mgmt_service.update_topic(topic_description) + topic_description = await mgmt_service.get_topic(topic_name) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=2) + + # Now try updating all settings. + topic_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + topic_description.default_message_time_to_live = datetime.timedelta(minutes=11) + topic_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) + topic_description.enable_batched_operations = True + topic_description.enable_express = True + # topic_description.enable_partitioning = True # Cannot be changed after creation + topic_description.is_anonymous_accessible = True + topic_description.max_size_in_megabytes = 3072 + # topic_description.requires_duplicate_detection = True # Read only + # topic_description.requires_session = True # Cannot be changed after creation + topic_description.support_ordering = True + + await mgmt_service.update_topic(topic_description) + topic_description = await mgmt_service.get_topic(topic_name) + + assert topic_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic_description.enable_batched_operations == True + assert topic_description.enable_express == True + # assert topic_description.enable_partitioning == True + assert topic_description.is_anonymous_accessible == True + assert topic_description.max_size_in_megabytes == 3072 + # assert topic_description.requires_duplicate_detection == True + # assert topic_description.requires_session == True + assert topic_description.support_ordering == True + finally: + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "dfjfj" + try: + topic_description = await mgmt_service.create_topic(topic_name) + + # handle a null update properly. + with pytest.raises(TypeError): + await mgmt_service.update_topic(None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + await mgmt_service.update_topic(Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + topic_description.name = "iewdm" + with pytest.raises(HttpResponseError): + await mgmt_service.update_topic(topic_description) + topic_description.name = topic_name + + # change the name to a topic with an invalid name exist; should fail. + topic_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + await mgmt_service.update_topic(topic_description) + topic_description.name = topic_name + + # change to a setting with an invalid value; should still fail. + topic_description.duplicate_detection_history_time_window = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + await mgmt_service.update_topic(topic_description) + topic_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=5) + finally: + await mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await mgmt_service.create_topic('test_topic') + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 1 + + await mgmt_service.create_topic('txt/.-_123') + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 2 + + description = await mgmt_service.get_topic('test_topic') + await mgmt_service.delete_topic(description) + + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 1 and topics[0].name == 'txt/.-_123' + + description = await mgmt_service.get_topic('txt/.-_123') + await mgmt_service.delete_topic(description) + + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 0 + await mgmt_service.create_topic("test_topic_1") + await mgmt_service.create_topic("test_topic_2") + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 2 + assert topics[0].name == "test_topic_1" + assert topics[1].name == "test_topic_2" + await mgmt_service.delete_topic("test_topic_1") + await mgmt_service.delete_topic("test_topic_2") + topics = await async_pageable_to_list(mgmt_service.list_topics()) + assert len(topics) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topics = await async_pageable_to_list(mgmt_service.list_topics()) + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + + assert len(topics) == len(topics_infos) == 0 + + await mgmt_service.create_topic("test_topic") + + topics = await async_pageable_to_list(mgmt_service.list_topics()) + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + + assert len(topics) == 1 and len(topics_infos) == 1 + + assert topics[0].name == topics_infos[0].name == "test_topic" + + info = topics_infos[0] + + assert info.accessed_at is not None + assert info.updated_at is not None + assert info.subscription_count is 0 + + assert info.message_count_details + assert info.message_count_details.active_message_count == 0 + assert info.message_count_details.dead_letter_message_count == 0 + assert info.message_count_details.transfer_dead_letter_message_count == 0 + assert info.message_count_details.transfer_message_count == 0 + assert info.message_count_details.scheduled_message_count == 0 + + await mgmt_service.delete_topic("test_topic") + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + assert len(topics_infos) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + await mgmt_service.create_topic("test_topic") + try: + topic_runtime_info = await mgmt_service.get_topic_runtime_info("test_topic") + + assert topic_runtime_info + assert topic_runtime_info.name == "test_topic" + assert topic_runtime_info.created_at is not None + assert topic_runtime_info.accessed_at is not None + assert topic_runtime_info.updated_at is not None + assert topic_runtime_info.subscription_count is 0 + + assert topic_runtime_info.message_count_details + assert topic_runtime_info.message_count_details.active_message_count == 0 + assert topic_runtime_info.message_count_details.dead_letter_message_count == 0 + assert topic_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 + assert topic_runtime_info.message_count_details.transfer_message_count == 0 + assert topic_runtime_info.message_count_details.scheduled_message_count == 0 + finally: + await mgmt_service.delete_topic("test_topic") diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py index f9e9b6c5c0c9..8ce0b1ab8943 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py @@ -27,7 +27,7 @@ def get_resource_name(self, resource): class MgmtQueueListTestHelper(MgmtListTestHelperInterface): def list_resource_method(self, start_index=0, max_count=100): - return self.sb_mgmt_client.list_queues(start_index=start_index, max_count=max_count) + return list(self.sb_mgmt_client.list_queues(start_index=start_index, max_count=max_count)) def create_resource_method(self, name): self.sb_mgmt_client.create_queue(name) @@ -41,7 +41,7 @@ def get_resource_name(self, queue): class MgmtQueueListRuntimeInfoTestHelper(MgmtListTestHelperInterface): def list_resource_method(self, start_index=0, max_count=100): - return self.sb_mgmt_client.list_queues_runtime_info(start_index=start_index, max_count=max_count) + return list(self.sb_mgmt_client.list_queues_runtime_info(start_index=start_index, max_count=max_count)) def create_resource_method(self, name): self.sb_mgmt_client.create_queue(name) diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py index 29ce47a03bbb..00dfd5434e88 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py @@ -10,6 +10,7 @@ import datetime import functools +import msrest from azure.servicebus.management import ServiceBusManagementClient, QueueDescription from azure.servicebus._common.utils import utc_now from utilities import get_logger @@ -33,155 +34,157 @@ class ServiceBusManagementClientQueueTests(AzureMgmtTestCase): @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_list_basic(self, servicebus_namespace_connection_string, servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 - sb_mgmt_client.create_queue("test_queue") - queues = sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == "test_queue" - sb_mgmt_client.delete_queue("test_queue") - queues = sb_mgmt_client.list_queues() + mgmt_service.create_queue("test_queue") + queues = list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == "test_queue" + mgmt_service.delete_queue("test_queue") + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 fully_qualified_namespace = servicebus_namespace.name + '.servicebus.windows.net' - sb_mgmt_client = ServiceBusManagementClient( + mgmt_service = ServiceBusManagementClient( fully_qualified_namespace, credential=ServiceBusSharedKeyCredential(servicebus_namespace_key_name, servicebus_namespace_primary_key) ) - queues = sb_mgmt_client.list_queues() + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 - sb_mgmt_client.create_queue("test_queue") - queues = sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == "test_queue" - sb_mgmt_client.delete_queue("test_queue") - queues = sb_mgmt_client.list_queues() + mgmt_service.create_queue("test_queue") + queues = list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == "test_queue" + mgmt_service.delete_queue("test_queue") + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_list_with_special_chars(self, servicebus_namespace_connection_string): # Queue names can contain letters, numbers, periods (.), hyphens (-), underscores (_), and slashes (/), up to 260 characters. Queue names are also case-insensitive. queue_name = 'txt/.-_123' - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 - sb_mgmt_client.create_queue(queue_name) - queues = sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == queue_name - sb_mgmt_client.delete_queue(queue_name) - queues = sb_mgmt_client.list_queues() + mgmt_service.create_queue(queue_name) + queues = list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == queue_name + mgmt_service.delete_queue(queue_name) + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_with_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - run_test_mgmt_list_with_parameters(MgmtQueueListTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + run_test_mgmt_list_with_parameters(MgmtQueueListTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_list_with_negative_credential(self, servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): # invalid_conn_str = 'Endpoint=sb://invalid.servicebus.windows.net/;SharedAccessKeyName=invalid;SharedAccessKey=invalid' - # sb_mgmt_client = ServiceBusManagementClient.from_connection_string(invalid_conn_str) + # mgmt_service = ServiceBusManagementClient.from_connection_string(invalid_conn_str) # with pytest.raises(ServiceRequestError): - # sb_mgmt_client.list_queues() + # list(mgmt_service.list_queues()) # TODO: This negative test makes replay test fail. Need more investigation. Live test has no problem. invalid_conn_str = 'Endpoint=sb://{}.servicebus.windows.net/;SharedAccessKeyName=invalid;SharedAccessKey=invalid'.format(servicebus_namespace.name) - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(invalid_conn_str) + mgmt_service = ServiceBusManagementClient.from_connection_string(invalid_conn_str) with pytest.raises(HttpResponseError): - sb_mgmt_client.list_queues() + list(mgmt_service.list_queues()) # fully_qualified_namespace = 'invalid.servicebus.windows.net' - # sb_mgmt_client = ServiceBusManagementClient( + # mgmt_service = ServiceBusManagementClient( # fully_qualified_namespace, # credential=ServiceBusSharedKeyCredential(servicebus_namespace_key_name, servicebus_namespace_primary_key) # ) # with pytest.raises(ServiceRequestError): - # sb_mgmt_client.list_queues() + # list(mgmt_service.list_queues()) fully_qualified_namespace = servicebus_namespace.name + '.servicebus.windows.net' - sb_mgmt_client = ServiceBusManagementClient( + mgmt_service = ServiceBusManagementClient( fully_qualified_namespace, credential=ServiceBusSharedKeyCredential("invalid", "invalid") ) with pytest.raises(HttpResponseError): - sb_mgmt_client.list_queues() + list(mgmt_service.list_queues()) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_with_negative_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - run_test_mgmt_list_with_negative_parameters(MgmtQueueListTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + run_test_mgmt_list_with_negative_parameters(MgmtQueueListTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - sb_mgmt_client.create_queue("test_queue") - queues = sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service.create_queue("test_queue") + queues = list(mgmt_service.list_queues()) assert len(queues) == 1 - sb_mgmt_client.create_queue('txt/.-_123') - queues = sb_mgmt_client.list_queues() + mgmt_service.create_queue('txt/.-_123') + queues = list(mgmt_service.list_queues()) assert len(queues) == 2 - sb_mgmt_client.delete_queue("test_queue") + mgmt_service.delete_queue("test_queue") - queues = sb_mgmt_client.list_queues() - assert len(queues) == 1 and queues[0].queue_name == 'txt/.-_123' + queues = list(mgmt_service.list_queues()) + assert len(queues) == 1 and queues[0].name == 'txt/.-_123' - sb_mgmt_client.delete_queue('txt/.-_123') + mgmt_service.delete_queue('txt/.-_123') - queues = sb_mgmt_client.list_queues() + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_one_and_check_not_existing(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) for i in range(10): - sb_mgmt_client.create_queue("queue{}".format(i)) + mgmt_service.create_queue("queue{}".format(i)) delete_idx = 0 to_delete_queue_name = "queue{}".format(delete_idx) - sb_mgmt_client.delete_queue(to_delete_queue_name) - queue_names = [queue.queue_name for queue in sb_mgmt_client.list_queues()] + mgmt_service.delete_queue(to_delete_queue_name) + queue_names = [queue.name for queue in list(mgmt_service.list_queues())] assert len(queue_names) == 9 and to_delete_queue_name not in queue_names for name in queue_names: - sb_mgmt_client.delete_queue(name) + mgmt_service.delete_queue(name) - queues = sb_mgmt_client.list_queues() + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - sb_mgmt_client.create_queue("test_queue") - queues = sb_mgmt_client.list_queues() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service.create_queue("test_queue") + queues = list(mgmt_service.list_queues()) assert len(queues) == 1 - sb_mgmt_client.delete_queue("test_queue") - queues = sb_mgmt_client.list_queues() + mgmt_service.delete_queue("test_queue") + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 with pytest.raises(ResourceNotFoundError): - sb_mgmt_client.delete_queue("test_queue") + mgmt_service.delete_queue("test_queue") with pytest.raises(ResourceNotFoundError): - sb_mgmt_client.delete_queue("non_existing_queue") + mgmt_service.delete_queue("non_existing_queue") with pytest.raises(ValueError): - sb_mgmt_client.delete_queue("") + mgmt_service.delete_queue("") with pytest.raises(ValueError): - sb_mgmt_client.delete_queue(queue_name=None) + mgmt_service.delete_queue(queue=None) @pytest.mark.liveTest @@ -191,14 +194,16 @@ def test_mgmt_queue_create_by_name(self, servicebus_namespace_connection_string, mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) queue_name = "queue_testaddf" - created_at = utc_now() mgmt_service.create_queue(queue_name) - - queue = mgmt_service.get_queue(queue_name) - assert queue.queue_name == queue_name - assert queue.entity_availability_status == 'Available' - assert queue.status == 'Active' - # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + created_at = utc_now() + try: + queue = mgmt_service.get_queue(queue_name) + assert queue.name == queue_name + assert queue.entity_availability_status == 'Available' + assert queue.status == 'Active' + # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + finally: + mgmt_service.delete_queue(queue_name) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -206,16 +211,16 @@ def test_mgmt_queue_create_by_name(self, servicebus_namespace_connection_string, def test_mgmt_queue_create_with_invalid_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(TypeError): + with pytest.raises(msrest.exceptions.ValidationError): mgmt_service.create_queue(Exception()) - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): mgmt_service.create_queue(QueueDescription(queue_name=Exception())) - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): mgmt_service.create_queue('') - with pytest.raises(ValueError): + with pytest.raises(msrest.exceptions.ValidationError): mgmt_service.create_queue(QueueDescription(queue_name='')) @pytest.mark.liveTest @@ -225,11 +230,12 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) queue_name = "iweidk" + #TODO: Why don't we have an input model (queueOptions? as superclass of QueueDescription?) and output model to not show these params? #TODO: This fails with the following: E msrest.exceptions.DeserializationError: Find several XML 'prefix:DeadLetteringOnMessageExpiration' where it was not expected .tox\whl\lib\site-packages\msrest\serialization.py:1262: DeserializationError - mgmt_service.create_queue(QueueDescription(queue_name=queue_name, + mgmt_service.create_queue(QueueDescription(name=queue_name, auto_delete_on_idle=datetime.timedelta(minutes=10), - dead_lettering_on_message_expiration=True, + dead_lettering_on_message_expiration=True, default_message_time_to_live=datetime.timedelta(minutes=11), duplicate_detection_history_time_window=datetime.timedelta(minutes=12), enable_batched_operations=True, @@ -239,27 +245,29 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con lock_duration=datetime.timedelta(seconds=13), max_delivery_count=14, max_size_in_megabytes=3072, - #requires_duplicate_detection=True, + #requires_duplicate_detection=True, requires_session=True, support_ordering=True )) - - queue = mgmt_service.get_queue(queue_name) - assert queue.queue_name == queue_name - assert queue.auto_delete_on_idle == datetime.timedelta(minutes=10) - assert queue.dead_lettering_on_message_expiration == True - assert queue.default_message_time_to_live == datetime.timedelta(minutes=11) - assert queue.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) - assert queue.enable_batched_operations == True - assert queue.enable_express == True - assert queue.enable_partitioning == True - assert queue.is_anonymous_accessible == True - assert queue.lock_duration == datetime.timedelta(seconds=13) - assert queue.max_delivery_count == 14 - assert queue.max_size_in_megabytes % 3072 == 0 # TODO: In my local test, I don't see a multiple of the input number. To confirm - #assert queue.requires_duplicate_detection == True - assert queue.requires_session == True - assert queue.support_ordering == True + try: + queue = mgmt_service.get_queue(queue_name) + assert queue.name == queue_name + assert queue.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert queue.dead_lettering_on_message_expiration == True + assert queue.default_message_time_to_live == datetime.timedelta(minutes=11) + assert queue.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert queue.enable_batched_operations == True + assert queue.enable_express == True + assert queue.enable_partitioning == True + assert queue.is_anonymous_accessible == True + assert queue.lock_duration == datetime.timedelta(seconds=13) + assert queue.max_delivery_count == 14 + assert queue.max_size_in_megabytes % 3072 == 0 # TODO: In my local test, I don't see a multiple of the input number. To confirm + #assert queue.requires_duplicate_detection == True + assert queue.requires_session == True + assert queue.support_ordering == True + finally: + mgmt_service.delete_queue(queue_name) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -269,8 +277,11 @@ def test_mgmt_queue_create_duplicate(self, servicebus_namespace_connection_strin queue_name = "rtofdk" mgmt_service.create_queue(queue_name) - with pytest.raises(ResourceExistsError): - mgmt_service.create_queue(queue_name) + try: + with pytest.raises(ResourceExistsError): + mgmt_service.create_queue(queue_name) + finally: + mgmt_service.delete_queue(queue_name) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -280,44 +291,49 @@ def test_mgmt_queue_update_success(self, servicebus_namespace_connection_string, queue_name = "fjrui" queue_description = mgmt_service.create_queue(queue_name) - - # Try updating one setting. - queue_description.lock_duration = datetime.timedelta(minutes=2) - queue_description = mgmt_service.update_queue(queue_description) - assert queue_description.lock_duration == datetime.timedelta(minutes=2) - - # Now try updating all settings. - queue_description.auto_delete_on_idle = datetime.timedelta(minutes=10) - queue_description.dead_lettering_on_message_expiration = True - queue_description.default_message_time_to_live = datetime.timedelta(minutes=11) - queue_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) - queue_description.enable_batched_operations = True - queue_description.enable_express = True - #queue_description.enable_partitioning = True # Cannot be changed after creation - queue_description.is_anonymous_accessible = True - queue_description.lock_duration = datetime.timedelta(seconds=13) - queue_description.max_delivery_count = 14 - queue_description.max_size_in_megabytes = 3072 - #queue_description.requires_duplicate_detection = True # Read only - #queue_description.requires_session = True # Cannot be changed after creation - queue_description.support_ordering = True - - queue_description = mgmt_service.update_queue(queue_description) - - assert queue_description.auto_delete_on_idle == datetime.timedelta(minutes=10) - assert queue_description.dead_lettering_on_message_expiration == True - assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11) - assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) - assert queue_description.enable_batched_operations == True - assert queue_description.enable_express == True - #assert queue_description.enable_partitioning == True - assert queue_description.is_anonymous_accessible == True - assert queue_description.lock_duration == datetime.timedelta(seconds=13) - assert queue_description.max_delivery_count == 14 - assert queue_description.max_size_in_megabytes == 3072 - #assert queue_description.requires_duplicate_detection == True - #assert queue_description.requires_session == True - assert queue_description.support_ordering == True + try: + # Try updating one setting. + queue_description.lock_duration = datetime.timedelta(minutes=2) + mgmt_service.update_queue(queue_description) + + queue_description = mgmt_service.get_queue(queue_name) + assert queue_description.lock_duration == datetime.timedelta(minutes=2) + + # Now try updating all settings. + queue_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + queue_description.dead_lettering_on_message_expiration = True + queue_description.default_message_time_to_live = datetime.timedelta(minutes=11) + queue_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) + queue_description.enable_batched_operations = True + queue_description.enable_express = True + #queue_description.enable_partitioning = True # Cannot be changed after creation + queue_description.is_anonymous_accessible = True + queue_description.lock_duration = datetime.timedelta(seconds=13) + queue_description.max_delivery_count = 14 + queue_description.max_size_in_megabytes = 3072 + #queue_description.requires_duplicate_detection = True # Read only + #queue_description.requires_session = True # Cannot be changed after creation + queue_description.support_ordering = True + + mgmt_service.update_queue(queue_description) + queue_description = mgmt_service.get_queue(queue_name) + + assert queue_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert queue_description.dead_lettering_on_message_expiration == True + assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert queue_description.enable_batched_operations == True + assert queue_description.enable_express == True + #assert queue_description.enable_partitioning == True + assert queue_description.is_anonymous_accessible == True + assert queue_description.lock_duration == datetime.timedelta(seconds=13) + assert queue_description.max_delivery_count == 14 + assert queue_description.max_size_in_megabytes == 3072 + #assert queue_description.requires_duplicate_detection == True + #assert queue_description.requires_session == True + assert queue_description.support_ordering == True + finally: + mgmt_service.delete_queue(queue_name) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -327,57 +343,58 @@ def test_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, queue_name = "dfjfj" queue_description = mgmt_service.create_queue(queue_name) - - # handle a null update properly. - with pytest.raises(TypeError): - mgmt_service.update_queue(None) - - # handle an invalid type update properly. - with pytest.raises(TypeError): - mgmt_service.update_queue(Exception("test")) - - # change a setting we can't change; should fail. - queue_description.requires_session = True - with pytest.raises(HttpResponseError): - mgmt_service.update_queue(queue_description) - queue_description.requires_session = False - - #change the name to a queue that doesn't exist; should fail. - queue_description.queue_name = "iewdm" - with pytest.raises(HttpResponseError): - mgmt_service.update_queue(queue_description) - queue_description.queue_name = queue_name - - #change the name to a queue with an invalid name exist; should fail. - queue_description.queue_name = '' - with pytest.raises(ValueError): - mgmt_service.update_queue(queue_description) - queue_description.queue_name = queue_name - - #change to a setting with an invalid value; should still fail. - queue_description.lock_duration = datetime.timedelta(days=25) - with pytest.raises(HttpResponseError): - mgmt_service.update_queue(queue_description) - queue_description.lock_duration = datetime.timedelta(minutes=5) + try: + # handle a null update properly. + with pytest.raises(TypeError): + mgmt_service.update_queue(None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + mgmt_service.update_queue(Exception("test")) + + # change a setting we can't change; should fail. + queue_description.requires_session = True + with pytest.raises(HttpResponseError): + mgmt_service.update_queue(queue_description) + queue_description.requires_session = False + + #change the name to a queue that doesn't exist; should fail. + queue_description.name = "iewdm" + with pytest.raises(HttpResponseError): + mgmt_service.update_queue(queue_description) + queue_description.name = queue_name + + #change the name to a queue with an invalid name exist; should fail. + queue_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.update_queue(queue_description) + queue_description.name = queue_name + + #change to a setting with an invalid value; should still fail. + queue_description.lock_duration = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + mgmt_service.update_queue(queue_description) + queue_description.lock_duration = datetime.timedelta(minutes=5) + finally: + mgmt_service.delete_queue(queue_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - queues = sb_mgmt_client.list_queues() - queues_infos = sb_mgmt_client.list_queues_runtime_info() + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + queues = list(mgmt_service.list_queues()) + queues_infos = list(mgmt_service.list_queues_runtime_info()) assert len(queues) == len(queues_infos) == 0 - sb_mgmt_client.create_queue("test_queue") + mgmt_service.create_queue("test_queue") - queues = sb_mgmt_client.list_queues() - queues_infos = sb_mgmt_client.list_queues_runtime_info() + queues = list(mgmt_service.list_queues()) + queues_infos = list(mgmt_service.list_queues_runtime_info()) assert len(queues) == 1 and len(queues_infos) == 1 - assert queues[0].queue_name == queues_infos[0].queue_name == "test_queue" - assert queues_infos[0].created_at and queues_infos[0].created_at == queues[0].created_at + assert queues[0].name == queues_infos[0].name == "test_queue" info = queues_infos[0] @@ -393,56 +410,60 @@ def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connectio assert info.message_count_details.transfer_message_count == 0 assert info.message_count_details.scheduled_message_count == 0 - sb_mgmt_client.delete_queue("test_queue") - queues_infos = sb_mgmt_client.list_queues_runtime_info() + mgmt_service.delete_queue("test_queue") + queues_infos = list(mgmt_service.list_queues_runtime_info()) assert len(queues_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - run_test_mgmt_list_with_negative_parameters(MgmtQueueListRuntimeInfoTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + run_test_mgmt_list_with_negative_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') - @ServiceBusNamespacePreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - run_test_mgmt_list_with_parameters(MgmtQueueListRuntimeInfoTestHelper(sb_mgmt_client)) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + run_test_mgmt_list_with_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - - sb_mgmt_client.create_queue("test_queue") - queue_runtime_info = sb_mgmt_client.get_queue_runtime_info("test_queue") - - assert queue_runtime_info - assert queue_runtime_info.queue_name == "test_queue" - assert queue_runtime_info.size_in_bytes == 0 - assert queue_runtime_info.created_at is not None - assert queue_runtime_info.accessed_at is not None - assert queue_runtime_info.updated_at is not None - assert queue_runtime_info.message_count == 0 - - assert queue_runtime_info.message_count_details - assert queue_runtime_info.message_count_details.active_message_count == 0 - assert queue_runtime_info.message_count_details.dead_letter_message_count == 0 - assert queue_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 - assert queue_runtime_info.message_count_details.transfer_message_count == 0 - assert queue_runtime_info.message_count_details.scheduled_message_count == 0 - sb_mgmt_client.delete_queue("test_queue") + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + mgmt_service.create_queue("test_queue") + try: + queue_runtime_info = mgmt_service.get_queue_runtime_info("test_queue") + + assert queue_runtime_info + assert queue_runtime_info.name == "test_queue" + assert queue_runtime_info.size_in_bytes == 0 + assert queue_runtime_info.created_at is not None + assert queue_runtime_info.accessed_at is not None + assert queue_runtime_info.updated_at is not None + assert queue_runtime_info.message_count == 0 + + assert queue_runtime_info.message_count_details + assert queue_runtime_info.message_count_details.active_message_count == 0 + assert queue_runtime_info.message_count_details.dead_letter_message_count == 0 + assert queue_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 + assert queue_runtime_info.message_count_details.transfer_message_count == 0 + assert queue_runtime_info.message_count_details.scheduled_message_count == 0 + finally: + mgmt_service.delete_queue("test_queue") @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_get_runtime_info_negative(self, servicebus_namespace_connection_string): - sb_mgmt_client = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(ValueError): - sb_mgmt_client.get_queue_runtime_info(None) + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.get_queue_runtime_info(None) - with pytest.raises(ValueError): - sb_mgmt_client.get_queue_runtime_info("") + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.get_queue_runtime_info("") with pytest.raises(ResourceNotFoundError): - sb_mgmt_client.get_queue_runtime_info("non_existing_queue") + mgmt_service.get_queue_runtime_info("non_existing_queue") diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py new file mode 100644 index 000000000000..87c073ac2c50 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py @@ -0,0 +1,220 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest + +import msrest +from azure.servicebus.management import ServiceBusManagementClient, RuleDescription, CorrelationRuleFilter, SqlRuleFilter, TrueRuleFilter, FalseRuleFilter, SqlRuleAction +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +_logger = get_logger(logging.DEBUG) + +class ServiceBusManagementClientRuleTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_rule_create(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + rule_name_1 = 'test_rule_1' + rule_name_2 = 'test_rule_2' + rule_name_3 = 'test_rule_3' + + correlation_fitler = CorrelationRuleFilter(correlation_id='testcid') + sql_rule_action = SqlRuleAction(sql_expression="SET Priority = 'low'") + rule_1 = RuleDescription(name=rule_name_1, filter=correlation_fitler, action=sql_rule_action) + + sql_filter = SqlRuleFilter("Priority = 'low'") + rule_2 = RuleDescription(name=rule_name_2, filter=sql_filter) + + bool_filter = TrueRuleFilter() + rule_3 = RuleDescription(name=rule_name_3, filter=bool_filter) + + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + + mgmt_service.create_rule(topic_name, subscription_name, rule_1) + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name_1) + assert type(rule_desc.filter) == CorrelationRuleFilter + assert rule_desc.filter.correlation_id == 'testcid' + assert rule_desc.action.sql_expression == "SET Priority = 'low'" + + mgmt_service.create_rule(topic_name, subscription_name, rule_2) + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name_2) + assert type(rule_desc.filter) == SqlRuleFilter + assert rule_desc.filter.sql_expression == "Priority = 'low'" + + mgmt_service.create_rule(topic_name, subscription_name, rule_3) + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name_3) + assert type(rule_desc.filter) == TrueRuleFilter + + finally: + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_1) + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_2) + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_3) + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_rule_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + subscription_name = 'kkaqo' + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + mgmt_service.create_rule(topic_name, subscription_name, rule) + with pytest.raises(ResourceExistsError): + mgmt_service.create_rule(topic_name, subscription_name, rule) + finally: + mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_rule_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + + try: + topic_description = mgmt_service.create_topic(topic_name) + subscription_description = mgmt_service.create_subscription(topic_description, subscription_name) + mgmt_service.create_rule(topic_name, subscription_name, rule) + + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) + + assert type(rule_desc.filter) == SqlRuleFilter + assert rule_desc.filter.sql_expression == "Priority = 'low'" + + correlation_fitler = CorrelationRuleFilter(correlation_id='testcid') + sql_rule_action = SqlRuleAction(sql_expression="SET Priority = 'low'") + + rule_desc.filter = correlation_fitler + rule_desc.action = sql_rule_action + mgmt_service.update_rule(topic_description, subscription_description, rule_desc) + + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) + assert type(rule_desc.filter) == CorrelationRuleFilter + assert rule_desc.filter.correlation_id == 'testcid' + assert rule_desc.action.sql_expression == "SET Priority = 'low'" + + finally: + mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + rule_name = 'rule' + sql_filter = SqlRuleFilter("Priority = 'low'") + rule = RuleDescription(name=rule_name, filter=sql_filter) + + try: + topic_description = mgmt_service.create_topic(topic_name) + subscription_description = mgmt_service.create_subscription(topic_name, subscription_name) + mgmt_service.create_rule(topic_name, subscription_name, rule) + + rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) + + # handle a null update properly. + with pytest.raises(TypeError): + mgmt_service.update_rule(topic_name, subscription_name, None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + mgmt_service.update_rule(topic_name, subscription_name, Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + rule_desc.name = "iewdm" + with pytest.raises(HttpResponseError): + mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + rule_desc.name = rule_name + + # change the name to a topic with an invalid name exist; should fail. + rule_desc.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + rule_desc.name = rule_name + + finally: + mgmt_service.delete_rule(topic_name, subscription_name, rule_name) + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_rule_list_and_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + rule_name_1 = 'test_rule_1' + rule_name_2 = 'test_rule_2' + rule_name_3 = 'test_rule_3' + + sql_filter_1 = SqlRuleFilter("Priority = 'low'") + sql_filter_2 = SqlRuleFilter("Priority = 'middle'") + sql_filter_3 = SqlRuleFilter("Priority = 'high'") + rule_1 = RuleDescription(name=rule_name_1, filter=sql_filter_1) + rule_2 = RuleDescription(name=rule_name_2, filter=sql_filter_2) + rule_3 = RuleDescription(name=rule_name_3, filter=sql_filter_3) + + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + + rules = list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 1 # by default there is a True filter + + mgmt_service.create_rule(topic_name, subscription_name, rule_1) + mgmt_service.create_rule(topic_name, subscription_name, rule_2) + mgmt_service.create_rule(topic_name, subscription_name, rule_3) + + rules = list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 3 + 1 + + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_2) + rules = list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 2 + 1 + assert rules[0].name == "$Default" + assert rules[1].name == rule_name_1 + assert type(rules[1].filter) == SqlRuleFilter + assert rules[1].filter.sql_expression == "Priority = 'low'" + assert rules[2].name == rule_name_3 + assert type(rules[2].filter) == SqlRuleFilter + assert rules[2].filter.sql_expression == "Priority = 'high'" + + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_1) + mgmt_service.delete_rule(topic_name, subscription_name, rule_name_3) + + rules = list(mgmt_service.list_rules(topic_name, subscription_name)) + assert len(rules) == 1 + + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py new file mode 100644 index 000000000000..e090421066ff --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py @@ -0,0 +1,292 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest +import datetime + +import msrest +from azure.servicebus.management import ServiceBusManagementClient, SubscriptionDescription +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +_logger = get_logger(logging.DEBUG) + + +class ServiceBusManagementClientSubscriptionTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_create_by_name(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + subscription_name = "sub_testkkk" + + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + subscription = mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription.name == subscription_name + assert subscription.entity_availability_status == 'Available' + assert subscription.status == 'Active' + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_create_with_subscription_description(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "iweidk" + subscription_name = "kdosako" + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription( + topic_name, + SubscriptionDescription( + name=subscription_name, + auto_delete_on_idle=datetime.timedelta(minutes=10), + dead_lettering_on_message_expiration=True, + default_message_time_to_live=datetime.timedelta(minutes=11), + enable_batched_operations=True, + lock_duration=datetime.timedelta(seconds=13), + max_delivery_count=14, + requires_session=True + ) + ) + subscription = mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription.name == subscription_name + assert subscription.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription.dead_lettering_on_message_expiration == True + assert subscription.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription.enable_batched_operations == True + assert subscription.lock_duration == datetime.timedelta(seconds=13) + assert subscription.max_delivery_count == 14 + assert subscription.requires_session == True + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + subscription_name = 'kkaqo' + try: + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + with pytest.raises(ResourceExistsError): + mgmt_service.create_subscription(topic_name, subscription_name) + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + subscription_name = "eqkovc" + + try: + topic_description = mgmt_service.create_topic(topic_name) + subscription_description = mgmt_service.create_subscription(topic_description, subscription_name) + + # Try updating one setting. + subscription_description.lock_duration = datetime.timedelta(minutes=2) + mgmt_service.update_subscription(topic_description, subscription_description) + subscription_description = mgmt_service.get_subscription(topic_name, subscription_name) + assert subscription_description.lock_duration == datetime.timedelta(minutes=2) + + # Now try updating all settings. + subscription_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + subscription_description.dead_lettering_on_message_expiration = True + subscription_description.default_message_time_to_live = datetime.timedelta(minutes=11) + subscription_description.lock_duration = datetime.timedelta(seconds=12) + subscription_description.max_delivery_count = 14 + # topic_description.enable_partitioning = True # Cannot be changed after creation + # topic_description.requires_session = True # Cannot be changed after creation + + mgmt_service.update_subscription(topic_description, subscription_description) + subscription_description = mgmt_service.get_subscription(topic_description, subscription_name) + + assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription_description.dead_lettering_on_message_expiration == True + assert subscription_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription_description.max_delivery_count == 14 + assert subscription_description.lock_duration == datetime.timedelta(seconds=12) + # assert topic_description.enable_partitioning == True + # assert topic_description.requires_session == True + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "dfjfj" + subscription_name = "kwqxc" + try: + topic_description = mgmt_service.create_topic(topic_name) + subscription_description = mgmt_service.create_subscription(topic_name, subscription_name) + + # handle a null update properly. + with pytest.raises(TypeError): + mgmt_service.update_subscription(topic_name, None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + mgmt_service.update_subscription(topic_name, Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + subscription_description.name = "iewdm" + with pytest.raises(HttpResponseError): + mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.name = subscription_name + + # change the name to a topic with an invalid name exist; should fail. + subscription_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.name = topic_name + + # change to a setting with an invalid value; should still fail. + subscription_description.lock_duration = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + mgmt_service.update_subscription(topic_name, subscription_description) + subscription_description.lock_duration = datetime.timedelta(minutes=5) + finally: + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = 'test_topicgda' + subscription_name_1 = 'test_sub1da' + subscription_name_2 = 'test_sub2gcv' + mgmt_service.create_topic(topic_name) + + mgmt_service.create_subscription(topic_name, subscription_name_1) + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 1 + + mgmt_service.create_subscription(topic_name, subscription_name_2) + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 2 + + description = mgmt_service.get_subscription(topic_name, subscription_name_1) + mgmt_service.delete_subscription(topic_name, description) + + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 1 and subscriptions[0].name == subscription_name_2 + + mgmt_service.delete_subscription(topic_name, subscription_name_2) + + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_list(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = 'lkoqxc' + subscription_name_1 = 'testsub1' + subscription_name_2 = 'testsub2' + + mgmt_service.create_topic(topic_name) + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + mgmt_service.create_subscription(topic_name, subscription_name_1) + mgmt_service.create_subscription(topic_name, subscription_name_2) + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 2 + assert subscriptions[0].name == subscription_name_1 + assert subscriptions[1].name == subscription_name_2 + mgmt_service.delete_subscription(topic_name, subscription_name_1) + mgmt_service.delete_subscription(topic_name, subscription_name_2) + subscriptions = list(mgmt_service.list_subscriptions(topic_name)) + assert len(subscriptions) == 0 + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = 'dkoamv' + subscription_name = 'cxqplc' + mgmt_service.create_topic(topic_name) + + subs = list(mgmt_service.list_subscriptions(topic_name)) + subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + + assert len(subs) == len(subs_infos) == 0 + + mgmt_service.create_subscription(topic_name, subscription_name) + + subs = list(mgmt_service.list_subscriptions(topic_name)) + subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + + assert len(subs) == 1 and len(subs_infos) == 1 + + assert subs[0].name == subs_infos[0].name == subscription_name + + info = subs_infos[0] + + assert info.accessed_at is not None + assert info.updated_at is not None + + assert info.message_count_details + assert info.message_count_details.active_message_count == 0 + assert info.message_count_details.dead_letter_message_count == 0 + assert info.message_count_details.transfer_dead_letter_message_count == 0 + assert info.message_count_details.transfer_message_count == 0 + assert info.message_count_details.scheduled_message_count == 0 + + mgmt_service.delete_subscription(topic_name, subscription_name) + subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + assert len(subs_infos) == 0 + + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = 'dcvxqa' + subscription_name = 'xvazzag' + + mgmt_service.create_topic(topic_name) + mgmt_service.create_subscription(topic_name, subscription_name) + sub_runtime_info = mgmt_service.get_subscription_runtime_info(topic_name, subscription_name) + + assert sub_runtime_info + assert sub_runtime_info.name == subscription_name + assert sub_runtime_info.created_at is not None + assert sub_runtime_info.accessed_at is not None + assert sub_runtime_info.updated_at is not None + + assert sub_runtime_info.message_count_details + assert sub_runtime_info.message_count_details.active_message_count == 0 + assert sub_runtime_info.message_count_details.dead_letter_message_count == 0 + assert sub_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 + assert sub_runtime_info.message_count_details.transfer_message_count == 0 + assert sub_runtime_info.message_count_details.scheduled_message_count == 0 + + mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py new file mode 100644 index 000000000000..d41c6707f240 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py @@ -0,0 +1,266 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import logging +import pytest +import datetime + +import msrest +from azure.servicebus.management import ServiceBusManagementClient, TopicDescription +from utilities import get_logger +from azure.core.exceptions import HttpResponseError, ResourceExistsError + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import ( + CachedServiceBusNamespacePreparer, + ServiceBusNamespacePreparer +) + +_logger = get_logger(logging.DEBUG) + + +class ServiceBusManagementClientTopicTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_create_by_name(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "topic_testaddf" + + try: + mgmt_service.create_topic(topic_name) + topic = mgmt_service.get_topic(topic_name) + assert topic.name == topic_name + assert topic.entity_availability_status == 'Available' + assert topic.status == 'Active' + finally: + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "iweidk" + try: + mgmt_service.create_topic( + TopicDescription( + name=topic_name, + auto_delete_on_idle=datetime.timedelta(minutes=10), + default_message_time_to_live=datetime.timedelta(minutes=11), + duplicate_detection_history_time_window=datetime.timedelta(minutes=12), + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + enable_subscription_partitioning=True, + is_anonymous_accessible=True, + max_size_in_megabytes=3072 + ) + ) + topic = mgmt_service.get_topic(topic_name) + assert topic.name == topic_name + assert topic.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic.enable_batched_operations + assert topic.enable_express + assert topic.enable_partitioning + assert topic.enable_subscription_partitioning + assert topic.is_anonymous_accessible + assert topic.max_size_in_megabytes % 3072 == 0 + finally: + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topic_name = "dqkodq" + try: + mgmt_service.create_topic(topic_name) + with pytest.raises(ResourceExistsError): + mgmt_service.create_topic(topic_name) + finally: + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_update_success(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "fjrui" + + try: + topic_description = mgmt_service.create_topic(topic_name) + + # Try updating one setting. + topic_description.default_message_time_to_live = datetime.timedelta(minutes=2) + mgmt_service.update_topic(topic_description) + topic_description = mgmt_service.get_topic(topic_name) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=2) + + # Now try updating all settings. + topic_description.auto_delete_on_idle = datetime.timedelta(minutes=10) + topic_description.default_message_time_to_live = datetime.timedelta(minutes=11) + topic_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=12) + topic_description.enable_batched_operations = True + topic_description.enable_express = True + # topic_description.enable_partitioning = True # Cannot be changed after creation + topic_description.is_anonymous_accessible = True + topic_description.max_size_in_megabytes = 3072 + # topic_description.requires_duplicate_detection = True # Read only + # topic_description.requires_session = True # Cannot be changed after creation + topic_description.support_ordering = True + + mgmt_service.update_topic(topic_description) + topic_description = mgmt_service.get_topic(topic_name) + + assert topic_description.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic_description.enable_batched_operations == True + assert topic_description.enable_express == True + # assert topic_description.enable_partitioning == True + assert topic_description.is_anonymous_accessible == True + assert topic_description.max_size_in_megabytes == 3072 + # assert topic_description.requires_duplicate_detection == True + # assert topic_description.requires_session == True + assert topic_description.support_ordering == True + finally: + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + topic_name = "dfjfj" + try: + topic_description = mgmt_service.create_topic(topic_name) + + # handle a null update properly. + with pytest.raises(TypeError): + mgmt_service.update_topic(None) + + # handle an invalid type update properly. + with pytest.raises(TypeError): + mgmt_service.update_topic(Exception("test")) + + # change the name to a topic that doesn't exist; should fail. + topic_description.name = "iewdm" + with pytest.raises(HttpResponseError): + mgmt_service.update_topic(topic_description) + topic_description.name = topic_name + + # change the name to a topic with an invalid name exist; should fail. + topic_description.name = '' + with pytest.raises(msrest.exceptions.ValidationError): + mgmt_service.update_topic(topic_description) + topic_description.name = topic_name + + # change to a setting with an invalid value; should still fail. + topic_description.duplicate_detection_history_time_window = datetime.timedelta(days=25) + with pytest.raises(HttpResponseError): + mgmt_service.update_topic(topic_description) + topic_description.duplicate_detection_history_time_window = datetime.timedelta(minutes=5) + finally: + mgmt_service.delete_topic(topic_name) + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_delete(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + mgmt_service.create_topic('test_topic') + topics = list(mgmt_service.list_topics()) + assert len(topics) == 1 + + mgmt_service.create_topic('txt/.-_123') + topics = list(mgmt_service.list_topics()) + assert len(topics) == 2 + + description = mgmt_service.get_topic('test_topic') + mgmt_service.delete_topic(description) + + topics = list(mgmt_service.list_topics()) + assert len(topics) == 1 and topics[0].name == 'txt/.-_123' + + description = mgmt_service.get_topic('txt/.-_123') + mgmt_service.delete_topic(description) + + topics = list(mgmt_service.list_topics()) + assert len(topics) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topics = list(mgmt_service.list_topics()) + assert len(topics) == 0 + mgmt_service.create_topic("test_topic_1") + mgmt_service.create_topic("test_topic_2") + topics = list(mgmt_service.list_topics()) + assert len(topics) == 2 + assert topics[0].name == "test_topic_1" + assert topics[1].name == "test_topic_2" + mgmt_service.delete_topic("test_topic_1") + mgmt_service.delete_topic("test_topic_2") + topics = list(mgmt_service.list_topics()) + assert len(topics) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + topics = list(mgmt_service.list_topics()) + topics_infos = list(mgmt_service.list_topics_runtime_info()) + + assert len(topics) == len(topics_infos) == 0 + + mgmt_service.create_topic("test_topic") + + topics = list(mgmt_service.list_topics()) + topics_infos = list(mgmt_service.list_topics_runtime_info()) + + assert len(topics) == 1 and len(topics_infos) == 1 + + assert topics[0].name == topics_infos[0].name == "test_topic" + + info = topics_infos[0] + + assert info.accessed_at is not None + assert info.updated_at is not None + assert info.subscription_count is 0 + + assert info.message_count_details + assert info.message_count_details.active_message_count == 0 + assert info.message_count_details.dead_letter_message_count == 0 + assert info.message_count_details.transfer_dead_letter_message_count == 0 + assert info.message_count_details.transfer_message_count == 0 + assert info.message_count_details.scheduled_message_count == 0 + + mgmt_service.delete_topic("test_topic") + topics_infos = list(mgmt_service.list_topics_runtime_info()) + assert len(topics_infos) == 0 + + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): + mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + mgmt_service.create_topic("test_topic") + topic_runtime_info = mgmt_service.get_topic_runtime_info("test_topic") + + assert topic_runtime_info + assert topic_runtime_info.name == "test_topic" + assert topic_runtime_info.created_at is not None + assert topic_runtime_info.accessed_at is not None + assert topic_runtime_info.updated_at is not None + assert topic_runtime_info.subscription_count is 0 + + assert topic_runtime_info.message_count_details + assert topic_runtime_info.message_count_details.active_message_count == 0 + assert topic_runtime_info.message_count_details.dead_letter_message_count == 0 + assert topic_runtime_info.message_count_details.transfer_dead_letter_message_count == 0 + assert topic_runtime_info.message_count_details.transfer_message_count == 0 + assert topic_runtime_info.message_count_details.scheduled_message_count == 0 + mgmt_service.delete_topic("test_topic") From 3a0be8bfc29b5e5bc04c0daf44a2b861bf0d3db3 Mon Sep 17 00:00:00 2001 From: Adam Ling Date: Tue, 30 Jun 2020 11:35:57 -0700 Subject: [PATCH 12/21] fix pylint --- .../azure-servicebus/azure/servicebus/management/_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 2d9c53d2bfb2..d184e78821db 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -608,9 +608,9 @@ def _from_internal_entity(cls, internal_rule): rule._internal_rule = internal_rule rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) \ - if internal_rule.filter and type(internal_rule.filter) in RULE_CLASS_MAPPING else None + if internal_rule.filter and isinstance(internal_rule.filter, tuple(RULE_CLASS_MAPPING.keys())) else None rule.action = RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) \ - if internal_rule.action and type(internal_rule.action) in RULE_CLASS_MAPPING else None + if internal_rule.action and isinstance(internal_rule.action, tuple(RULE_CLASS_MAPPING.keys())) else None rule.created_at = internal_rule.created_at rule.name = internal_rule.name From efa82aa1e5fb42561f4c0495aeeb58136d3bfaa4 Mon Sep 17 00:00:00 2001 From: Adam Ling Date: Tue, 30 Jun 2020 12:06:41 -0700 Subject: [PATCH 13/21] skip test of list with param and update recordings --- ....test_async_mgmt_queue_create_by_name.yaml | 60 +- ...est_async_mgmt_queue_create_duplicate.yaml | 64 +- ...t_queue_create_with_queue_description.yaml | 60 +- ...nc.test_async_mgmt_queue_delete_basic.yaml | 124 +- ....test_async_mgmt_queue_delete_negtive.yaml | 76 +- ...eue_delete_one_and_check_not_existing.yaml | 374 +- ...ync_mgmt_queue_get_runtime_info_basic.yaml | 46 +- ..._mgmt_queue_get_runtime_info_negative.yaml | 8 +- ...sync.test_async_mgmt_queue_list_basic.yaml | 132 +- ...nc_mgmt_queue_list_runtime_info_basic.yaml | 92 +- ...runtime_info_with_negative_parameters.yaml | 291 -- ...eue_list_runtime_info_with_parameters.yaml | 2997 -------------- ...t_queue_list_with_negative_credential.yaml | 20 +- ...t_queue_list_with_negative_parameters.yaml | 289 -- ...async_mgmt_queue_list_with_parameters.yaml | 2997 -------------- ...nc_mgmt_queue_list_with_special_chars.yaml | 66 +- ....test_async_mgmt_queue_update_invalid.yaml | 108 +- ....test_async_mgmt_queue_update_success.yaml | 154 +- ...les_async.test_async_mgmt_rule_create.yaml | 376 ++ ...test_async_mgmt_rule_create_duplicate.yaml | 207 + ....test_async_mgmt_rule_list_and_delete.yaml | 448 +++ ...c.test_async_mgmt_rule_update_invalid.yaml | 238 ++ ...c.test_async_mgmt_rule_update_success.yaml | 269 ++ ...sync_mgmt_subscription_create_by_name.yaml | 141 + ...nc_mgmt_subscription_create_duplicate.yaml | 145 + ..._create_with_subscription_description.yaml | 141 + ...c.test_async_mgmt_subscription_delete.yaml | 317 ++ ...t_subscription_get_runtime_info_basic.yaml | 141 + ...ync.test_async_mgmt_subscription_list.yaml | 253 ++ ...c_mgmt_subscription_list_runtime_info.yaml | 245 ++ ...sync_mgmt_subscription_update_invalid.yaml | 186 + ...sync_mgmt_subscription_update_success.yaml | 242 ++ ....test_async_mgmt_topic_create_by_name.yaml | 85 + ...est_async_mgmt_topic_create_duplicate.yaml | 90 + ...t_topic_create_with_topic_description.yaml | 85 + ...cs_async.test_async_mgmt_topic_delete.yaml | 280 ++ ...ync_mgmt_topic_get_runtime_info_basic.yaml | 85 + ...pics_async.test_async_mgmt_topic_list.yaml | 190 + ...st_async_mgmt_topic_list_runtime_info.yaml | 179 + ....test_async_mgmt_topic_update_invalid.yaml | 131 + ....test_async_mgmt_topic_update_success.yaml | 189 + .../mgmt_tests/test_mgmt_queues_async.py | 8 +- ...queues.test_mgmt_queue_create_by_name.yaml | 66 +- ...eues.test_mgmt_queue_create_duplicate.yaml | 70 +- ...t_queue_create_with_queue_description.yaml | 66 +- ...t_queues.test_mgmt_queue_delete_basic.yaml | 108 +- ...queues.test_mgmt_queue_delete_negtive.yaml | 64 +- ...eue_delete_one_and_check_not_existing.yaml | 330 +- ...est_mgmt_queue_get_runtime_info_basic.yaml | 40 +- ..._mgmt_queue_get_runtime_info_negative.yaml | 6 +- ...gmt_queues.test_mgmt_queue_list_basic.yaml | 112 +- ...st_mgmt_queue_list_runtime_info_basic.yaml | 78 +- ...runtime_info_with_negative_parameters.yaml | 378 -- ...eue_list_runtime_info_with_parameters.yaml | 3539 ----------------- ...t_queue_list_with_negative_credential.yaml | 16 +- ...t_queue_list_with_negative_parameters.yaml | 376 -- ....test_mgmt_queue_list_with_parameters.yaml | 3539 ----------------- ...st_mgmt_queue_list_with_special_chars.yaml | 56 +- ...queues.test_mgmt_queue_update_invalid.yaml | 110 +- ...queues.test_mgmt_queue_update_success.yaml | 176 +- ...test_mgmt_rules.test_mgmt_rule_create.yaml | 497 +++ ...rules.test_mgmt_rule_create_duplicate.yaml | 272 ++ ..._rules.test_mgmt_rule_list_and_delete.yaml | 578 +++ ...t_rules.test_mgmt_rule_update_invalid.yaml | 312 ++ ...t_rules.test_mgmt_rule_update_success.yaml | 352 ++ ...test_mgmt_subscription_create_by_name.yaml | 187 + ...st_mgmt_subscription_create_duplicate.yaml | 191 + ..._create_with_subscription_description.yaml | 187 + ...iptions.test_mgmt_subscription_delete.yaml | 418 ++ ...t_subscription_get_runtime_info_basic.yaml | 187 + ...criptions.test_mgmt_subscription_list.yaml | 336 ++ ...t_mgmt_subscription_list_runtime_info.yaml | 327 ++ ...test_mgmt_subscription_update_invalid.yaml | 241 ++ ...test_mgmt_subscription_update_success.yaml | 315 ++ ...topics.test_mgmt_topic_create_by_name.yaml | 112 + ...pics.test_mgmt_topic_create_duplicate.yaml | 117 + ...t_topic_create_with_topic_description.yaml | 112 + ...st_mgmt_topics.test_mgmt_topic_delete.yaml | 362 ++ ...est_mgmt_topic_get_runtime_info_basic.yaml | 112 + ...test_mgmt_topics.test_mgmt_topic_list.yaml | 247 ++ ...ics.test_mgmt_topic_list_runtime_info.yaml | 232 ++ ...topics.test_mgmt_topic_update_invalid.yaml | 166 + ...topics.test_mgmt_topic_update_success.yaml | 243 ++ .../tests/mgmt_tests/test_mgmt_queues.py | 8 +- 84 files changed, 12317 insertions(+), 15553 deletions(-) delete mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_negative_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_parameters.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_negative_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_parameters.yaml delete mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_parameters.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml index 92982545d008..3a2c138173ca 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml @@ -2,62 +2,84 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 response: body: - string: https://servicebustesttebxb3fcxh.servicebus.windows.net/eidk?api-version=2017-04eidk2020-06-05T23:46:13Z2020-06-05T23:46:13Zservicebustesttebxb3fcxhhttps://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04eidk2020-06-30T18:57:43Z2020-06-30T18:57:43Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:46:13.683Z2020-06-05T23:46:13.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:43.77Z2020-06-30T18:57:43.837ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:46:13 GMT + date: Tue, 30 Jun 2020 18:57:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesttebxb3fcxh.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustesttebxb3fcxh.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-06-05T23:46:13Z2020-06-05T23:46:13Zservicebustesttebxb3fcxhhttps://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-06-30T18:57:43Z2020-06-30T18:57:43Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:46:13.683Z2020-06-05T23:46:13.75Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:43.77Z2020-06-30T18:57:43.837Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:46:13 GMT - etag: '637269975737500000' + date: Tue, 30 Jun 2020 18:57:44 GMT + etag: '637291402638370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesttebxb3fcxh.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:57:44 GMT + etag: '637291402638370000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml index 8201693b7157..3a231e0f46b2 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml @@ -2,67 +2,89 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-06-05T23:46:14Z2020-06-05T23:46:14Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-06-30T18:57:45Z2020-06-30T18:57:45Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:46:14.86Z2020-06-05T23:46:14.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:45.45Z2020-06-30T18:57:45.483ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:46:15 GMT + date: Tue, 30 Jun 2020 18:57:45 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:13ee6ad4-736a-48f7-b6d0-2affc668f5e4_G8, - SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-06-05T23:46:15 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:871b755e-e463-4242-a950-5c434ccd21f3_G0, + SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-06-30T18:57:45 headers: content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:46:15 GMT - etag: '637269975749270000' + date: Tue, 30 Jun 2020 18:57:45 GMT + etag: '637291402654830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:57:46 GMT + etag: '637291402654830000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml index c639d5efe128..97b767789e6f 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml @@ -2,62 +2,84 @@ interactions: - request: body: ' - PT13S3072truePT11MtruePT12M14truetruetruePT10Mtruetrue' + PT13S3072truePT11MtruePT12M14truetruetruePT10Mtruetrue' headers: Accept: - application/xml Content-Length: - - '1016' + - '900' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-06-05T23:46:16Z2020-06-05T23:46:16Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-06-30T18:57:47Z2020-06-30T18:57:47Zservicebustestj4v3uzhevzPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-05T23:46:16.163Z2020-06-05T23:46:16.323ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:57:47.113Z2020-06-30T18:57:47.33ZtruePT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:46:16 GMT + date: Tue, 30 Jun 2020 18:57:47 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-06-05T23:46:16Z2020-06-05T23:46:16Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-06-30T18:57:47Z2020-06-30T18:57:47Zservicebustestj4v3uzhevzPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-05T23:46:16.163Z2020-06-05T23:46:16.323Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:57:47.113Z2020-06-30T18:57:47.33Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:46:16 GMT - etag: '637269975763230000' + date: Tue, 30 Jun 2020 18:57:47 GMT + etag: '637291402673300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:57:48 GMT + etag: '637291402673300000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml index 9c3c801400b6..3e7f5c7b6e7c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml @@ -2,138 +2,138 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestkzyack4tyt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:47:22Z2020-06-05T23:47:22Zservicebustestkzyack4tythttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:22.237Z2020-06-05T23:47:22.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:22 GMT + date: Tue, 30 Jun 2020 18:57:48 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestkzyack4tyt.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:47:23Zhttps://servicebustestkzyack4tyt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:47:22Z2020-06-05T23:47:22Zservicebustestkzyack4tytQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:49Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:22.237Z2020-06-05T23:47:22.273Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:23 GMT + date: Tue, 30 Jun 2020 18:57:49 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestkzyack4tyt.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:47:23Z2020-06-05T23:47:23Zservicebustestkzyack4tythttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:23.613Z2020-06-05T23:47:23.66ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:24 GMT + date: Tue, 30 Jun 2020 18:57:50 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestkzyack4tyt.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:47:24Zhttps://servicebustestkzyack4tyt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:47:22Z2020-06-05T23:47:22Zservicebustestkzyack4tytQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:51Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:22.237Z2020-06-05T23:47:22.273Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestkzyack4tyt.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:47:23Z2020-06-05T23:47:23Zservicebustestkzyack4tythttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:23.613Z2020-06-05T23:47:23.66Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:24 GMT + date: Tue, 30 Jun 2020 18:57:50 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -141,49 +141,49 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:47:25 GMT - etag: '637269976422730000' + date: Tue, 30 Jun 2020 18:57:51 GMT + etag: '637291402689200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:47:25Zhttps://servicebustestkzyack4tyt.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:47:23Z2020-06-05T23:47:23Zservicebustestkzyack4tytQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:52Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:47:23.613Z2020-06-05T23:47:23.66Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:25 GMT + date: Tue, 30 Jun 2020 18:57:51 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -191,34 +191,34 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:47:25 GMT - etag: '637269976436600000' + date: Tue, 30 Jun 2020 18:57:52 GMT + etag: '637291402703300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:47:26Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:53Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:47:26 GMT + date: Tue, 30 Jun 2020 18:57:52 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkzyack4tyt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml index 13d59355f18f..22953f5dfbd4 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml @@ -2,71 +2,71 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustesthsyuclhdfl.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:48:33Z2020-06-05T23:48:34Zservicebustesthsyuclhdflhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:53Z2020-06-30T18:57:53Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:48:33.97Z2020-06-05T23:48:34.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:53.697Z2020-06-30T18:57:53.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:48:34 GMT + date: Tue, 30 Jun 2020 18:57:53 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustesthsyuclhdfl.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:48:35Zhttps://servicebustesthsyuclhdfl.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:48:33Z2020-06-05T23:48:34ZservicebustesthsyuclhdflQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:54Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:53Z2020-06-30T18:57:53Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:48:33.97Z2020-06-05T23:48:34.09Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:53.697Z2020-06-30T18:57:53.76Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:48:34 GMT + date: Tue, 30 Jun 2020 18:57:54 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -74,82 +74,82 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:48:35 GMT - etag: '637269977140900000' + date: Tue, 30 Jun 2020 18:57:54 GMT + etag: '637291402737600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustesthsyuclhdfl.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:48:36Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:55Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:48:35 GMT + date: Tue, 30 Jun 2020 18:57:55 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:926b2aeb-2830-4776-b90c-af9b5f09787c_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-06-05T23:48:36 + address. TrackingId:6df4eaf1-2894-4d41-ad49-60d3985ec665_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-06-30T18:57:56 headers: content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:48:36 GMT + date: Tue, 30 Jun 2020 18:57:55 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:e4061f0e-f50b-48b7-9944-df9709f401fd_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-06-05T23:48:37 + address. TrackingId:012b3f99-909f-47a5-9df4-0a8fb6caba4c_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-06-30T18:57:56 headers: content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:48:36 GMT + date: Tue, 30 Jun 2020 18:57:55 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustesthsyuclhdfl.servicebus.windows.net/non_existing_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/non_existing_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml index af5d660757ae..eefe696ba590 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -2,340 +2,340 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-05T23:49:43Z2020-06-05T23:49:43Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-30T18:57:56Z2020-06-30T18:57:56Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:43.863Z2020-06-05T23:49:43.947ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:56.93Z2020-06-30T18:57:56.973ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:44 GMT + date: Tue, 30 Jun 2020 18:57:57 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-05T23:49:44Z2020-06-05T23:49:44Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:57:57Z2020-06-30T18:57:57Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:44.757Z2020-06-05T23:49:44.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:57.813Z2020-06-30T18:57:57.873ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:45 GMT + date: Tue, 30 Jun 2020 18:57:58 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-05T23:49:45Z2020-06-05T23:49:45Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:57:58Z2020-06-30T18:57:58Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:45.757Z2020-06-05T23:49:45.85ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:58.763Z2020-06-30T18:57:58.83ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:46 GMT + date: Tue, 30 Jun 2020 18:57:59 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-05T23:49:46Z2020-06-05T23:49:46Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:57:59Z2020-06-30T18:57:59Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:46.697Z2020-06-05T23:49:46.727ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:59.72Z2020-06-30T18:57:59.747ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:47 GMT + date: Tue, 30 Jun 2020 18:58:00 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-05T23:49:47Z2020-06-05T23:49:47Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:58:00Z2020-06-30T18:58:00Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:47.62Z2020-06-05T23:49:47.657ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:00.7Z2020-06-30T18:58:00.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:47 GMT + date: Tue, 30 Jun 2020 18:58:01 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-05T23:49:48Z2020-06-05T23:49:48Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:58:01Z2020-06-30T18:58:01Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:48.57Z2020-06-05T23:49:48.6ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:01.623Z2020-06-30T18:58:01.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:48 GMT + date: Tue, 30 Jun 2020 18:58:02 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-05T23:49:49Z2020-06-05T23:49:49Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:58:02Z2020-06-30T18:58:02Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:49.417Z2020-06-05T23:49:49.453ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:02.577Z2020-06-30T18:58:02.683ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:49 GMT + date: Tue, 30 Jun 2020 18:58:03 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-05T23:49:50Z2020-06-05T23:49:50Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:58:03Z2020-06-30T18:58:03Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:50.283Z2020-06-05T23:49:50.367ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:03.53Z2020-06-30T18:58:03.557ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:50 GMT + date: Tue, 30 Jun 2020 18:58:03 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-05T23:49:51Z2020-06-05T23:49:51Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:58:04Z2020-06-30T18:58:04Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:51.217Z2020-06-05T23:49:51.26ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:04.403Z2020-06-30T18:58:04.443ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:51 GMT + date: Tue, 30 Jun 2020 18:58:04 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustesthgr26illgu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-05T23:49:52Z2020-06-05T23:49:52Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:58:05Z2020-06-30T18:58:05Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:52.213Z2020-06-05T23:49:52.25ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:05.357Z2020-06-30T18:58:05.403ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:52 GMT + date: Tue, 30 Jun 2020 18:58:05 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: @@ -343,97 +343,97 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:53 GMT - etag: '637269977839470000' + date: Tue, 30 Jun 2020 18:58:06 GMT + etag: '637291402769730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustesthgr26illgu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:49:53Zhttps://servicebustesthgr26illgu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-05T23:49:44Z2020-06-05T23:49:44Zservicebustesthgr26illguQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:06Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:57:57Z2020-06-30T18:57:57Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:44.757Z2020-06-05T23:49:44.79Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:57.813Z2020-06-30T18:57:57.873Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-05T23:49:45Z2020-06-05T23:49:45Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:57:58Z2020-06-30T18:57:58Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:45.7802294Z2020-06-05T23:49:45.7802294Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:58.763Z2020-06-30T18:57:58.83Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-05T23:49:46Z2020-06-05T23:49:46Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:57:59Z2020-06-30T18:57:59Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:46.697Z2020-06-05T23:49:46.727Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:59.72Z2020-06-30T18:57:59.747Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-05T23:49:47Z2020-06-05T23:49:47Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:58:00Z2020-06-30T18:58:00Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:47.62Z2020-06-05T23:49:47.657Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:00.7Z2020-06-30T18:58:00.76Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-05T23:49:48Z2020-06-05T23:49:48Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:58:01Z2020-06-30T18:58:01Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:48.57Z2020-06-05T23:49:48.6Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:01.623Z2020-06-30T18:58:01.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-05T23:49:49Z2020-06-05T23:49:49Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:58:02Z2020-06-30T18:58:02Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:49.417Z2020-06-05T23:49:49.453Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:02.577Z2020-06-30T18:58:02.683Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-05T23:49:50Z2020-06-05T23:49:50Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:58:03Z2020-06-30T18:58:03Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:50.283Z2020-06-05T23:49:50.367Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:03.53Z2020-06-30T18:58:03.557Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-05T23:49:51Z2020-06-05T23:49:51Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:58:04Z2020-06-30T18:58:04Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:51.217Z2020-06-05T23:49:51.26Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:04.403Z2020-06-30T18:58:04.443Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesthgr26illgu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-05T23:49:52Z2020-06-05T23:49:52Zservicebustesthgr26illguhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:58:05Z2020-06-30T18:58:05Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:49:52.213Z2020-06-05T23:49:52.25Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:05.357Z2020-06-30T18:58:05.403Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:53 GMT + date: Tue, 30 Jun 2020 18:58:06 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: @@ -441,21 +441,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:54 GMT - etag: '637269977847900000' + date: Tue, 30 Jun 2020 18:58:07 GMT + etag: '637291402778730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: @@ -463,21 +463,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:54 GMT - etag: '637269977858500000' + date: Tue, 30 Jun 2020 18:58:07 GMT + etag: '637291402788300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: @@ -485,21 +485,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:55 GMT - etag: '637269977867270000' + date: Tue, 30 Jun 2020 18:58:08 GMT + etag: '637291402797470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: @@ -507,21 +507,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:55 GMT - etag: '637269977876570000' + date: Tue, 30 Jun 2020 18:58:08 GMT + etag: '637291402807600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: @@ -529,21 +529,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:56 GMT - etag: '637269977886000000' + date: Tue, 30 Jun 2020 18:58:09 GMT + etag: '637291402816500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: @@ -551,21 +551,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:56 GMT - etag: '637269977894530000' + date: Tue, 30 Jun 2020 18:58:09 GMT + etag: '637291402826830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: @@ -573,21 +573,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:57 GMT - etag: '637269977903670000' + date: Tue, 30 Jun 2020 18:58:10 GMT + etag: '637291402835570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: @@ -595,21 +595,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:57 GMT - etag: '637269977912600000' + date: Tue, 30 Jun 2020 18:58:10 GMT + etag: '637291402844430000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: @@ -617,34 +617,34 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:49:58 GMT - etag: '637269977922500000' + date: Tue, 30 Jun 2020 18:58:11 GMT + etag: '637291402854030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustesthgr26illgu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:49:58Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:11Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:49:58 GMT + date: Tue, 30 Jun 2020 18:58:11 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesthgr26illgu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml index 58b225d5366f..75d074800c03 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml @@ -2,71 +2,71 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:50:00Z2020-06-05T23:50:00Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:12Z2020-06-30T18:58:12Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:50:00.043Z2020-06-05T23:50:00.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:12.303Z2020-06-30T18:58:12.353ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:50:00 GMT + date: Tue, 30 Jun 2020 18:58:12 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-05T23:50:00Z2020-06-05T23:50:00Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-30T18:58:12Z2020-06-30T18:58:12Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:50:00.043Z2020-06-05T23:50:00.11Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:12.303Z2020-06-30T18:58:12.353Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:50:00 GMT - etag: '637269978001100000' + date: Tue, 30 Jun 2020 18:58:12 GMT + etag: '637291402923530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -74,12 +74,12 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:50:00 GMT - etag: '637269978001100000' + date: Tue, 30 Jun 2020 18:58:13 GMT + etag: '637291402923530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml index fc90f6d38d8a..4a897664262b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml @@ -5,23 +5,23 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 response: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:8f91f1fa-19d9-42a7-a4b8-2d05d4e2fe53;id=856922020-06-05T23:50:01ZService + services currently available.uuid:6b89d77f-3f52-439a-ae94-863d834feae7;id=518252020-06-30T18:58:14ZService Bus 1.1 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:50:02 GMT + date: Tue, 30 Jun 2020 18:58:13 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml index 3e22eb46d308..a5a329df397c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml @@ -5,90 +5,90 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:09Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:14Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:09 GMT + date: Tue, 30 Jun 2020 18:58:14 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:51:10Z2020-06-05T23:51:10Zservicebustestwq2ynbgzs5https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:15Z2020-06-30T18:58:15Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:51:10.297Z2020-06-05T23:51:10.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:15.307Z2020-06-30T18:58:15.34ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:10 GMT + date: Tue, 30 Jun 2020 18:58:15 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:11Zhttps://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:51:10Z2020-06-05T23:51:10Zservicebustestwq2ynbgzs5Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:16Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:15Z2020-06-30T18:58:15Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:51:10.297Z2020-06-05T23:51:10.363Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:15.307Z2020-06-30T18:58:15.34Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:10 GMT + date: Tue, 30 Jun 2020 18:58:16 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -96,126 +96,126 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:51:11 GMT - etag: '637269978703630000' + date: Tue, 30 Jun 2020 18:58:16 GMT + etag: '637291402953400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:12Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:17Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:11 GMT + date: Tue, 30 Jun 2020 18:58:16 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:12Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:17Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:12 GMT + date: Tue, 30 Jun 2020 18:58:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:51:13Z2020-06-05T23:51:13Zservicebustestwq2ynbgzs5https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:18Z2020-06-30T18:58:18Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:51:13.373Z2020-06-05T23:51:13.43ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:18.24Z2020-06-30T18:58:18.28ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:12 GMT + date: Tue, 30 Jun 2020 18:58:18 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:14Zhttps://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:51:13Z2020-06-05T23:51:13Zservicebustestwq2ynbgzs5Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:19Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:18Z2020-06-30T18:58:18Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:51:13.373Z2020-06-05T23:51:13.43Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:18.24Z2020-06-30T18:58:18.28Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:13 GMT + date: Tue, 30 Jun 2020 18:58:18 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -223,34 +223,34 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:51:13 GMT - etag: '637269978734300000' + date: Tue, 30 Jun 2020 18:58:19 GMT + etag: '637291402982800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:51:15Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:20Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:51:14 GMT + date: Tue, 30 Jun 2020 18:58:19 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestwq2ynbgzs5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml index e1b2d7985f09..d6a19f18e475 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml @@ -5,140 +5,140 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:52:21Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:20Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:20 GMT + date: Tue, 30 Jun 2020 18:58:19 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:52:22Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:21 GMT + date: Tue, 30 Jun 2020 18:58:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest44gj2npcum.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:52:22Z2020-06-05T23:52:22Zservicebustest44gj2npcumhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:52:22.707Z2020-06-05T23:52:22.74ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:22 GMT + date: Tue, 30 Jun 2020 18:58:21 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest44gj2npcum.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:52:23Zhttps://servicebustest44gj2npcum.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:52:22Z2020-06-05T23:52:22Zservicebustest44gj2npcumQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:22Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:52:22.707Z2020-06-05T23:52:22.74Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:22 GMT + date: Tue, 30 Jun 2020 18:58:21 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:52:24Zhttps://servicebustest44gj2npcum.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:52:22Z2020-06-05T23:52:22Zservicebustest44gj2npcumQueueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:22Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:52:22.707Z2020-06-05T23:52:22.74Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:23 GMT + date: Tue, 30 Jun 2020 18:58:21 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -146,34 +146,34 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 05 Jun 2020 23:52:23 GMT - etag: '637269979427400000' + date: Tue, 30 Jun 2020 18:58:22 GMT + etag: '637291403015430000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:52:25Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:23Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:52:24 GMT + date: Tue, 30 Jun 2020 18:58:22 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest44gj2npcum.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_negative_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_negative_parameters.yaml deleted file mode 100644 index 3c350d95613b..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_negative_parameters.yaml +++ /dev/null @@ -1,291 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:53:33Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:53:32 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:18593436-9229-4bb5-9cf1-9439b16ab76d_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:33' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:32 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:68447eec-c366-4f25-8c7c-09a3c6fd1b2e_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:33' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:33 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:fef96608-09e1-4824-8f47-748e699e5ecb_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:33' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:33 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: https://servicebustesto6bbazocf5.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:53:34Z2020-06-05T23:53:34Zservicebustesto6bbazocf5PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:53:34.38Z2020-06-05T23:53:34.413ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:53:34 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustesto6bbazocf5.servicebus.windows.net/test_resource?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:53:35Zhttps://servicebustesto6bbazocf5.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:53:34Z2020-06-05T23:53:34Zservicebustesto6bbazocf5PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:53:34.38Z2020-06-05T23:53:34.413Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:53:34 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:8af979ee-8b63-405b-9c19-e5a79b3dad82_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:35' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:34 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:047e5e63-b709-4a9e-9d63-65ea82d68c7d_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:35' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:35 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:1c7eb2f4-9d1a-4ec8-8c95-d30a6b984a32_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:53:36' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:53:35 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:53:35 GMT - etag: '637269980144130000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustesto6bbazocf5.servicebus.windows.net/test_resource?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:53:37Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:53:36 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustesto6bbazocf5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_parameters.yaml deleted file mode 100644 index c148cb964830..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_with_parameters.yaml +++ /dev/null @@ -1,2997 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:54:55Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:55 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:54:56Z2020-06-05T23:54:56Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:56.047Z2020-06-05T23:54:56.117ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:56 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource0?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:54:56Z2020-06-05T23:54:57Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:56.99Z2020-06-05T23:54:57.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:57 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource1?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:54:57Z2020-06-05T23:54:58Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:57.97Z2020-06-05T23:54:58.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:57 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.94Z2020-06-05T23:54:59.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:58 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:54:59 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:00 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.717Z2020-06-05T23:55:01.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:01 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:02 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.577Z2020-06-05T23:55:03.63ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:03 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.527Z2020-06-05T23:55:04.56ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:04 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:05 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:06 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:06 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:07 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.943Z2020-06-05T23:55:08.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:08 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:09 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.867Z2020-06-05T23:55:10.92ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:10 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:11 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:12 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:13 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:14Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:54:56Z2020-06-05T23:54:56Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:56.047Z2020-06-05T23:54:56.117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:54:56Z2020-06-05T23:54:57Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:56.99Z2020-06-05T23:54:57.04Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.867Z2020-06-05T23:55:10.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:54:57Z2020-06-05T23:54:58Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:57.978667Z2020-06-05T23:54:57.978667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.9547379Z2020-06-05T23:54:58.9547379Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.577Z2020-06-05T23:55:03.63Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:13 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-042020-06-05T23:55:14Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.867Z2020-06-05T23:55:10.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:54:57Z2020-06-05T23:54:58Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:57.978667Z2020-06-05T23:54:57.978667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.9547379Z2020-06-05T23:54:58.9547379Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:13 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:55:15Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:14 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:55:15Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:14 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:15 GMT - etag: '637269980961170000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource0?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:16Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:54:56Z2020-06-05T23:54:57Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:56.99Z2020-06-05T23:54:57.04Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.867Z2020-06-05T23:55:10.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:54:57Z2020-06-05T23:54:58Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:57.978667Z2020-06-05T23:54:57.978667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.9547379Z2020-06-05T23:54:58.9547379Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.577Z2020-06-05T23:55:03.63Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:15 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:16 GMT - etag: '637269980970400000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource1?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:18Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.867Z2020-06-05T23:55:10.92Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:54:57Z2020-06-05T23:54:58Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:57.978667Z2020-06-05T23:54:57.978667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.9547379Z2020-06-05T23:54:58.9547379Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.577Z2020-06-05T23:55:03.63Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:17 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:17 GMT - etag: '637269980980400000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource2?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:19Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:54:58Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:58.9547379Z2020-06-05T23:54:58.9547379Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:18 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:18 GMT - etag: '637269980990030000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource3?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:20Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.1Z2020-06-05T23:55:07.177Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.88Z2020-06-05T23:55:09.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:54:59Z2020-06-05T23:54:59Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:54:59.893Z2020-06-05T23:54:59.947Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:20 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:21 GMT - etag: '637269980999470000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource4?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:21Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:55:00Z2020-06-05T23:55:00Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:00.857Z2020-06-05T23:55:00.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:21 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:21 GMT - etag: '637269981009000000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource5?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:22Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:55:01Z2020-06-05T23:55:01Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:01.7372173Z2020-06-05T23:55:01.7372173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:22 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:22 GMT - etag: '637269981017500000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource6?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:23Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:55:02Z2020-06-05T23:55:02Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:02.67Z2020-06-05T23:55:02.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:23 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:23 GMT - etag: '637269981027130000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource7?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:24Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:55:03Z2020-06-05T23:55:03Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:03.5938245Z2020-06-05T23:55:03.5938245Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:24 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:24 GMT - etag: '637269981036300000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource8?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:25Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.267Z2020-06-05T23:55:06.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:55:04Z2020-06-05T23:55:04Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:04.5423044Z2020-06-05T23:55:04.5423044Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:25 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:26 GMT - etag: '637269981045600000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource9?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:26Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:55:05Z2020-06-05T23:55:05Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:05.48Z2020-06-05T23:55:05.523Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.2744771Z2020-06-05T23:55:06.2744771Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:26 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:27 GMT - etag: '637269981055230000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource10?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:27Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:55:06Z2020-06-05T23:55:06Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:06.2744771Z2020-06-05T23:55:06.2744771Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:27 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:28 GMT - etag: '637269981063300000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource11?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:28Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:55:07Z2020-06-05T23:55:07Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:07.128003Z2020-06-05T23:55:07.128003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:28 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:29 GMT - etag: '637269981071770000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource12?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:29Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.04Z2020-06-05T23:55:08.07Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:29 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:30 GMT - etag: '637269981080700000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource13?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:30Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:55:08Z2020-06-05T23:55:08Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:08.9623398Z2020-06-05T23:55:08.9623398Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:30 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:30 GMT - etag: '637269981089700000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource14?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:31Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:55:09Z2020-06-05T23:55:09Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:09.8950485Z2020-06-05T23:55:09.8950485Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:31 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:31 GMT - etag: '637269981099470000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource15?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:32Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:55:10Z2020-06-05T23:55:10Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:10.8772924Z2020-06-05T23:55:10.8772924Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:32 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:32 GMT - etag: '637269981109200000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource16?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:33Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:55:11Z2020-06-05T23:55:11Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:11.8Z2020-06-05T23:55:11.833Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.683Z2020-06-05T23:55:13.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:33 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:33 GMT - etag: '637269981118330000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource17?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:34Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:55:12Z2020-06-05T23:55:12Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:12.67Z2020-06-05T23:55:12.73Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.7008037Z2020-06-05T23:55:13.7008037Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:34 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:34 GMT - etag: '637269981127300000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource18?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:35Zhttps://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:55:13Z2020-06-05T23:55:13Zservicebustestoy5oo4qyfePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:55:13.7008037Z2020-06-05T23:55:13.7008037Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:35 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:55:35 GMT - etag: '637269981137200000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/test_resource19?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:36Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:36 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:55:36Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:55:36 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestoy5oo4qyfe.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml index d87c511b0920..80285a26e935 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml @@ -5,46 +5,46 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:49c47044-d4ab-491d-8ea2-302248fdc4de_G9, + string: 401claim is empty. TrackingId:fbdf20ee-89a1-4474-95e9-7479047249b4_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:56:43 + Timestamp:2020-06-30T18:58:24 headers: content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:56:43 GMT + date: Tue, 30 Jun 2020 18:58:24 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest4whodquvcb.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:c0cc7a46-313e-40f3-89e7-b7ca7ce12f95_G7, + string: 401claim is empty. TrackingId:5ecc3628-cbdf-463c-8983-46a2c64ef5f6_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:56:44 + Timestamp:2020-06-30T18:58:24 headers: content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:56:43 GMT + date: Tue, 30 Jun 2020 18:58:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest4whodquvcb.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_parameters.yaml deleted file mode 100644 index 3f701abf2ce7..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_parameters.yaml +++ /dev/null @@ -1,289 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:57:57Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:57:56 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:4da8a0a6-153b-4a9b-9d6f-fb142058dacf_G7, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:57:57' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:57:56 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:bf50bd62-56f6-4619-b244-845e325dc9e0_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:57:58' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:57:57 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:c033dd60-62ff-4079-b855-11728233f9e2_G7, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:57:58' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:57:57 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: https://servicebustest6qu7j4khvi.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:57:59Z2020-06-05T23:57:59Zservicebustest6qu7j4khviPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:57:59.073Z2020-06-05T23:57:59.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:57:59 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/test_resource?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:57:59Zhttps://servicebustest6qu7j4khvi.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:57:59Z2020-06-05T23:57:59Zservicebustest6qu7j4khviPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:57:59.073Z2020-06-05T23:57:59.11Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:57:59 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:a7c0b50e-f87e-4a6f-8b99-1478d134c667_G7, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:58:00' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:58:00 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:d95b1831-cdbf-40c8-91ad-881d56a8c161_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:58:00' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:58:00 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:628301b1-2cf6-4368-8c1b-06f6210dc42d_G7, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:58:00' - headers: - content-type: application/xml; charset=utf-8 - date: Fri, 05 Jun 2020 23:58:00 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 400 - message: Bad Request - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:58:01 GMT - etag: '637269982791100000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/test_resource?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:58:01Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:58:01 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustest6qu7j4khvi.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_parameters.yaml deleted file mode 100644 index 2cb8dca87258..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_parameters.yaml +++ /dev/null @@ -1,2997 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:09Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:09 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:59:10Z2020-06-05T23:59:10Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:10.087Z2020-06-05T23:59:10.157ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:10 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource0?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:59:10Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:10.94Z2020-06-05T23:59:11.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:11 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource1?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:59:11Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:11.83Z2020-06-05T23:59:11.89ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:11 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:13 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:13 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:14 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:15 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:16 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:17 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.453Z2020-06-05T23:59:18.487ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:18 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.28Z2020-06-05T23:59:19.31ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:19 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:20 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:21 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:22 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:23 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:24 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:24 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:25 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:26 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04 -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:27 GMT - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - transfer-encoding: chunked - status: - code: 201 - message: Created - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:28Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:59:10Z2020-06-05T23:59:10Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:10.087Z2020-06-05T23:59:10.157Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:59:10Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:10.94Z2020-06-05T23:59:11.003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:59:11Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:11.8457881Z2020-06-05T23:59:11.8457881Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:28 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-042020-06-05T23:59:28Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:59:11Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:11.8457881Z2020-06-05T23:59:11.8457881Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:28 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:59:29Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:28 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:59:29Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:29 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:29 GMT - etag: '637269983501570000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource0?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:30Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:59:10Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:10.94Z2020-06-05T23:59:11.003Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:59:11Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:11.8457881Z2020-06-05T23:59:11.8457881Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:30 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:30 GMT - etag: '637269983510030000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource1?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:31Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:59:11Z2020-06-05T23:59:11Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:11.8457881Z2020-06-05T23:59:11.8457881Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:31 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:31 GMT - etag: '637269983518900000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource2?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:32Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:59:12Z2020-06-05T23:59:12Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:12.797Z2020-06-05T23:59:12.907Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:32 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:32 GMT - etag: '637269983529070000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource3?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:33Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.787Z2020-06-05T23:59:25.84Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:59:13Z2020-06-05T23:59:13Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:13.763Z2020-06-05T23:59:13.807Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.567Z2020-06-05T23:59:16.61Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:32 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:33 GMT - etag: '637269983538070000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource4?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:34Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:59:14Z2020-06-05T23:59:14Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:14.64Z2020-06-05T23:59:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.583566Z2020-06-05T23:59:16.583566Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:33 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:34 GMT - etag: '637269983547070000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource5?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:35Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:59:15Z2020-06-05T23:59:15Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:15.63Z2020-06-05T23:59:15.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.583566Z2020-06-05T23:59:16.583566Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:34 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:35 GMT - etag: '637269983556800000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource6?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:36Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:59:16Z2020-06-05T23:59:16Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:16.583566Z2020-06-05T23:59:16.583566Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:35 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:36 GMT - etag: '637269983566100000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource7?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:37Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:59:17Z2020-06-05T23:59:17Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:17.49Z2020-06-05T23:59:17.517Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:36 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:37 GMT - etag: '637269983575170000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource8?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:38Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:59:18Z2020-06-05T23:59:18Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:18.4747136Z2020-06-05T23:59:18.4747136Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:37 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:38 GMT - etag: '637269983584870000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource9?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:39Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:59:19Z2020-06-05T23:59:19Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:19.287861Z2020-06-05T23:59:19.287861Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:38 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:39 GMT - etag: '637269983593100000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource10?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:40Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:59:20Z2020-06-05T23:59:20Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:20.157Z2020-06-05T23:59:20.207Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:39 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:40 GMT - etag: '637269983602070000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource11?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:41Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:59:21Z2020-06-05T23:59:21Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:21.157Z2020-06-05T23:59:21.2Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:40 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:40 GMT - etag: '637269983612000000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource12?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:42Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:59:22Z2020-06-05T23:59:22Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:22.14Z2020-06-05T23:59:22.197Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:41 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:41 GMT - etag: '637269983621970000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource13?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:43Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:59:23Z2020-06-05T23:59:23Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.057Z2020-06-05T23:59:23.13Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:42 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:42 GMT - etag: '637269983631300000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource14?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:44Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:59:23Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:23.973Z2020-06-05T23:59:24.013Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:43 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:43 GMT - etag: '637269983640130000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource15?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:45Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:59:24Z2020-06-05T23:59:24Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:24.91Z2020-06-05T23:59:24.96Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:44 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:44 GMT - etag: '637269983649600000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource16?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:46Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:59:25Z2020-06-05T23:59:25Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:25.7968718Z2020-06-05T23:59:25.7968718Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:45 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:45 GMT - etag: '637269983658400000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource17?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:46Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:59:26Z2020-06-05T23:59:26Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:26.767Z2020-06-05T23:59:26.813Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:46 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:46 GMT - etag: '637269983668130000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource18?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:47Zhttps://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:59:27Z2020-06-05T23:59:27Zservicebustestr3kr3j46qrPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:59:27.657Z2020-06-05T23:59:27.69Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:46 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: '0' - date: Fri, 05 Jun 2020 23:59:47 GMT - etag: '637269983676900000' - server: Microsoft-HTTPAPI/2.0 - strict-transport-security: max-age=31536000 - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/test_resource19?api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:48Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:47 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -- request: - body: null - headers: - Accept: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:59:49Z - headers: - content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 05 Jun 2020 23:59:48 GMT - server: Microsoft-HTTPAPI/2.0 - transfer-encoding: chunked - status: - code: 200 - message: OK - url: https://servicebustestr3kr3j46qr.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml index 154b5ffd9d4a..40abe6a23f0d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml @@ -5,90 +5,90 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-06T00:00:56Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:25Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Sat, 06 Jun 2020 00:00:56 GMT + date: Tue, 30 Jun 2020 18:58:24 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestkkeu3wb3m4.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-06T00:00:57Z2020-06-06T00:00:57Zservicebustestkkeu3wb3m4https://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:58:25Z2020-06-30T18:58:25Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-06T00:00:57.193Z2020-06-06T00:00:57.227ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:25.763Z2020-06-30T18:58:25.8ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Sat, 06 Jun 2020 00:00:57 GMT + date: Tue, 30 Jun 2020 18:58:25 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestkkeu3wb3m4.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-06T00:00:58Zhttps://servicebustestkkeu3wb3m4.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-06T00:00:57Z2020-06-06T00:00:57Zservicebustestkkeu3wb3m4Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:26Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:58:25Z2020-06-30T18:58:25Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-06T00:00:57.193Z2020-06-06T00:00:57.227Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:25.763Z2020-06-30T18:58:25.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Sat, 06 Jun 2020 00:00:57 GMT + date: Tue, 30 Jun 2020 18:58:26 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -96,34 +96,34 @@ interactions: string: '' headers: content-length: '0' - date: Sat, 06 Jun 2020 00:00:58 GMT - etag: '637269984572270000' + date: Tue, 30 Jun 2020 18:58:26 GMT + etag: '637291403058000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestkkeu3wb3m4.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-06T00:00:59Z + string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:27Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Sat, 06 Jun 2020 00:00:58 GMT + date: Tue, 30 Jun 2020 18:58:27 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestkkeu3wb3m4.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml index 2e2a99b24bef..8c326f6f2730 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml @@ -2,124 +2,124 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-06-06T00:01:01Z2020-06-06T00:01:01Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-06-30T18:58:28Z2020-06-30T18:58:28Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-06T00:01:01.133Z2020-06-06T00:01:01.17ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.35ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Sat, 06 Jun 2020 00:01:01 GMT + date: Tue, 30 Jun 2020 18:58:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' - PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-06T00:01:01.133ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml Content-Length: - - '1311' + - '1264' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:1ca02fa3-f6e2-4da3-885d-27ae128f2e13_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, - Timestamp:2020-06-06T00:01:01 + . TrackingId:5ebfb5db-4d6c-49cf-9083-a6465ee85599_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, + Timestamp:2020-06-30T18:58:28 headers: content-type: application/xml; charset=utf-8 - date: Sat, 06 Jun 2020 00:01:01 GMT - etag: '637269984611700000' + date: Tue, 30 Jun 2020 18:58:28 GMT + etag: '637291403083500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' - PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-06T00:01:01.133ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkfrgx?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:9e46b023-cde4-454d-a76c-3e9b3ebf3b85_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, - Timestamp:2020-06-06T00:01:02 + . TrackingId:7b7c08a2-dde1-4160-a639-ef8c44968015_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, + Timestamp:2020-06-30T18:58:29 headers: content-type: application/xml; charset=utf-8 - date: Sat, 06 Jun 2020 00:01:02 GMT + date: Tue, 30 Jun 2020 18:58:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustestsbname.servicebus.windows.net/dkfrgx?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkfrgx?api-version=2017-04 - request: body: ' - P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-06T00:01:01.133ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: @@ -130,17 +130,39 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:ebc91b90-3958-44a8-b104-25a80f6e9df5_G4, - SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-06-06T00:01:02' + Actual value was 25.00:00:00. TrackingId:0b23c204-7a19-4aff-a97a-d0f51d3b6106_G12, + SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-06-30T18:58:29' headers: content-type: application/xml; charset=utf-8 - date: Sat, 06 Jun 2020 00:01:02 GMT - etag: '637269984611700000' + date: Tue, 30 Jun 2020 18:58:28 GMT + etag: '637291403083500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:58:29 GMT + etag: '637291403083500000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml index 5a3e56c615f2..26e6b230b165 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml @@ -2,108 +2,188 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-06T00:01:03Z2020-06-06T00:01:03Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-06T00:01:03.067Z2020-06-06T00:01:03.153ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Sat, 06 Jun 2020 00:01:03 GMT + date: Tue, 30 Jun 2020 18:58:30 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: ' - PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-06T00:01:03.067ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-06T00:01:03Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Zservicebustestj4v3uzhevzPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-06T00:01:03.067ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Sat, 06 Jun 2020 00:01:03 GMT - etag: '637269984631530000' + date: Tue, 30 Jun 2020 18:58:30 GMT + etag: '637291403110470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:58:31 GMT + etag: '637291403115130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' - PT13S3072falsefalsePT11MtruePT12M14truetrueActive2020-06-06T00:01:03.067ZtruePT10MfalseAvailabletrue' + PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml Content-Length: - - '1270' + - '1676' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-06T00:01:03Zservicebustestsbnamehttps://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Zservicebustestj4v3uzhevzPT13S3072falsefalsePT11MtruePT12M14truetrueActive2020-06-06T00:01:03.067ZtruePT10MfalseAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Sat, 06 Jun 2020 00:01:03 GMT - etag: '637269984636100000' + date: Tue, 30 Jun 2020 18:58:31 GMT + etag: '637291403115130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.76Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:58:31 GMT + etag: '637291403117600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:58:31 GMT + etag: '637291403117600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml new file mode 100644 index 000000000000..6c0a1d16864b --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml @@ -0,0 +1,376 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:59:47Z2020-06-30T18:59:47Zservicebustest6jzzm57comP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:47.023Z2020-06-30T18:59:47.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:46 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:59:47Z2020-06-30T18:59:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:47.5289431Z2020-06-30T18:59:47.5289431Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:46 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: ' + + testcidSET Priority = ''low''test_rule_1' + headers: + Accept: + - application/xml + Content-Length: + - '518' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:47Z2020-06-30T18:59:47ZtestcidSET Priority = 'low'202020-06-30T18:59:47.841478Ztest_rule_1 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-06-30T18:59:47Z2020-06-30T18:59:47ZtestcidSET Priority = 'low'202020-06-30T18:59:47.8604832Ztest_rule_1 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 +- request: + body: ' + + Priority = ''low''test_rule_2' + headers: + Accept: + - application/xml + Content-Length: + - '463' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:47Z2020-06-30T18:59:47ZPriority + = 'low'202020-06-30T18:59:47.9976758Ztest_rule_2 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-06-30T18:59:48Z2020-06-30T18:59:48ZPriority + = 'low'202020-06-30T18:59:48.001119Ztest_rule_2 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 +- request: + body: ' + + 1 = 1test_rule_3' + headers: + Accept: + - application/xml + Content-Length: + - '453' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:48Z2020-06-30T18:59:48Z1=1202020-06-30T18:59:48.1226795Ztest_rule_3 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-06-30T18:59:48Z2020-06-30T18:59:48Z1=1202020-06-30T18:59:48.1261681Ztest_rule_3 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:47 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:48 GMT + etag: '637291403870600000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml new file mode 100644 index 000000000000..aa169800dd34 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml @@ -0,0 +1,207 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:59:49Z2020-06-30T18:59:49Zservicebustest6jzzm57comP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:49.59Z2020-06-30T18:59:49.653ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:49 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:59:50Z2020-06-30T18:59:50ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:50.1724576Z2020-06-30T18:59:50.1724576Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:49 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-06-30T18:59:50Z2020-06-30T18:59:50ZPriority + = 'low'202020-06-30T18:59:50.4068227Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:49 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:c58c11be-b4df-46e1-a4cc-ecc3ddfffc9f_B13, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:59:50 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 18:59:51 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:51 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:51 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:51 GMT + etag: '637291403896530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml new file mode 100644 index 000000000000..93815a414a5b --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml @@ -0,0 +1,448 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:59:52Z2020-06-30T18:59:52Zservicebustest6jzzm57comP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:52.887Z2020-06-30T18:59:52.933ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:52 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:59:53Z2020-06-30T18:59:53ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:53.4632888Z2020-06-30T18:59:53.4632888Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:53Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53Z1=1202020-06-30T18:59:53.4688015Z$Default + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + Priority = ''low''test_rule_1' + headers: + Accept: + - application/xml + Content-Length: + - '463' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'low'202020-06-30T18:59:53.8070227Ztest_rule_1 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 +- request: + body: ' + + Priority = ''middle''test_rule_2' + headers: + Accept: + - application/xml + Content-Length: + - '466' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'middle'202020-06-30T18:59:53.8856588Ztest_rule_2 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 +- request: + body: ' + + Priority = ''high''test_rule_3' + headers: + Accept: + - application/xml + Content-Length: + - '464' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'high'202020-06-30T18:59:53.9949879Ztest_rule_3 + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53Z1=1202020-06-30T18:59:53.4688015Z$Defaulthttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'low'202020-06-30T18:59:53.8126165Ztest_rule_1https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'middle'202020-06-30T18:59:53.8914104Ztest_rule_2https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:54Z2020-06-30T18:59:54ZPriority + = 'high'202020-06-30T18:59:54.0008033Ztest_rule_3 + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53Z1=1202020-06-30T18:59:53.4688015Z$Defaulthttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53ZPriority + = 'low'202020-06-30T18:59:53.8126165Ztest_rule_1https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:54Z2020-06-30T18:59:54ZPriority + = 'high'202020-06-30T18:59:54.0008033Ztest_rule_3 + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53Z1=1202020-06-30T18:59:53.4688015Z$Default + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:53 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:54 GMT + etag: '637291403929330000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml new file mode 100644 index 000000000000..34df8a99a707 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml @@ -0,0 +1,238 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:59:55Z2020-06-30T18:59:55Zservicebustest6jzzm57comP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:55.483Z2020-06-30T18:59:55.513ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:55 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:59:55Z2020-06-30T18:59:55ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:55.9712612Z2020-06-30T18:59:55.9712612Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:56 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:56Z2020-06-30T18:59:56ZPriority + = 'low'202020-06-30T18:59:56.2056524Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:56 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:56Z2020-06-30T18:59:56ZPriority + = 'low'202020-06-30T18:59:56.1917046Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:56 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 +- request: + body: ' + + Priority = ''low''2020-06-30T18:59:56.191704Ziewdm' + headers: + Accept: + - application/xml + Content-Length: + - '507' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 + response: + body: + string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:044a04eb-a851-49e0-a703-5ad3d533da60_B13, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:59:56 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 18:59:57 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:57 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:57 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:57 GMT + etag: '637291403955130000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml new file mode 100644 index 000000000000..8a52e8bb0c25 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml @@ -0,0 +1,269 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:59:58Z2020-06-30T18:59:58Zservicebustest6jzzm57comP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:58.483Z2020-06-30T18:59:58.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:58 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:59:58Z2020-06-30T18:59:58ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:58.9923491Z2020-06-30T18:59:58.9923491Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:58 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59ZPriority + = 'low'202020-06-30T18:59:59.3829739Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:58 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59ZPriority + = 'low'202020-06-30T18:59:59.3870666Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:58 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 +- request: + body: ' + + testcidSET Priority = ''low''2020-06-30T18:59:59.387066Zrule' + headers: + Accept: + - application/xml + Content-Length: + - '561' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59ZtestcidSET Priority = 'low'202020-06-30T18:59:59.5860918Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:59 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59ZtestcidSET Priority = 'low'202020-06-30T18:59:59.3870666Zrule + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 18:59:59 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:59 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:59 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 18:59:59 GMT + etag: '637291403985400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml new file mode 100644 index 000000000000..3a066a748c51 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml @@ -0,0 +1,141 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T19:01:15Z2020-06-30T19:01:15Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:15.04Z2020-06-30T19:01:15.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:14 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T19:01:15Z2020-06-30T19:01:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:15.6332431Z2020-06-30T19:01:15.6332431Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:15 GMT + etag: '637291404751200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-06-30T19:01:15Z2020-06-30T19:01:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:15.6279104Z2020-06-30T19:01:15.6279104Z2020-06-30T19:01:15.6279104Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:15 GMT + etag: '637291404751200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:15 GMT + etag: '637291404751200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:15 GMT + etag: '637291404751200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml new file mode 100644 index 000000000000..aa332e4c0f93 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml @@ -0,0 +1,145 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T19:01:17Z2020-06-30T19:01:17Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:17.167Z2020-06-30T19:01:17.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:17 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T19:01:17Z2020-06-30T19:01:17ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:17.6684814Z2020-06-30T19:01:17.6684814Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:17 GMT + etag: '637291404772100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:6adf3455-9fed-4425-b72c-ffbe89c8c8b7_B11, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T19:01:17 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:01:18 GMT + etag: '637291404772100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:18 GMT + etag: '637291404772100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:18 GMT + etag: '637291404772100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml new file mode 100644 index 000000000000..be6762d1e1e8 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml @@ -0,0 +1,141 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T19:01:19Z2020-06-30T19:01:19Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:19.817Z2020-06-30T19:01:19.85ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:20 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04 +- request: + body: ' + + PT13StruePT11Mtrue14truePT10M' + headers: + Accept: + - application/xml + Content-Length: + - '619' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-06-30T19:01:20Z2020-06-30T19:01:20ZPT13StruePT11Mtruetrue014trueActive2020-06-30T19:01:20.3240469Z2020-06-30T19:01:20.3240469Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:20 GMT + etag: '637291404798500000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-06-30T19:01:20Z2020-06-30T19:01:20ZPT13StruePT11Mtruetrue014trueActive2020-06-30T19:01:20.3317718Z2020-06-30T19:01:20.3317718Z2020-06-30T19:01:20.333Z00000PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:20 GMT + etag: '637291404798500000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:20 GMT + etag: '637291404798500000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:20 GMT + etag: '637291404798500000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml new file mode 100644 index 000000000000..fdca3316c270 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml @@ -0,0 +1,317 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-06-30T19:01:21Z2020-06-30T19:01:21Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:21.573Z2020-06-30T19:01:21.673ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.1916151Z2020-06-30T19:01:22.1916151Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4622494Z2020-06-30T19:01:22.4622494Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:21 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:22 GMT + etag: '637291404816730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml new file mode 100644 index 000000000000..2ef5d30da1aa --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml @@ -0,0 +1,141 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-06-30T19:01:23Z2020-06-30T19:01:23Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:23.82Z2020-06-30T19:01:23.873ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:23 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-06-30T19:01:24Z2020-06-30T19:01:24ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:24.331682Z2020-06-30T19:01:24.331682Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:23 GMT + etag: '637291404838730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-06-30T19:01:24Z2020-06-30T19:01:24ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:24.3332718Z2020-06-30T19:01:24.3332718Z2020-06-30T19:01:24.3332718Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:23 GMT + etag: '637291404838730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:23 GMT + etag: '637291404838730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:24 GMT + etag: '637291404838730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml new file mode 100644 index 000000000000..3c2ae9b57fd8 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml @@ -0,0 +1,253 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-06-30T19:01:25Z2020-06-30T19:01:25Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:25.66Z2020-06-30T19:01:25.69ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:25 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:25 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T19:01:26Z2020-06-30T19:01:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.2094613Z2020-06-30T19:01:26.2094613Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T19:01:26Z2020-06-30T19:01:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.4124426Z2020-06-30T19:01:26.4124426Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T19:01:26Z2020-06-30T19:01:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.2008717Z2020-06-30T19:01:26.2008717Z2020-06-30T19:01:26.2008717Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T19:01:26Z2020-06-30T19:01:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.4040013Z2020-06-30T19:01:26.4040013Z2020-06-30T19:01:26.4040013Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:26 GMT + etag: '637291404856900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml new file mode 100644 index 000000000000..73b3b817c298 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml @@ -0,0 +1,245 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-06-30T19:01:27Z2020-06-30T19:01:28Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:27.943Z2020-06-30T19:01:28.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6384594Z2020-06-30T19:01:28.6384594Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:29Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:28 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:29 GMT + etag: '637291404880770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml new file mode 100644 index 000000000000..ddaf97e260b6 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml @@ -0,0 +1,186 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T19:01:30Z2020-06-30T19:01:30Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:30.277Z2020-06-30T19:01:30.31ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:29 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-06-30T19:01:30Z2020-06-30T19:01:30ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:30 GMT + etag: '637291404903100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 +- request: + body: ' + + PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 + response: + body: + string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:237909fe-3fd0-4495-a42c-3d84f631a7d4_B6, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T19:01:31 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:01:31 GMT + etag: '637291404903100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 +- request: + body: ' + + P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 + response: + body: + string: '400The supplied lock time exceeds the allowed + maximum of ''5'' minutes. To know more visit https://aka.ms/sbResourceMgrExceptions. + + + Parameter name: LockDuration + + Actual value was 25.00:00:00. TrackingId:af03ea2c-fade-46cf-9f62-088c2de16cd0_G0, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-06-30T19:01:32' + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:01:31 GMT + etag: '637291404903100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 400 + message: Bad Request + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:32 GMT + etag: '637291404903100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:32 GMT + etag: '637291404903100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml new file mode 100644 index 000000000000..934e060bdf84 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml @@ -0,0 +1,242 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:01:34Z2020-06-30T19:01:34Zservicebusteste7tnsy7revP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:34.153Z2020-06-30T19:01:34.203ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:34ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:34.6853135Z2020-06-30T19:01:34.6853135Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: ' + + PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.685313Z2020-06-30T19:01:34.685313Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:34ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.9978247Z2020-06-30T19:01:34.9978247Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:35ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.6885475Z2020-06-30T19:01:35.0010351Z2020-06-30T19:01:34.69Z00000P10675199DT2H48M5.477539SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 +- request: + body: ' + + PT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:34.688547Z2020-06-30T19:01:35.001035Z2020-06-30T19:01:34.690Z00000PT10MAvailable' + headers: + Accept: + - application/xml + Content-Length: + - '1379' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:35Z2020-06-30T19:01:35ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:35.0915968Z2020-06-30T19:01:35.0915968Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:35ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:34.6885475Z2020-06-30T19:01:35.1260519Z2020-06-30T19:01:34.69Z00000PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:01:34 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:35 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:01:35 GMT + etag: '637291404942030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml new file mode 100644 index 000000000000..1a8dd115deed --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml @@ -0,0 +1,85 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T19:03:03Z2020-06-30T19:03:03Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:03.433Z2020-06-30T19:03:03.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:03 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-06-30T19:03:03Z2020-06-30T19:03:03Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:03.433Z2020-06-30T19:03:03.493Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:03 GMT + etag: '637291405834930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:04 GMT + etag: '637291405834930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml new file mode 100644 index 000000000000..ad977b24ce58 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml @@ -0,0 +1,90 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T19:03:04Z2020-06-30T19:03:05Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:04.94Z2020-06-30T19:03:05.02ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:05 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: 409SubCode=40900. Conflict. You're requesting + an operation that isn't allowed in the resource's current state. To know more + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:a71e5185-922a-46be-b3a5-54a715536e19_G3, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-06-30T19:03:05 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:03:05 GMT + etag: '637291405850200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:05 GMT + etag: '637291405850200000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml new file mode 100644 index 000000000000..0349cc945799 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml @@ -0,0 +1,85 @@ +interactions: +- request: + body: ' + + PT11M3072PT12MtruetruePT10Mtruetruetrue' + headers: + Accept: + - application/xml + Content-Length: + - '745' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T19:03:06Z2020-06-30T19:03:07Zservicebustestl77xw2qvsqPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T19:03:06.83Z2020-06-30T19:03:07.04ZfalsePT10MtrueAvailabletruetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:06 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T19:03:06Z2020-06-30T19:03:07Zservicebustestl77xw2qvsqPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T19:03:06.83Z2020-06-30T19:03:07.04Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:06 GMT + etag: '637291405870400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:07 GMT + etag: '637291405870400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml new file mode 100644 index 000000000000..d32b855c6577 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml @@ -0,0 +1,280 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:08 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:09Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:08 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:09 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:10Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:10 GMT + etag: '637291405888070000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:10 GMT + etag: '637291405888070000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:11Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:11 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:11 GMT + etag: '637291405900900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:11 GMT + etag: '637291405900900000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:12Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml new file mode 100644 index 000000000000..980e0867f258 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml @@ -0,0 +1,85 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:13Z2020-06-30T19:03:13Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:13.493Z2020-06-30T19:03:13.53ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:13 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T19:03:13Z2020-06-30T19:03:13Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:13.493Z2020-06-30T19:03:13.53Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:13 GMT + etag: '637291405935300000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:14 GMT + etag: '637291405935300000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml new file mode 100644 index 000000000000..f9b9027c6ca1 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:15Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:15 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T19:03:15Z2020-06-30T19:03:15Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:15.65Z2020-06-30T19:03:15.71ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:16 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T19:03:16Z2020-06-30T19:03:16Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:16.553Z2020-06-30T19:03:16.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:16 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:17Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T19:03:15Z2020-06-30T19:03:15Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:15.65Z2020-06-30T19:03:15.71Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T19:03:16Z2020-06-30T19:03:16Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:16.553Z2020-06-30T19:03:16.603Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:17 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:18 GMT + etag: '637291405957100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:18 GMT + etag: '637291405966030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:18Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:18 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml new file mode 100644 index 000000000000..452088999e3a --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml @@ -0,0 +1,179 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:19Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:19 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:19Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:19 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:20 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:21Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:20 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:21Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:21 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:21 GMT + etag: '637291406003470000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:22Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:22 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml new file mode 100644 index 000000000000..43b4f75e4653 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml @@ -0,0 +1,131 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T19:03:23Z2020-06-30T19:03:23Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:23.46Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:23 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 +- request: + body: ' + + P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:23.460Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Content-Length: + - '1195' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 + response: + body: + string: 404SubCode=40400. Not Found. The Operation + doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. + . TrackingId:6a904dee-ddef-4f21-838d-1df58f06cd2f_G13, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-06-30T19:03:24 + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:03:24 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iewdm?api-version=2017-04 +- request: + body: ' + + P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-06-30T19:03:23.460Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Content-Length: + - '1194' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '400SubCode=40000. The value supplied must + be between 00:00:20 and 7.00:00:00. + + Parameter name: DuplicateDetectionHistoryTimeWindow + + Actual value was 25.00:00:00. TrackingId:949e8cb7-cf91-48f7-918a-58ef75ca63c5_G13, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T19:03:24' + headers: + content-type: application/xml; charset=utf-8 + date: Tue, 30 Jun 2020 19:03:24 GMT + etag: '637291406035030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 400 + message: Bad Request + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:24 GMT + etag: '637291406035030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml new file mode 100644 index 000000000000..1b0dba6d0451 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml @@ -0,0 +1,189 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:25Zservicebustestl77xw2qvsqP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:25.84ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:25 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: ' + + PT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.810Z2020-06-30T19:03:25.840ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Content-Length: + - '1174' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:26Zservicebustestl77xw2qvsqPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:25.84ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:25 GMT + etag: '637291406058400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:26Zservicebustestl77xw2qvsqPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.33Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:25 GMT + etag: '637291406063300000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 +- request: + body: ' + + PT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.810Z2020-06-30T19:03:26.330Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + headers: + Accept: + - application/xml + Content-Length: + - '1646' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:26Zservicebustestl77xw2qvsqPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.33Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:26 GMT + etag: '637291406063300000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:26Zservicebustestl77xw2qvsqPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.583Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 30 Jun 2020 19:03:26 GMT + etag: '637291406065830000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 30 Jun 2020 19:03:26 GMT + etag: '637291406065830000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py index 568628133c10..f57ae6ee3cf5 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py @@ -75,8 +75,8 @@ async def test_async_mgmt_queue_list_with_special_chars(self, servicebus_namespa @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_with_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListTestHelper(mgmt_service)) @@ -112,8 +112,8 @@ async def test_async_mgmt_queue_list_with_negative_credential(self, servicebus_n @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_with_negative_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListTestHelper(mgmt_service)) @@ -402,15 +402,15 @@ async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespa @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") async def test_async_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml index ed1b73f5db0c..4c31f2c18e02 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 response: body: - string: https://servicebustest6sdp7okzn6.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-06-05T23:08:52Z2020-06-05T23:08:52Zservicebustest6sdp7okzn6https://servicebustestb4vslijheu.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-06-30T18:48:12Z2020-06-30T18:48:12Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:08:52.09Z2020-06-05T23:08:52.157ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:12.027Z2020-06-30T18:48:12.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:52 GMT + - Tue, 30 Jun 2020 18:48:12 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest6sdp7okzn6.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-06-05T23:08:52Z2020-06-05T23:08:52Zservicebustest6sdp7okzn6https://servicebustestb4vslijheu.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-06-30T18:48:12Z2020-06-30T18:48:12Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:08:52.09Z2020-06-05T23:08:52.157Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:12.027Z2020-06-30T18:48:12.06Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:52 GMT + - Tue, 30 Jun 2020 18:48:12 GMT etag: - - '637269953321570000' + - '637291396920600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -77,4 +77,36 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:48:12 GMT + etag: + - '637291396920600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml index 43641c3065ed..f220e1cdcb3b 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-06-05T23:08:53Z2020-06-05T23:08:53Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-06-30T18:48:13Z2020-06-30T18:48:13Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:08:53.623Z2020-06-05T23:08:53.687ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:13.843Z2020-06-30T18:48:13.907ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:53 GMT + - Tue, 30 Jun 2020 18:48:13 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -43,8 +43,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -53,26 +53,26 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:b5d99a39-e42e-42eb-8086-04b12cf5054e_G7, - SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-06-05T23:08:54 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:77af2fb1-166e-499b-8380-5e1078a05ed7_G12, + SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-06-30T18:48:14 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:53 GMT + - Tue, 30 Jun 2020 18:48:13 GMT etag: - - '637269953336870000' + - '637291396939070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -82,4 +82,36 @@ interactions: status: code: 409 message: Conflict +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:48:14 GMT + etag: + - '637291396939070000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml index 37a608526455..5975326c0434 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - PT13S3072truePT11MtruePT12M14truetruetruePT10Mtruetrue' + PT13S3072truePT11MtruePT12M14truetruetruePT10Mtruetrue' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '1016' + - '900' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-05T23:08:55Z2020-06-05T23:08:55Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:48:15Z2020-06-30T18:48:15Zservicebustestb4vslijheuPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-05T23:08:55.13Z2020-06-05T23:08:55.29ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:48:15.78Z2020-06-30T18:48:15.887ZtruePT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:55 GMT + - Tue, 30 Jun 2020 18:48:15 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-05T23:08:55Z2020-06-05T23:08:55Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T18:48:15Z2020-06-30T18:48:15Zservicebustestb4vslijheuPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-05T23:08:55.13Z2020-06-05T23:08:55.29Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:48:15.78Z2020-06-30T18:48:15.887Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:08:55 GMT + - Tue, 30 Jun 2020 18:48:15 GMT etag: - - '637269953352900000' + - '637291396958870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -77,4 +77,36 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:48:16 GMT + etag: + - '637291396958870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml index b47b9b939adc..5a5df8b1a3f9 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest7jrwkyz66l.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:10:09Z2020-06-05T23:10:09Zservicebustest7jrwkyz66lhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:09.93Z2020-06-05T23:10:09.963ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:10 GMT + - Tue, 30 Jun 2020 18:48:18 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest7jrwkyz66l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:10:10Zhttps://servicebustest7jrwkyz66l.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:10:09Z2020-06-05T23:10:09Zservicebustest7jrwkyz66lQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:18Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:09.9423017Z2020-06-05T23:10:09.9423017Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:10 GMT + - Tue, 30 Jun 2020 18:48:18 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -78,8 +78,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -88,25 +88,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest7jrwkyz66l.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:10:11Z2020-06-05T23:10:11Zservicebustest7jrwkyz66lhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:11.327Z2020-06-05T23:10:11.357ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:11 GMT + - Tue, 30 Jun 2020 18:48:19 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -126,30 +126,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest7jrwkyz66l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:10:12Zhttps://servicebustest7jrwkyz66l.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:10:09Z2020-06-05T23:10:09Zservicebustest7jrwkyz66lQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:20Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:09.9423017Z2020-06-05T23:10:09.9423017Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest7jrwkyz66l.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:10:11Z2020-06-05T23:10:11Zservicebustest7jrwkyz66lhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:11.327Z2020-06-05T23:10:11.357Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:12 GMT + - Tue, 30 Jun 2020 18:48:20 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -169,7 +169,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -179,9 +179,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:10:12 GMT + - Tue, 30 Jun 2020 18:48:20 GMT etag: - - '637269954099630000' + - '637291396978770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -199,24 +199,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest7jrwkyz66l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:10:13Zhttps://servicebustest7jrwkyz66l.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:10:11Z2020-06-05T23:10:11Zservicebustest7jrwkyz66lQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:21Zhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:10:11.327Z2020-06-05T23:10:11.357Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:13 GMT + - Tue, 30 Jun 2020 18:48:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -236,7 +236,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -246,9 +246,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:10:13 GMT + - Tue, 30 Jun 2020 18:48:21 GMT etag: - - '637269954113570000' + - '637291396993000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -266,18 +266,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest7jrwkyz66l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:10:14Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:22Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:10:14 GMT + - Tue, 30 Jun 2020 18:48:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml index b5ae85025929..3cd15eba8ed4 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestgbekuxp4wb.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:11:21Z2020-06-05T23:11:21Zservicebustestgbekuxp4wbhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:22Z2020-06-30T18:48:22Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:11:21.507Z2020-06-05T23:11:21.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:22.56Z2020-06-30T18:48:22.59ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:11:21 GMT + - Tue, 30 Jun 2020 18:48:22 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestgbekuxp4wb.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:11:22Zhttps://servicebustestgbekuxp4wb.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:11:21Z2020-06-05T23:11:21Zservicebustestgbekuxp4wbQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:23Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:22Z2020-06-30T18:48:22Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:11:21.507Z2020-06-05T23:11:21.54Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:22.56Z2020-06-30T18:48:22.59Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:11:22 GMT + - Tue, 30 Jun 2020 18:48:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -87,7 +87,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -97,9 +97,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:11:23 GMT + - Tue, 30 Jun 2020 18:48:23 GMT etag: - - '637269954815400000' + - '637291397025900000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,18 +117,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestgbekuxp4wb.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:11:23Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:24Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:11:23 GMT + - Tue, 30 Jun 2020 18:48:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -148,19 +148,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:033f1e95-90f5-4472-b286-3515b22a3b39_G9, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-06-05T23:11:23 + address. TrackingId:4f3070ef-a0a7-4ee6-9894-54112ecd41cc_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-06-30T18:48:24 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:11:23 GMT + - Tue, 30 Jun 2020 18:48:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -182,19 +182,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:81ba217a-b0e7-4343-ba03-b5b0c9004226_G9, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-06-05T23:11:24 + address. TrackingId:3be4d8d2-1e1e-4f47-ae01-60a2c61615b1_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-06-30T18:48:25 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:11:24 GMT + - Tue, 30 Jun 2020 18:48:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml index 2753d9c22724..22ddb34ab223 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-05T23:12:32Z2020-06-05T23:12:32Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-30T18:48:25Z2020-06-30T18:48:26Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:32.183Z2020-06-05T23:12:32.22ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:25.943Z2020-06-30T18:48:26.01ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:31 GMT + - Tue, 30 Jun 2020 18:48:25 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -43,8 +43,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -53,25 +53,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-05T23:12:33Z2020-06-05T23:12:33Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:48:26Z2020-06-30T18:48:26Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:33.113Z2020-06-05T23:12:33.183ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:26.853Z2020-06-30T18:48:26.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:33 GMT + - Tue, 30 Jun 2020 18:48:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,8 +84,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -94,25 +94,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-05T23:12:34Z2020-06-05T23:12:34Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:48:27Z2020-06-30T18:48:27Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:34.07Z2020-06-05T23:12:34.137ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:27.723Z2020-06-30T18:48:27.757ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:34 GMT + - Tue, 30 Jun 2020 18:48:27 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -125,8 +125,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -135,25 +135,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-05T23:12:35Z2020-06-05T23:12:35Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:48:28Z2020-06-30T18:48:28Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:35.07Z2020-06-05T23:12:35.147ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:28.61Z2020-06-30T18:48:28.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:35 GMT + - Tue, 30 Jun 2020 18:48:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -166,8 +166,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -176,25 +176,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-05T23:12:36Z2020-06-05T23:12:36Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:48:29Z2020-06-30T18:48:29Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:36.223Z2020-06-05T23:12:36.39ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:29.53Z2020-06-30T18:48:29.577ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:36 GMT + - Tue, 30 Jun 2020 18:48:29 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -207,8 +207,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -217,25 +217,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-05T23:12:37Z2020-06-05T23:12:37Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:48:30Z2020-06-30T18:48:30Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:37.18Z2020-06-05T23:12:37.23ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:30.45Z2020-06-30T18:48:30.48ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:37 GMT + - Tue, 30 Jun 2020 18:48:30 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -248,8 +248,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -258,25 +258,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-05T23:12:38Z2020-06-05T23:12:38Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:48:31Z2020-06-30T18:48:31Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:38.163Z2020-06-05T23:12:38.197ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:31.403Z2020-06-30T18:48:31.43ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:38 GMT + - Tue, 30 Jun 2020 18:48:31 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -289,8 +289,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -299,25 +299,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-05T23:12:39Z2020-06-05T23:12:39Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:48:32Z2020-06-30T18:48:32Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:39.15Z2020-06-05T23:12:39.18ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:32.32Z2020-06-30T18:48:32.4ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:39 GMT + - Tue, 30 Jun 2020 18:48:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -330,8 +330,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -340,25 +340,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-05T23:12:40Z2020-06-05T23:12:40Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:48:33Z2020-06-30T18:48:33Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:40.09Z2020-06-05T23:12:40.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:33.327Z2020-06-30T18:48:33.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:40 GMT + - Tue, 30 Jun 2020 18:48:33 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -371,8 +371,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -381,25 +381,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustestxcyy2mhkzt.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-05T23:12:41Z2020-06-05T23:12:41Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:48:34Z2020-06-30T18:48:34Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:41.073Z2020-06-05T23:12:41.1ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:34.287Z2020-06-30T18:48:34.333ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:41 GMT + - Tue, 30 Jun 2020 18:48:33 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -421,7 +421,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: @@ -431,9 +431,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:42 GMT + - Tue, 30 Jun 2020 18:48:34 GMT etag: - - '637269955522200000' + - '637291397060100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -451,72 +451,72 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxcyy2mhkzt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:12:42Zhttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-05T23:12:33Z2020-06-05T23:12:33Zservicebustestxcyy2mhkztQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:35Zhttps://servicebustestb4vslijheu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:48:26Z2020-06-30T18:48:26Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:33.113Z2020-06-05T23:12:33.183Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:26.853Z2020-06-30T18:48:26.887Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-05T23:12:34Z2020-06-05T23:12:34Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:48:27Z2020-06-30T18:48:27Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:34.07Z2020-06-05T23:12:34.137Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:27.723Z2020-06-30T18:48:27.757Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-05T23:12:35Z2020-06-05T23:12:35Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:48:28Z2020-06-30T18:48:28Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:35.07Z2020-06-05T23:12:35.147Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:28.61Z2020-06-30T18:48:28.64Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-05T23:12:36Z2020-06-05T23:12:36Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:48:29Z2020-06-30T18:48:29Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:36.223Z2020-06-05T23:12:36.39Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:29.53Z2020-06-30T18:48:29.577Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-05T23:12:37Z2020-06-05T23:12:37Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:48:30Z2020-06-30T18:48:30Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:37.18Z2020-06-05T23:12:37.23Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:30.45Z2020-06-30T18:48:30.48Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-05T23:12:38Z2020-06-05T23:12:38Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:48:31Z2020-06-30T18:48:31Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:38.163Z2020-06-05T23:12:38.197Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:31.403Z2020-06-30T18:48:31.43Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-05T23:12:39Z2020-06-05T23:12:39Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:48:32Z2020-06-30T18:48:32Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:39.15Z2020-06-05T23:12:39.18Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:32.32Z2020-06-30T18:48:32.4Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-05T23:12:40Z2020-06-05T23:12:40Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:48:33Z2020-06-30T18:48:33Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:40.09Z2020-06-05T23:12:40.143Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:33.327Z2020-06-30T18:48:33.493Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestxcyy2mhkzt.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-05T23:12:41Z2020-06-05T23:12:41Zservicebustestxcyy2mhkzthttps://servicebustestb4vslijheu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:48:34Z2020-06-30T18:48:34Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:41.073Z2020-06-05T23:12:41.1Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:34.287Z2020-06-30T18:48:34.333Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:42 GMT + - Tue, 30 Jun 2020 18:48:34 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -536,7 +536,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: @@ -546,9 +546,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:42 GMT + - Tue, 30 Jun 2020 18:48:35 GMT etag: - - '637269955531830000' + - '637291397068870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -568,7 +568,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: @@ -578,9 +578,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:43 GMT + - Tue, 30 Jun 2020 18:48:35 GMT etag: - - '637269955541370000' + - '637291397077570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -600,7 +600,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: @@ -610,9 +610,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:43 GMT + - Tue, 30 Jun 2020 18:48:36 GMT etag: - - '637269955551470000' + - '637291397086400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -632,7 +632,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: @@ -642,9 +642,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:44 GMT + - Tue, 30 Jun 2020 18:48:37 GMT etag: - - '637269955563900000' + - '637291397095770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -664,7 +664,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: @@ -674,9 +674,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:45 GMT + - Tue, 30 Jun 2020 18:48:37 GMT etag: - - '637269955572300000' + - '637291397104800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -696,7 +696,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: @@ -706,9 +706,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:45 GMT + - Tue, 30 Jun 2020 18:48:38 GMT etag: - - '637269955581970000' + - '637291397114300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -728,7 +728,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: @@ -738,9 +738,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:46 GMT + - Tue, 30 Jun 2020 18:48:38 GMT etag: - - '637269955591800000' + - '637291397124000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -760,7 +760,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: @@ -770,9 +770,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:46 GMT + - Tue, 30 Jun 2020 18:48:39 GMT etag: - - '637269955601430000' + - '637291397134930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -792,7 +792,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: @@ -802,9 +802,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:47 GMT + - Tue, 30 Jun 2020 18:48:39 GMT etag: - - '637269955611000000' + - '637291397143330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -822,18 +822,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxcyy2mhkzt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:12:47Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:40Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:47 GMT + - Tue, 30 Jun 2020 18:48:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml index 6008f491114c..aad0d2a05d6d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:12:49Z2020-06-05T23:12:49Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:41Z2020-06-30T18:48:41Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:49.803Z2020-06-05T23:12:49.837ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:41.403Z2020-06-30T18:48:41.487ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:49 GMT + - Tue, 30 Jun 2020 18:48:41 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-05T23:12:49Z2020-06-05T23:12:49Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-30T18:48:41Z2020-06-30T18:48:41Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:12:49.803Z2020-06-05T23:12:49.837Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:41.403Z2020-06-30T18:48:41.487Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:49 GMT + - Tue, 30 Jun 2020 18:48:41 GMT etag: - - '637269955698370000' + - '637291397214870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -89,7 +89,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -99,9 +99,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:12:50 GMT + - Tue, 30 Jun 2020 18:48:42 GMT etag: - - '637269955698370000' + - '637291397214870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml index 4fb5c149b185..6d3270675121 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml @@ -9,20 +9,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 response: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:0d5248e9-ec06-4f27-a90c-547be587751f;id=783422020-06-05T23:12:52ZService + services currently available.uuid:d03e21f6-5ef1-4bb9-9867-ed6859cbaf0c;id=135102020-06-30T18:48:43ZService Bus 1.1 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:12:52 GMT + - Tue, 30 Jun 2020 18:48:43 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml index c3b922906f42..7a96d1fcdf55 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:13:59Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:44Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:13:59 GMT + - Tue, 30 Jun 2020 18:48:43 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -31,8 +31,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -41,25 +41,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest4rbl27y3h5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:13:59Z2020-06-05T23:13:59Zservicebustest4rbl27y3h5https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:44Z2020-06-30T18:48:44Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:13:59.817Z2020-06-05T23:13:59.857ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:44.803Z2020-06-30T18:48:44.837ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:00 GMT + - Tue, 30 Jun 2020 18:48:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:14:00Zhttps://servicebustest4rbl27y3h5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:13:59Z2020-06-05T23:13:59Zservicebustest4rbl27y3h5Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:45Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:44Z2020-06-30T18:48:44Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:13:59.817Z2020-06-05T23:13:59.857Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:44.803Z2020-06-30T18:48:44.837Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:00 GMT + - Tue, 30 Jun 2020 18:48:45 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -116,7 +116,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -126,9 +126,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:14:01 GMT + - Tue, 30 Jun 2020 18:48:46 GMT etag: - - '637269956398570000' + - '637291397248370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -146,18 +146,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:14:01Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:46Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:01 GMT + - Tue, 30 Jun 2020 18:48:46 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -175,18 +175,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:14:02Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:47Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:02 GMT + - Tue, 30 Jun 2020 18:48:46 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -197,8 +197,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -207,25 +207,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest4rbl27y3h5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:14:03Z2020-06-05T23:14:03Zservicebustest4rbl27y3h5https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:47Z2020-06-30T18:48:47Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:14:03.273Z2020-06-05T23:14:03.333ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:47.763Z2020-06-30T18:48:47.793ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:03 GMT + - Tue, 30 Jun 2020 18:48:47 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -245,24 +245,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:14:04Zhttps://servicebustest4rbl27y3h5.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:14:03Z2020-06-05T23:14:03Zservicebustest4rbl27y3h5Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:48Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:47Z2020-06-30T18:48:47Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:14:03.273Z2020-06-05T23:14:03.333Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:47.763Z2020-06-30T18:48:47.793Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:03 GMT + - Tue, 30 Jun 2020 18:48:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -282,7 +282,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -292,9 +292,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:14:04 GMT + - Tue, 30 Jun 2020 18:48:48 GMT etag: - - '637269956433330000' + - '637291397277930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -312,18 +312,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest4rbl27y3h5.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:14:05Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:49Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:14:04 GMT + - Tue, 30 Jun 2020 18:48:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml index 58b9caa09994..baa663c16f08 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestv2lb4nbsjt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:15:12Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:50Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:11 GMT + - Tue, 30 Jun 2020 18:48:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestv2lb4nbsjt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:15:12Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:50Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:11 GMT + - Tue, 30 Jun 2020 18:48:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -60,8 +60,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -70,25 +70,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestv2lb4nbsjt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:15:13Z2020-06-05T23:15:13Zservicebustestv2lb4nbsjthttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:15:13.343Z2020-06-05T23:15:13.42ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:12 GMT + - Tue, 30 Jun 2020 18:48:51 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -108,24 +108,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestv2lb4nbsjt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:15:14Zhttps://servicebustestv2lb4nbsjt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:15:13Z2020-06-05T23:15:13Zservicebustestv2lb4nbsjtQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:52Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:15:13.343Z2020-06-05T23:15:13.42Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:13 GMT + - Tue, 30 Jun 2020 18:48:52 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,24 +143,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestv2lb4nbsjt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:15:14Zhttps://servicebustestv2lb4nbsjt.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-05T23:15:13Z2020-06-05T23:15:13Zservicebustestv2lb4nbsjtQueueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:52Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:15:13.343Z2020-06-05T23:15:13.42Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:13 GMT + - Tue, 30 Jun 2020 18:48:52 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,7 +180,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -190,9 +190,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:15:15 GMT + - Tue, 30 Jun 2020 18:48:53 GMT etag: - - '637269957134200000' + - '637291397312700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -210,18 +210,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestv2lb4nbsjt.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:15:15Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:53Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:15:15 GMT + - Tue, 30 Jun 2020 18:48:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_negative_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_negative_parameters.yaml deleted file mode 100644 index af85782e4b8d..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_negative_parameters.yaml +++ /dev/null @@ -1,378 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestowtg6cgghp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:16:25Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:24 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:7288ad5c-bfb2-46ea-bcdc-7579130c044b_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:25' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:24 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:c930e376-b485-4d24-bb60-bda281b93016_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:26' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:25 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:f905e8a5-ccd1-4b38-8d3f-ddf5e7b22ddb_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:26' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:25 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: https://servicebustestowtg6cgghp.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:16:26Z2020-06-05T23:16:26Zservicebustestowtg6cgghpPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:16:26.647Z2020-06-05T23:16:26.713ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:26 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestowtg6cgghp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:16:27Zhttps://servicebustestowtg6cgghp.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:16:26Z2020-06-05T23:16:26Zservicebustestowtg6cgghpPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:16:26.647Z2020-06-05T23:16:26.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:26 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:f2f6df31-6d33-4d32-a467-59903a11517e_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:27' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:26 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:7eb97cb9-eafc-48ae-9e55-5268a57952fe_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:28' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:27 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:47ce1bc8-6c53-4344-8258-ea708834efab_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:16:28' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:27 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:16:27 GMT - etag: - - '637269957867130000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestowtg6cgghp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:16:29Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:16:28 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_parameters.yaml deleted file mode 100644 index 057e1a398c1f..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_with_parameters.yaml +++ /dev/null @@ -1,3539 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:17:36Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:36 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:17:36Z2020-06-05T23:17:36Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:36.83Z2020-06-05T23:17:36.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:37 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:17:37Z2020-06-05T23:17:37Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:37.83Z2020-06-05T23:17:37.873ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:38 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:17:38Z2020-06-05T23:17:38Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:38.907Z2020-06-05T23:17:38.937ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:39 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.773Z2020-06-05T23:17:39.83ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:40 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.727Z2020-06-05T23:17:40.787ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:41 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:42 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.723Z2020-06-05T23:17:42.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:43 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.69Z2020-06-05T23:17:43.727ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:43 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.597Z2020-06-05T23:17:44.657ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:44 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:45 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:47 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:48 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.767Z2020-06-05T23:17:48.797ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:49 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:50 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:50 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:51 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:53 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.813Z2020-06-05T23:17:53.847ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:54 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:55 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: https://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:56 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:17:56Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:17:36Z2020-06-05T23:17:36Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:36.83Z2020-06-05T23:17:36.91Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:17:37Z2020-06-05T23:17:37Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:37.83Z2020-06-05T23:17:37.873Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.767Z2020-06-05T23:17:48.797Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:17:38Z2020-06-05T23:17:38Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:38.907Z2020-06-05T23:17:38.937Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.798117Z2020-06-05T23:17:39.798117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.723Z2020-06-05T23:17:42.79Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.597Z2020-06-05T23:17:44.657Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:56 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-042020-06-05T23:17:57Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:17:38Z2020-06-05T23:17:38Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:38.907Z2020-06-05T23:17:38.937Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.798117Z2020-06-05T23:17:39.798117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:57 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:17:57Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:57 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:17:58Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:58 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:17:58 GMT - etag: - - '637269958569100000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:17:59Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:17:37Z2020-06-05T23:17:37Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:37.83Z2020-06-05T23:17:37.873Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:17:38Z2020-06-05T23:17:38Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:38.907Z2020-06-05T23:17:38.937Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.798117Z2020-06-05T23:17:39.798117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.597Z2020-06-05T23:17:44.657Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:17:59 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:00 GMT - etag: - - '637269958578730000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:00Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:17:38Z2020-06-05T23:17:38Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:38.907Z2020-06-05T23:17:38.937Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.798117Z2020-06-05T23:17:39.798117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.597Z2020-06-05T23:17:44.657Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:00 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:01 GMT - etag: - - '637269958589370000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:01Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:17:39Z2020-06-05T23:17:39Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:39.798117Z2020-06-05T23:17:39.798117Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:01 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:02 GMT - etag: - - '637269958598300000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:03Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:17:40Z2020-06-05T23:17:40Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:40.7363665Z2020-06-05T23:17:40.7363665Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:02 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:03 GMT - etag: - - '637269958607870000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:04Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:17:41Z2020-06-05T23:17:41Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:41.753Z2020-06-05T23:17:41.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:04 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:04 GMT - etag: - - '637269958618000000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:05Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:17:42Z2020-06-05T23:17:42Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:42.7289701Z2020-06-05T23:17:42.7289701Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:05 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:05 GMT - etag: - - '637269958627900000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:06Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:17:43Z2020-06-05T23:17:43Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:43.6902368Z2020-06-05T23:17:43.6902368Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:06 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:06 GMT - etag: - - '637269958637270000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:07Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:17:44Z2020-06-05T23:17:44Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:44.6022621Z2020-06-05T23:17:44.6022621Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:07 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:07 GMT - etag: - - '637269958646570000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:08Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:17:45Z2020-06-05T23:17:45Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:45.543Z2020-06-05T23:17:45.58Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:08 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:08 GMT - etag: - - '637269958655800000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:09Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:17:46Z2020-06-05T23:17:46Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:46.673Z2020-06-05T23:17:46.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:09 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:09 GMT - etag: - - '637269958667170000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:10Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:17:47Z2020-06-05T23:17:47Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:47.61Z2020-06-05T23:17:47.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:10 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:11 GMT - etag: - - '637269958676770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:11Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:17:48Z2020-06-05T23:17:48Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:48.776278Z2020-06-05T23:17:48.776278Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:11 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:12 GMT - etag: - - '637269958687970000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:12Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:17:49Z2020-06-05T23:17:49Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:49.74Z2020-06-05T23:17:49.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:12 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:13 GMT - etag: - - '637269958697800000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:13Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:17:50Z2020-06-05T23:17:50Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:50.613Z2020-06-05T23:17:50.677Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:13 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:14 GMT - etag: - - '637269958706770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:15Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:17:51Z2020-06-05T23:17:51Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:51.56Z2020-06-05T23:17:51.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:14 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:15 GMT - etag: - - '637269958716330000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:15Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:17:52Z2020-06-05T23:17:52Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:52.727Z2020-06-05T23:17:52.787Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:15 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:16 GMT - etag: - - '637269958727870000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:16Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:17:53Z2020-06-05T23:17:53Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:53.832597Z2020-06-05T23:17:53.832597Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:16 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:17 GMT - etag: - - '637269958738470000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:18Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:17:54Z2020-06-05T23:17:54Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:54.887Z2020-06-05T23:17:54.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:17 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:18 GMT - etag: - - '637269958749700000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:19Zhttps://servicebustestwl7eka4sbf.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:17:55Z2020-06-05T23:17:55Zservicebustestwl7eka4sbfPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:17:55.87Z2020-06-05T23:17:55.94Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:18 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:18:19 GMT - etag: - - '637269958759400000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:20Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:19 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestwl7eka4sbf.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:18:20Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:18:20 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml index b1a7046ea3f3..a157b03f4e70 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml @@ -9,19 +9,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:7f32afa8-25b8-4b18-af74-509d2745fc60_G15, + string: 401claim is empty. TrackingId:f7cb3724-33c0-4262-8a70-03766ce3a019_G2, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:42:33 + Timestamp:2020-06-30T18:48:53 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:42:32 GMT + - Tue, 30 Jun 2020 18:48:53 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -41,19 +41,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:5b86af2c-d01f-4fca-8184-95acdca187b2_G6, + string: 401claim is empty. TrackingId:321540ef-7ece-4f30-b6d6-d452923405c4_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:42:33 + Timestamp:2020-06-30T18:48:54 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:42:33 GMT + - Tue, 30 Jun 2020 18:48:54 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_parameters.yaml deleted file mode 100644 index b877a0765b53..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_parameters.yaml +++ /dev/null @@ -1,376 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestrgymo42pwu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:20:47Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:46 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:87efc800-3929-465f-ae51-41e3254391e7_G9, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:47' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:46 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:67034029-1cf8-445f-b18f-bf3c9ae70ad8_G9, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:47' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:47 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:9c34f712-6927-4c78-a042-2db932944ddc_G9, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:48' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:47 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: https://servicebustestrgymo42pwu.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:20:48Z2020-06-05T23:20:48Zservicebustestrgymo42pwuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:20:48.6Z2020-06-05T23:20:48.713ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:48 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestrgymo42pwu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:20:49Zhttps://servicebustestrgymo42pwu.servicebus.windows.net/test_resource?api-version=2017-04test_resource2020-06-05T23:20:48Z2020-06-05T23:20:48Zservicebustestrgymo42pwuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:20:48.6Z2020-06-05T23:20:48.713Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:48 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=100&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:3e25a59e-f1a0-496b-9f24-8df452feceb9_G9, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:49' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:49 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''top'' should be non-negative - integer. - - Parameter name: top. TrackingId:f1b90554-824d-448f-bce1-1b384d1ff50e_G9, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:50' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:49 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=-1&$top=-1&api-version=2017-04 - response: - body: - string: '400Parameter ''skip'' should be non-negative - integer. - - Parameter name: skip. TrackingId:6130e9df-9ec0-49ac-97f9-93758c62ebca_G9, - SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-05T23:20:50' - headers: - content-type: - - application/xml; charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:49 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:20:50 GMT - etag: - - '637269960487130000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustestrgymo42pwu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:20:51Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:20:50 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_parameters.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_parameters.yaml deleted file mode 100644 index 7959317b3a6c..000000000000 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_parameters.yaml +++ /dev/null @@ -1,3539 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:21:59Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:21:59 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:22:00Z2020-06-05T23:22:00Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:00.33Z2020-06-05T23:22:00.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:00 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:22:01Z2020-06-05T23:22:01Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:01.303Z2020-06-05T23:22:01.343ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:01 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:22:02Z2020-06-05T23:22:02Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:02.257Z2020-06-05T23:22:02.33ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:02 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:02 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.05Z2020-06-05T23:22:04.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:03 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:04 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:05 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:06 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:07 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:08 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:09 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:10 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:11 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.53Z2020-06-05T23:22:12.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:12 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7Z2020-06-05T23:22:13.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:13 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:15 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:16 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:17 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:17 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: ' - - ' - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '256' - Content-Type: - - application/xml - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: PUT - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: https://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.32Z2020-06-05T23:22:18.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=entry;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:18 GMT - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:19Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource0?api-version=2017-04test_resource02020-06-05T23:22:00Z2020-06-05T23:22:00Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:00.3584624Z2020-06-05T23:22:00.3584624Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:22:01Z2020-06-05T23:22:01Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:01.303Z2020-06-05T23:22:01.343Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:22:02Z2020-06-05T23:22:02Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:02.257Z2020-06-05T23:22:02.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:19 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=5&$top=10&api-version=2017-042020-06-05T23:22:19Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:22:02Z2020-06-05T23:22:02Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:02.257Z2020-06-05T23:22:02.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:19 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:22:20Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:19 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=0&api-version=2017-042020-06-05T23:22:20Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:20 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource0?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:21 GMT - etag: - - '637269961203770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:21Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource1?api-version=2017-04test_resource12020-06-05T23:22:01Z2020-06-05T23:22:01Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:01.303Z2020-06-05T23:22:01.343Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:22:02Z2020-06-05T23:22:02Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:02.257Z2020-06-05T23:22:02.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:21 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource1?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:22 GMT - etag: - - '637269961213430000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:22Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource2?api-version=2017-04test_resource22020-06-05T23:22:02Z2020-06-05T23:22:02Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:02.257Z2020-06-05T23:22:02.33Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:22 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource2?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:23 GMT - etag: - - '637269961223300000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:23Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource3?api-version=2017-04test_resource32020-06-05T23:22:03Z2020-06-05T23:22:03Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:03.13Z2020-06-05T23:22:03.163Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:23 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource3?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:24 GMT - etag: - - '637269961231630000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:24Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource4?api-version=2017-04test_resource42020-06-05T23:22:04Z2020-06-05T23:22:04Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:04.0470558Z2020-06-05T23:22:04.0470558Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.897Z2020-06-05T23:22:08.03Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:24 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource4?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:25 GMT - etag: - - '637269961240770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:25Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource5?api-version=2017-04test_resource52020-06-05T23:22:05Z2020-06-05T23:22:05Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05Z2020-06-05T23:22:05.053Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.9126141Z2020-06-05T23:22:07.9126141Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:25 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource5?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:26 GMT - etag: - - '637269961250530000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:26Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource6?api-version=2017-04test_resource62020-06-05T23:22:05Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:05.953Z2020-06-05T23:22:06.033Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.9126141Z2020-06-05T23:22:07.9126141Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:26 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource6?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:27 GMT - etag: - - '637269961260330000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:28Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource7?api-version=2017-04test_resource72020-06-05T23:22:06Z2020-06-05T23:22:06Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:06.903Z2020-06-05T23:22:06.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.9126141Z2020-06-05T23:22:07.9126141Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:27 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource7?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:28 GMT - etag: - - '637269961269570000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:29Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource8?api-version=2017-04test_resource82020-06-05T23:22:07Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:07.9126141Z2020-06-05T23:22:07.9126141Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:29 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource8?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:29 GMT - etag: - - '637269961280300000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:30Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource9?api-version=2017-04test_resource92020-06-05T23:22:08Z2020-06-05T23:22:08Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:08.89Z2020-06-05T23:22:08.927Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:30 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource9?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:30 GMT - etag: - - '637269961289270000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:31Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource10?api-version=2017-04test_resource102020-06-05T23:22:09Z2020-06-05T23:22:09Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:09.657Z2020-06-05T23:22:09.717Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:31 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource10?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:32 GMT - etag: - - '637269961297170000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:32Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource11?api-version=2017-04test_resource112020-06-05T23:22:10Z2020-06-05T23:22:10Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:10.587Z2020-06-05T23:22:10.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.587Z2020-06-05T23:22:16.65Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:32 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource11?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:33 GMT - etag: - - '637269961306470000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:34Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource12?api-version=2017-04test_resource122020-06-05T23:22:11Z2020-06-05T23:22:11Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:11.573Z2020-06-05T23:22:11.603Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:33 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource12?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:34 GMT - etag: - - '637269961316030000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:35Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource13?api-version=2017-04test_resource132020-06-05T23:22:12Z2020-06-05T23:22:12Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:12.5416898Z2020-06-05T23:22:12.5416898Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:34 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource13?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:35 GMT - etag: - - '637269961326500000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:36Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource14?api-version=2017-04test_resource142020-06-05T23:22:13Z2020-06-05T23:22:13Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:13.7135511Z2020-06-05T23:22:13.7135511Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:36 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource14?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:36 GMT - etag: - - '637269961337600000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:37Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource15?api-version=2017-04test_resource152020-06-05T23:22:14Z2020-06-05T23:22:14Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:14.677Z2020-06-05T23:22:14.72Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:37 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource15?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:37 GMT - etag: - - '637269961347200000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:38Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource16?api-version=2017-04test_resource162020-06-05T23:22:15Z2020-06-05T23:22:15Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:15.593Z2020-06-05T23:22:15.67Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:38 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource16?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:38 GMT - etag: - - '637269961356700000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:39Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource17?api-version=2017-04test_resource172020-06-05T23:22:16Z2020-06-05T23:22:16Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:16.5902052Z2020-06-05T23:22:16.5902052Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:39 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource17?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:39 GMT - etag: - - '637269961366500000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:40Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource18?api-version=2017-04test_resource182020-06-05T23:22:17Z2020-06-05T23:22:17Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:17.443Z2020-06-05T23:22:17.477Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:40 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource18?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:40 GMT - etag: - - '637269961374770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:41Zhttps://servicebustesti7oblssuyh.servicebus.windows.net/test_resource19?api-version=2017-04test_resource192020-06-05T23:22:18Z2020-06-05T23:22:18Zservicebustesti7oblssuyhPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:22:18.3405532Z2020-06-05T23:22:18.3405532Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:41 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: DELETE - uri: https://servicebustestsbname.servicebus.windows.net/test_resource19?api-version=2017-04 - response: - body: - string: '' - headers: - content-length: - - '0' - date: - - Fri, 05 Jun 2020 23:22:41 GMT - etag: - - '637269961383770000' - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:42Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:42 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) - method: GET - uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - response: - body: - string: Queueshttps://servicebustesti7oblssuyh.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:22:42Z - headers: - content-type: - - application/atom+xml;type=feed;charset=utf-8 - date: - - Fri, 05 Jun 2020 23:22:42 GMT - server: - - Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml index 1e9c06109bf4..c64b9938e98e 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwzkv2raka7.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:23:49Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:54Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:49 GMT + - Tue, 30 Jun 2020 18:48:54 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -31,8 +31,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -41,25 +41,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestwzkv2raka7.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:23:50Z2020-06-05T23:23:50Zservicebustestwzkv2raka7https://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:55Z2020-06-30T18:48:55Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:23:50.24Z2020-06-05T23:23:50.29ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:55.413Z2020-06-30T18:48:55.443ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:50 GMT + - Tue, 30 Jun 2020 18:48:55 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwzkv2raka7.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:23:51Zhttps://servicebustestwzkv2raka7.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-05T23:23:50Z2020-06-05T23:23:50Zservicebustestwzkv2raka7Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:56Zhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:55Z2020-06-30T18:48:55Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:23:50.24Z2020-06-05T23:23:50.29Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:55.413Z2020-06-30T18:48:55.443Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:50 GMT + - Tue, 30 Jun 2020 18:48:56 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -116,7 +116,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -126,9 +126,9 @@ interactions: content-length: - '0' date: - - Fri, 05 Jun 2020 23:23:51 GMT + - Tue, 30 Jun 2020 18:48:56 GMT etag: - - '637269962302900000' + - '637291397354430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -146,18 +146,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestwzkv2raka7.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-05T23:23:52Z + string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:57Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:51 GMT + - Tue, 30 Jun 2020 18:48:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml index 0f7f49bd87ae..02d0787d01f3 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-05T23:23:53Z2020-06-05T23:23:53Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:48:57Z2020-06-30T18:48:57Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:23:53.457Z2020-06-05T23:23:53.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:53 GMT + - Tue, 30 Jun 2020 18:48:58 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -43,9 +43,9 @@ interactions: - request: body: ' - PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-05T23:23:53.457ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -54,28 +54,28 @@ interactions: Connection: - keep-alive Content-Length: - - '1311' + - '1264' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:095b318f-b6fa-4920-912d-21a2b9510a35_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, - Timestamp:2020-06-05T23:23:54 + . TrackingId:67595514-dd43-4e3a-a7f7-454f0275fb92_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, + Timestamp:2020-06-30T18:48:58 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:53 GMT + - Tue, 30 Jun 2020 18:48:58 GMT etag: - - '637269962335400000' + - '637291397378870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -88,9 +88,9 @@ interactions: - request: body: ' - PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-05T23:23:53.457ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -99,26 +99,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:2de83ce1-75ca-40f9-a653-39cefe162385_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-06-05T23:23:54 + . TrackingId:286da6eb-41f1-4d2a-ac90-46acbfab6290_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-06-30T18:48:59 headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:54 GMT + - Tue, 30 Jun 2020 18:48:59 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -131,9 +131,9 @@ interactions: - request: body: ' - P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-05T23:23:53.457ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -142,13 +142,13 @@ interactions: Connection: - keep-alive Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -159,15 +159,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:c7c2e217-b26f-4b52-89b2-b407cbcdef8f_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-05T23:23:55' + Actual value was 25.00:00:00. TrackingId:95b1d50e-0259-4bd6-9da9-fcccc8352741_G10, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T18:48:59' headers: content-type: - application/xml; charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:54 GMT + - Tue, 30 Jun 2020 18:48:59 GMT etag: - - '637269962335400000' + - '637291397378870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -177,4 +177,36 @@ interactions: status: code: 400 message: Bad Request +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:48:59 GMT + etag: + - '637291397378870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml index 449b4c0cba02..f347d964a43c 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml @@ -2,8 +2,8 @@ interactions: - request: body: ' - ' + ' headers: Accept: - application/xml @@ -12,25 +12,25 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '248' Content-Type: - - application/xml + - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-05T23:23:55Z2020-06-05T23:23:55Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:00Zservicebustestb4vslijheuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-05T23:23:55.89Z2020-06-05T23:23:55.96ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:55 GMT + - Tue, 30 Jun 2020 18:49:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -43,9 +43,9 @@ interactions: - request: body: ' - PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-05T23:23:55.890ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -54,29 +54,66 @@ interactions: Connection: - keep-alive Content-Length: - - '1312' + - '1265' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-05T23:23:56Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:01Zservicebustestb4vslijheuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10truefalseActive2020-06-05T23:23:55.89ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:55 GMT + - Tue, 30 Jun 2020 18:49:00 GMT etag: - - '637269962359600000' + - '637291397405530000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:01Zservicebustestb4vslijheuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.01Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:49:00 GMT + etag: + - '637291397410100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -89,9 +126,10 @@ interactions: - request: body: ' - PT13S3072falsefalsePT11MtruePT12M14truetrueActive2020-06-05T23:23:55.890ZtruePT10MfalseAvailabletrue' + PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.010Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -100,29 +138,67 @@ interactions: Connection: - keep-alive Content-Length: - - '1270' + - '1676' Content-Type: - - application/xml + - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.19631-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-05T23:23:56Zservicebustestsbnamehttps://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:01Zservicebustestb4vslijheuPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.01Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:49:00 GMT + etag: + - '637291397410100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:01Zservicebustestb4vslijheuPT13S3072falsefalsePT11MtruePT12M14truetrueActive2020-06-05T23:23:55.89ZtruePT10MfalseAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.277Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 05 Jun 2020 23:23:56 GMT + - Tue, 30 Jun 2020 18:49:01 GMT etag: - - '637269962364900000' + - '637291397412770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -132,4 +208,36 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:49:01 GMT + etag: + - '637291397412770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml new file mode 100644 index 000000000000..d69c8480bf71 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml @@ -0,0 +1,497 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:50:40Z2020-06-30T18:50:40Zservicebustestlyyrbw5r62P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:40.167Z2020-06-30T18:50:40.287ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:50:40Z2020-06-30T18:50:40ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:40.8489233Z2020-06-30T18:50:40.8489233Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:40 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + testcidSET Priority = ''low''test_rule_1' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '518' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:41Z2020-06-30T18:50:41ZtestcidSET Priority = 'low'202020-06-30T18:50:41.0520646Ztest_rule_1 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:40 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-06-30T18:50:41Z2020-06-30T18:50:41ZtestcidSET Priority = 'low'202020-06-30T18:50:41.0675544Ztest_rule_1 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + Priority = ''low''test_rule_2' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '463' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:41Z2020-06-30T18:50:41ZPriority + = 'low'202020-06-30T18:50:41.2238568Ztest_rule_2 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-06-30T18:50:41Z2020-06-30T18:50:41ZPriority + = 'low'202020-06-30T18:50:41.2246466Ztest_rule_2 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + 1 = 1test_rule_3' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '453' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:41Z2020-06-30T18:50:41Z1=1202020-06-30T18:50:41.3332171Ztest_rule_3 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-06-30T18:50:41Z2020-06-30T18:50:41Z1=1202020-06-30T18:50:41.3340592Ztest_rule_3 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:41 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:42 GMT + etag: + - '637291398402870000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml new file mode 100644 index 000000000000..00005dd7f9df --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml @@ -0,0 +1,272 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:50:42Z2020-06-30T18:50:42Zservicebustestlyyrbw5r62P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:42.87Z2020-06-30T18:50:42.943ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:50:43Z2020-06-30T18:50:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:43.4813134Z2020-06-30T18:50:43.4813134Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:43 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-06-30T18:50:43Z2020-06-30T18:50:43ZPriority + = 'low'202020-06-30T18:50:43.6532121Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:43 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:71d82d11-da6f-4d1a-8406-2c9dd41ecd04_B0, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:50:43 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:44 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:44 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:44 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:45 GMT + etag: + - '637291398429430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml new file mode 100644 index 000000000000..229fc388bfaf --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml @@ -0,0 +1,578 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:50:46Z2020-06-30T18:50:46Zservicebustestlyyrbw5r62P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:46.017Z2020-06-30T18:50:46.067ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:50:46Z2020-06-30T18:50:46ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:46.5539301Z2020-06-30T18:50:46.5539301Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:46Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46Z1=1202020-06-30T18:50:46.5430145Z$Default + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + Priority = ''low''test_rule_1' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '463' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'low'202020-06-30T18:50:46.788293Ztest_rule_1 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''middle''test_rule_2' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '466' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'middle'202020-06-30T18:50:46.8820383Ztest_rule_2 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''high''test_rule_3' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '464' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'high'202020-06-30T18:50:46.9914207Ztest_rule_3 + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46Z1=1202020-06-30T18:50:46.5430145Z$Defaulthttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'low'202020-06-30T18:50:46.7940101Ztest_rule_1https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'middle'202020-06-30T18:50:46.8721397Ztest_rule_2https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'high'202020-06-30T18:50:46.9971132Ztest_rule_3 + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:46 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46Z1=1202020-06-30T18:50:46.5430145Z$Defaulthttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'low'202020-06-30T18:50:46.7940101Ztest_rule_1https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46ZPriority + = 'high'202020-06-30T18:50:46.9971132Ztest_rule_3 + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46Z1=1202020-06-30T18:50:46.5430145Z$Default + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:47 GMT + etag: + - '637291398460670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml new file mode 100644 index 000000000000..400bb12260a9 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml @@ -0,0 +1,312 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:50:48Z2020-06-30T18:50:48Zservicebustestlyyrbw5r62P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:48.637Z2020-06-30T18:50:48.73ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:48 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:50:49Z2020-06-30T18:50:49ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:49.1902752Z2020-06-30T18:50:49.1902752Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:49 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:49Z2020-06-30T18:50:49ZPriority + = 'low'202020-06-30T18:50:49.6280433Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:49 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:49Z2020-06-30T18:50:49ZPriority + = 'low'202020-06-30T18:50:49.6233773Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:49 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + Priority = ''low''2020-06-30T18:50:49.623377Ziewdm' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '507' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 + response: + body: + string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:81549065-6bfc-4aae-a1e5-8bf927204b3c_B7, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:50:49 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:50 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:50 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:50 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:50 GMT + etag: + - '637291398487300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml new file mode 100644 index 000000000000..8aaae91b3d33 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml @@ -0,0 +1,352 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:50:52Z2020-06-30T18:50:52Zservicebustestlyyrbw5r62P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:52.223Z2020-06-30T18:50:52.28ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:51 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:50:52Z2020-06-30T18:50:52ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:52.7357571Z2020-06-30T18:50:52.7357571Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + Priority = ''low''rule' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '456' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52ZPriority + = 'low'202020-06-30T18:50:52.9545539Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52ZPriority + = 'low'202020-06-30T18:50:52.9519489Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + testcidSET Priority = ''low''2020-06-30T18:50:52.951948Zrule' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '561' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:53Z2020-06-30T18:50:53ZtestcidSET Priority = 'low'202020-06-30T18:50:53.1420233Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52ZtestcidSET Priority = 'low'202020-06-30T18:50:52.9519489Zrule + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:52 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:50:53 GMT + etag: + - '637291398522800000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml new file mode 100644 index 000000000000..14843b16009d --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml @@ -0,0 +1,187 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:54:04Z2020-06-30T18:54:04ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:04.023Z2020-06-30T18:54:04.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:03 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:54:04Z2020-06-30T18:54:04ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:04.5119507Z2020-06-30T18:54:04.5119507Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:03 GMT + etag: + - '637291400440600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-06-30T18:54:04Z2020-06-30T18:54:04ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:04.5134972Z2020-06-30T18:54:04.5134972Z2020-06-30T18:54:04.5134972Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:03 GMT + etag: + - '637291400440600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:04 GMT + etag: + - '637291400440600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:04 GMT + etag: + - '637291400440600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml new file mode 100644 index 000000000000..686cc90e7293 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml @@ -0,0 +1,191 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:54:05Z2020-06-30T18:54:06ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:05.957Z2020-06-30T18:54:06.013ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:06 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:54:06Z2020-06-30T18:54:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:06.5261526Z2020-06-30T18:54:06.5261526Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:06 GMT + etag: + - '637291400460130000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:15e7c413-42b3-4a64-bb6b-ec921a22d3a6_B6, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:54:06 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:07 GMT + etag: + - '637291400460130000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:07 GMT + etag: + - '637291400460130000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:08 GMT + etag: + - '637291400460130000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml new file mode 100644 index 000000000000..b4fb9c9962cc --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml @@ -0,0 +1,187 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:54:08Z2020-06-30T18:54:08ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:08.903Z2020-06-30T18:54:08.963ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + PT13StruePT11Mtrue14truePT10M' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '619' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-06-30T18:54:09Z2020-06-30T18:54:09ZPT13StruePT11Mtruetrue014trueActive2020-06-30T18:54:09.4078128Z2020-06-30T18:54:09.4078128Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:09 GMT + etag: + - '637291400489630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-06-30T18:54:09Z2020-06-30T18:54:09ZPT13StruePT11Mtruetrue014trueActive2020-06-30T18:54:09.4197129Z2020-06-30T18:54:09.4197129Z2020-06-30T18:54:09.42Z00000PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:09 GMT + etag: + - '637291400489630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:09 GMT + etag: + - '637291400489630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:10 GMT + etag: + - '637291400489630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml new file mode 100644 index 000000000000..b34df6aba898 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml @@ -0,0 +1,418 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-06-30T18:54:10Z2020-06-30T18:54:11ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:10.99Z2020-06-30T18:54:11.027ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5229227Z2020-06-30T18:54:11.5229227Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:11Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.772929Z2020-06-30T18:54:11.772929Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:11Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:12Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:12Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:11 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:12 GMT + etag: + - '637291400510270000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml new file mode 100644 index 000000000000..c76a31793dbe --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml @@ -0,0 +1,187 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-06-30T18:54:13Z2020-06-30T18:54:13ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:13.187Z2020-06-30T18:54:13.243ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:12 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-06-30T18:54:13Z2020-06-30T18:54:13ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:13.7747013Z2020-06-30T18:54:13.7747013Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:13 GMT + etag: + - '637291400532430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-06-30T18:54:13Z2020-06-30T18:54:13ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:13.7729242Z2020-06-30T18:54:13.7729242Z2020-06-30T18:54:13.773Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:13 GMT + etag: + - '637291400532430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:13 GMT + etag: + - '637291400532430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:13 GMT + etag: + - '637291400532430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml new file mode 100644 index 000000000000..5952734fa015 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml @@ -0,0 +1,336 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-06-30T18:54:15Z2020-06-30T18:54:15ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:15.16Z2020-06-30T18:54:15.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:15Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T18:54:15Z2020-06-30T18:54:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.692401Z2020-06-30T18:54:15.692401Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T18:54:15Z2020-06-30T18:54:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.9736713Z2020-06-30T18:54:15.9736713Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:16Zhttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T18:54:15Z2020-06-30T18:54:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.7060312Z2020-06-30T18:54:15.7060312Z2020-06-30T18:54:15.707Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T18:54:15Z2020-06-30T18:54:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.9716555Z2020-06-30T18:54:15.9716555Z2020-06-30T18:54:15.9716555Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:16Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:15 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:16 GMT + etag: + - '637291400552100000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml new file mode 100644 index 000000000000..0afe7ad95cec --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-06-30T18:54:17Z2020-06-30T18:54:17ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:17.453Z2020-06-30T18:54:17.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:17 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.4987237Z2020-06-30T18:54:18.4987237Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Zhttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.503Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Zhttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.503Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:18 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:19 GMT + etag: + - '637291400575670000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml new file mode 100644 index 000000000000..a8c7eac78ac7 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml @@ -0,0 +1,241 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:54:19Z2020-06-30T18:54:19ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:19.9Z2020-06-30T18:54:19.977ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:19 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-06-30T18:54:20Z2020-06-30T18:54:20ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:20.4384195Z2020-06-30T18:54:20.4384195Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:19 GMT + etag: + - '637291400599770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:20.438419Z2020-06-30T18:54:20.438419Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 + response: + body: + string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a7a0ad93-a5f4-48c0-a310-5b2146ecb684_B10, + SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:54:20 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:20 GMT + etag: + - '637291400599770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: ' + + P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:20.438419Z2020-06-30T18:54:20.438419Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 + response: + body: + string: '400The supplied lock time exceeds the allowed + maximum of ''5'' minutes. To know more visit https://aka.ms/sbResourceMgrExceptions. + + + Parameter name: LockDuration + + Actual value was 25.00:00:00. TrackingId:eebe0ef8-6874-4163-b79a-2557a2e8348f_G1, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-06-30T18:54:21' + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:21 GMT + etag: + - '637291400599770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:22 GMT + etag: + - '637291400599770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:22 GMT + etag: + - '637291400599770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml new file mode 100644 index 000000000000..9a94ccf68dea --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml @@ -0,0 +1,315 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:54:23Z2020-06-30T18:54:23ZservicebustestejukatflviP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:23.88Z2020-06-30T18:54:23.94ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:24.4011315Z2020-06-30T18:54:24.4011315Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.401131Z2020-06-30T18:54:24.401131Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1015' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.6824391Z2020-06-30T18:54:24.6824391Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.4093405Z2020-06-30T18:54:24.6905838Z2020-06-30T18:54:24.41Z00000P10675199DT2H48M5.477539SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.40934Z2020-06-30T18:54:24.690583Z2020-06-30T18:54:24.410Z00000PT10MAvailable' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1378' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.82303Z2020-06-30T18:54:24.82303Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.4093405Z2020-06-30T18:54:24.831258Z2020-06-30T18:54:24.41Z00000PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:24 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:54:25 GMT + etag: + - '637291400639400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml new file mode 100644 index 000000000000..0b9dd8838ab6 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml @@ -0,0 +1,112 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:56:04Z2020-06-30T18:56:04Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:04.363Z2020-06-30T18:56:04.4ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:04 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-06-30T18:56:04Z2020-06-30T18:56:04Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:04.363Z2020-06-30T18:56:04.4Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:04 GMT + etag: + - '637291401644000000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:04 GMT + etag: + - '637291401644000000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml new file mode 100644 index 000000000000..599092254ae4 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml @@ -0,0 +1,117 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:56:05Z2020-06-30T18:56:05Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:05.893Z2020-06-30T18:56:05.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:06 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: 409SubCode=40900. Conflict. You're requesting + an operation that isn't allowed in the resource's current state. To know more + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:cf33b60a-1456-4723-ac8c-78b4eeba13af_G6, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-06-30T18:56:06 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:06 GMT + etag: + - '637291401659700000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:06 GMT + etag: + - '637291401659700000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml new file mode 100644 index 000000000000..f49e6401388a --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml @@ -0,0 +1,112 @@ +interactions: +- request: + body: ' + + PT11M3072PT12MtruetruePT10Mtruetruetrue' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '745' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:56:07Z2020-06-30T18:56:07Zservicebustestuom474eqekPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T18:56:07.8Z2020-06-30T18:56:07.923ZfalsePT10MtrueAvailabletruetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:07 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T18:56:07Z2020-06-30T18:56:07Zservicebustestuom474eqekPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T18:56:07.8Z2020-06-30T18:56:07.923Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:07 GMT + etag: + - '637291401679230000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:08 GMT + etag: + - '637291401679230000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml new file mode 100644 index 000000000000..95b5f0041917 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml @@ -0,0 +1,362 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:10Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:12Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:11 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:11 GMT + etag: + - '637291401698330000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:11 GMT + etag: + - '637291401698330000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:13Zhttps://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:12 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:12 GMT + etag: + - '637291401713570000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:12 GMT + etag: + - '637291401713570000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:14Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml new file mode 100644 index 000000000000..fbb49c4dfa3a --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml @@ -0,0 +1,112 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:15Z2020-06-30T18:56:15Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:15.1Z2020-06-30T18:56:15.157ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:15 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T18:56:15Z2020-06-30T18:56:15Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:15.1Z2020-06-30T18:56:15.157Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:15 GMT + etag: + - '637291401751570000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:16 GMT + etag: + - '637291401751570000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml new file mode 100644 index 000000000000..48d85e26f92e --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml @@ -0,0 +1,247 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:16Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:16 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.05Z2020-06-30T18:56:17.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.917Z2020-06-30T18:56:17.95ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:18 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:18Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.05Z2020-06-30T18:56:17.143Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestuom474eqek.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.917Z2020-06-30T18:56:17.95Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:18 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:19 GMT + etag: + - '637291401771430000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:19 GMT + etag: + - '637291401779500000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:20Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml new file mode 100644 index 000000000000..1d3c98896a14 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml @@ -0,0 +1,232 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:21Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:21Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:21 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:22Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:21 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:23Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:22 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:22 GMT + etag: + - '637291401820970000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:24Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:23 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml new file mode 100644 index 000000000000..3742eea0aef5 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:56:24Z2020-06-30T18:56:24Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:24.92Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:24.920Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1195' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 + response: + body: + string: 404SubCode=40400. Not Found. The Operation + doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. + . TrackingId:e3119953-921c-44e8-a65b-a43649379a31_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-06-30T18:56:26 + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: ' + + P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-06-30T18:56:24.920Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1194' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '400SubCode=40000. The value supplied must + be between 00:00:20 and 7.00:00:00. + + Parameter name: DuplicateDetectionHistoryTimeWindow + + Actual value was 25.00:00:00. TrackingId:cac815a6-ca26-41fa-8364-5c5fde7d8f31_G3, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T18:56:26' + headers: + content-type: + - application/xml; charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:25 GMT + etag: + - '637291401849630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:26 GMT + etag: + - '637291401849630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml new file mode 100644 index 000000000000..94a9c0727d20 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml @@ -0,0 +1,243 @@ +interactions: +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:27Zservicebustestuom474eqekP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:27 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + PT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.320Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1174' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:27Zservicebustestuom474eqekPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:27 GMT + etag: + - '637291401873970000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:27Zservicebustestuom474eqekPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:27 GMT + etag: + - '637291401878970000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.320Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1646' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:28Zservicebustestuom474eqekPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:28 GMT + etag: + - '637291401878970000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:28Zservicebustestuom474eqekPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.32Z2020-06-30T18:56:28.03Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 30 Jun 2020 18:56:28 GMT + etag: + - '637291401880300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 30 Jun 2020 18:56:28 GMT + etag: + - '637291401880300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py index 00dfd5434e88..1557e0d44f00 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py @@ -78,8 +78,8 @@ def test_mgmt_queue_list_with_special_chars(self, servicebus_namespace_connectio @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_with_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_parameters(MgmtQueueListTestHelper(mgmt_service)) @@ -116,8 +116,8 @@ def test_mgmt_queue_list_with_negative_credential(self, servicebus_namespace, se @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_with_negative_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_negative_parameters(MgmtQueueListTestHelper(mgmt_service)) @@ -416,15 +416,15 @@ def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connectio @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_negative_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - @pytest.mark.skip("start_idx and max_count are currently removed, they might come back in the future.") def test_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): + pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) From 87554485acf193075425f6b29ab0406d48c8b1fc Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Tue, 30 Jun 2020 12:18:07 -0700 Subject: [PATCH 14/21] Update msrest dependency to 0.6.17 --- sdk/servicebus/azure-servicebus/setup.py | 2 +- shared_requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/setup.py b/sdk/servicebus/azure-servicebus/setup.py index 230dee7da35a..1ccc94d396db 100644 --- a/sdk/servicebus/azure-servicebus/setup.py +++ b/sdk/servicebus/azure-servicebus/setup.py @@ -81,7 +81,7 @@ 'uamqp>=1.2.8,<2.0.0', 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'msrest>=0.6.15,<2.0.0', + 'msrest>=0.6.17,<2.0.0', 'azure-core<2.0.0,>=1.6.0' ], extras_require={ diff --git a/shared_requirements.txt b/shared_requirements.txt index 70acf0e54fe9..bc6e658c6c51 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -145,6 +145,6 @@ opentelemetry-api==0.8b0 #override azure-eventhub uamqp<2.0,>=1.2.7 #override azure-appconfiguration msrest>=0.6.10 #override azure-servicebus uamqp>=1.2.8,<2.0.0 -#override azure-servicebus msrest>=0.6.15,<2.0.0 +#override azure-servicebus msrest>=0.6.17,<2.0.0 #override azure-servicebus azure-core<2.0.0,>=1.6.0 #override azure-search-documents msrest>=0.6.10 From ce77f0328c4b940210fdfdbe185b6bbc0fd7d133 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Tue, 30 Jun 2020 22:46:39 -0700 Subject: [PATCH 15/21] Fix code review feedback --- .../management/_management_client_async.py | 289 +++++----- .../azure/servicebus/aio/management/_utils.py | 97 +++- .../azure/servicebus/management/_constants.py | 4 + .../management/_management_client.py | 244 ++++----- .../management/_model_workaround.py | 8 +- .../azure/servicebus/management/_models.py | 508 +++++++++--------- .../azure/servicebus/management/_utils.py | 16 +- .../management/_xml_workaround_policy.py | 28 +- .../mgmt_tests/test_mgmt_queues_async.py | 8 +- .../mgmt_tests/test_mgmt_rules_async.py | 4 +- .../test_mgmt_subscriptions_async.py | 4 +- .../mgmt_tests/test_mgmt_topics_async.py | 4 +- .../tests/mgmt_tests/test_mgmt_queues.py | 8 +- .../tests/mgmt_tests/test_mgmt_rules.py | 4 +- .../mgmt_tests/test_mgmt_subscriptions.py | 4 +- .../tests/mgmt_tests/test_mgmt_topics.py | 4 +- 16 files changed, 642 insertions(+), 592 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 8cf8351da9c9..0270fffe6736 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -6,8 +6,9 @@ # pylint:disable=specify-parameter-names-in-call import functools from copy import copy -from typing import TYPE_CHECKING, Dict, Any, Union, cast +from typing import TYPE_CHECKING, Any, Union, cast from xml.etree.ElementTree import ElementTree +from datetime import timedelta from azure.core.async_paging import AsyncItemPaged from azure.servicebus.aio.management._utils import extract_data_template, get_next_template @@ -50,11 +51,13 @@ class ServiceBusManagementClient: #pylint:disable=too-many-public-methods :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. :param credential: To authenticate to manage the entities of the ServiceBus namespace. - :type credential: Union[TokenCredential, ServiceBusSharedKeyCredential] + :type credential: Union[AsyncTokenCredential, ~azure.servicebus.aio.ServiceBusSharedKeyCredential] """ - def __init__(self, fully_qualified_namespace, credential, **kwargs): - # type: (str, Union[AsyncTokenCredential, ServiceBusSharedKeyCredential], Dict[str, Any]) -> None + def __init__( + self, fully_qualified_namespace: str, + credential: Union["AsyncTokenCredential", ServiceBusSharedKeyCredential], + **kwargs) -> None: self.fully_qualified_namespace = fully_qualified_namespace self._credential = credential @@ -96,19 +99,6 @@ def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use transport = AioHttpTransport(**kwargs) return AsyncPipeline(transport, policies) - @classmethod - def from_connection_string(cls, conn_str, **kwargs): - # type: (str, Any) -> ServiceBusManagementClient - """Create a client from connection string. - - :param str conn_str: The connection string of the Service Bus Namespace. - :rtype: ~azure.servicebus.management.aio.ServiceBusManagementClient - """ - endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) - if "//" in endpoint: - endpoint = endpoint[endpoint.index("//")+2:] - return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) - async def _get_entity_element(self, entity_name, enrich=False, **kwargs): # type: (str, bool, Any) -> ElementTree @@ -141,8 +131,21 @@ async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kw ) return element + @classmethod + def from_connection_string(cls, conn_str, **kwargs): + # type: (str, Any) -> ServiceBusManagementClient + """Create a client from connection string. + + :param str conn_str: The connection string of the Service Bus Namespace. + :rtype: ~azure.servicebus.management.aio.ServiceBusManagementClient + """ + endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) + if "//" in endpoint: + endpoint = endpoint[endpoint.index("//")+2:] + return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) + async def get_queue(self, queue_name: str, **kwargs) -> QueueDescription: - """Get a QueueDescription. + """Get the properties of a queue. :param str queue_name: The name of the queue. :rtype: ~azure.servicebus.management.QueueDescription @@ -151,9 +154,8 @@ async def get_queue(self, queue_name: str, **kwargs) -> QueueDescription: entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) - queue_description = QueueDescription._from_internal_entity( + queue_description = QueueDescription._from_internal_entity(queue_name, entry.content.queue_description) - queue_description.name = queue_name return queue_description async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntimeInfo: @@ -166,17 +168,16 @@ async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntim entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) - runtime_info = QueueRuntimeInfo._from_internal_entity( + runtime_info = QueueRuntimeInfo._from_internal_entity(queue_name, entry.content.queue_description) - runtime_info.name = queue_name return runtime_info async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> QueueDescription: """Create a queue. :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name - of the created queue. Other properties of the created queue will have default values decided by the - ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. + of the created queue. Other properties of the created queue will have default values as defined by the + service. Use a `QueueDescription` if you want to set queue properties other than the queue name. :type queue: Union[str, ~azure.servicebus.management.QueueDescription] :rtype: ~azure.servicebus.management.QueueDescription """ @@ -202,40 +203,44 @@ async def create_queue(self, queue: Union[str, QueueDescription], **kwargs) -> Q ) entry = QueueDescriptionEntry.deserialize(entry_ele) - result = QueueDescription._from_internal_entity( + result = QueueDescription._from_internal_entity(queue_name, entry.content.queue_description) - result.name = queue_name return result - async def update_queue(self, queue_description: QueueDescription, **kwargs) -> None: + async def update_queue( + self, queue: QueueDescription, + *, + default_message_time_to_live: timedelta = None, + lock_duration: timedelta = None, + dead_lettering_on_message_expiration: bool = None, + duplicate_detection_history_time_window: timedelta = None, + max_delivery_count: int = None, + **kwargs) -> None: """Update a queue. - :param queue_description: The properties of this `QueueDescription` will be applied to the queue in + :param queue: The properties of this `QueueDescription` will be applied to the queue in ServiceBus. Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. - :type queue_description: ~azure.servicebus.management.QueueDescription + :type queue: ~azure.servicebus.management.QueueDescription :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta lock_duration: The value you want to update to. :keyword bool dead_lettering_on_message_expiration: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :keyword int max_delivery_count: The value you want to update to. - :rtype: ~azure.servicebus.management.QueueDescription + :rtype: None """ - if not isinstance(queue_description, QueueDescription): - raise TypeError("queue_description must be of type QueueDescription") - - internal_description = queue_description._to_internal_entity() + internal_description = queue._to_internal_entity() to_update = copy(internal_description) - to_update.default_message_time_to_live = kwargs.get( - "default_message_time_to_live") or queue_description.default_message_time_to_live - to_update.lock_duration = kwargs.get("lock_duration") or queue_description.lock_duration - to_update.dead_lettering_on_message_expiration = kwargs.get( - "dead_lettering_on_message_expiration") or queue_description.dead_lettering_on_message_expiration - to_update.duplicate_detection_history_time_window = kwargs.get( - "duplicate_detection_history_time_window") or queue_description.duplicate_detection_history_time_window - to_update.max_delivery_count = kwargs.get("max_delivery_count") or queue_description.max_delivery_count + to_update.default_message_time_to_live = default_message_time_to_live \ + or queue.default_message_time_to_live + to_update.lock_duration = lock_duration or queue.lock_duration + to_update.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration \ + or queue.dead_lettering_on_message_expiration + to_update.duplicate_detection_history_time_window = duplicate_detection_history_time_window or \ + queue.duplicate_detection_history_time_window + to_update.max_delivery_count = max_delivery_count or queue.max_delivery_count to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -248,7 +253,7 @@ async def update_queue(self, queue_description: QueueDescription, **kwargs) -> N request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): await self._impl.entity.put( - queue_description.name, # type: ignore + queue.name, # type: ignore request_body, api_version=constants.API_VERSION, if_match="*", @@ -274,12 +279,12 @@ async def delete_queue(self, queue: Union[str, QueueDescription], **kwargs) -> N def list_queues(self, **kwargs) -> AsyncItemPaged[QueueDescription]: """List the queues of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] + :returns: An iterable (auto-paging) response of QueueDescription. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.QueueDescription] """ def entry_to_qd(entry): - qd = QueueDescription._from_internal_entity(entry.content.queue_description) - qd.name = entry.title + qd = QueueDescription._from_internal_entity(entry.title, entry.content.queue_description) return qd extract_data = functools.partial( @@ -292,14 +297,14 @@ def entry_to_qd(entry): get_next, extract_data) def list_queues_runtime_info(self, **kwargs) -> AsyncItemPaged[QueueRuntimeInfo]: - """List the runtime info of the queues in a ServiceBus namespace. + """List the runtime information of the queues in a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] + :returns: An iterable (auto-paging) response of QueueRuntimeInfo. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ def entry_to_qr(entry): - qd = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) - qd.name = entry.title + qd = QueueRuntimeInfo._from_internal_entity(entry.title, entry.content.queue_description) return qd extract_data = functools.partial( @@ -312,7 +317,7 @@ def entry_to_qr(entry): get_next, extract_data) async def get_topic(self, topic_name: str, **kwargs) -> TopicDescription: - """Get a TopicDescription. + """Get the properties of a topic. :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicDescription @@ -321,12 +326,11 @@ async def get_topic(self, topic_name: str, **kwargs) -> TopicDescription: entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic '{}' does not exist".format(topic_name)) - topic_description = TopicDescription._from_internal_entity(entry.content.topic_description) - topic_description.name = topic_name + topic_description = TopicDescription._from_internal_entity(topic_name, entry.content.topic_description) return topic_description async def get_topic_runtime_info(self, topic_name: str, **kwargs) -> TopicRuntimeInfo: - """Get a TopicRuntimeInfo + """Get the runtime information of a topic. :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicRuntimeInfo @@ -335,8 +339,7 @@ async def get_topic_runtime_info(self, topic_name: str, **kwargs) -> TopicRuntim entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) - topic_description = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) - topic_description.name = topic_name + topic_description = TopicRuntimeInfo._from_internal_entity(topic_name, entry.content.topic_description) return topic_description async def create_topic(self, topic: Union[str, TopicDescription], **kwargs) -> TopicDescription: @@ -344,7 +347,7 @@ async def create_topic(self, topic: Union[str, TopicDescription], **kwargs) -> T :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic name or a `TopicDescription` instance. When it's a str, it will be the name of the created topic. Other properties of the created topic - will have default values decided by the ServiceBus. + will have default values as defined by the service. Use a `TopicDescription` if you want to set queue properties other than the queue name. :rtype: ~azure.servicebus.management.TopicDescription """ @@ -369,11 +372,15 @@ async def create_topic(self, topic: Union[str, TopicDescription], **kwargs) -> T request_body, api_version=constants.API_VERSION, **kwargs) ) entry = TopicDescriptionEntry.deserialize(entry_ele) - result = TopicDescription._from_internal_entity(entry.content.topic_description) - result.name = topic_name + result = TopicDescription._from_internal_entity(topic_name, entry.content.topic_description) return result - async def update_topic(self, topic_description: TopicDescription, **kwargs) -> None: + async def update_topic( + self, topic: TopicDescription, + *, + default_message_time_to_live: timedelta = None, + duplicate_detection_history_time_window: timedelta = None, + **kwargs) -> None: """Update a topic. Before calling this method, you should use `get_topic` to get a `TopicDescription` instance, then use the @@ -381,22 +388,19 @@ async def update_topic(self, topic_description: TopicDescription, **kwargs) -> N Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic. - :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. + :param ~azure.servicebus.management.TopicDescription topic: The topic to be updated. :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :rtype: None """ - if not isinstance(topic_description, TopicDescription): - raise TypeError("topic_description must be of type TopicDescription") - - internal_description = topic_description._to_internal_entity() + internal_description = topic._to_internal_entity() to_update = copy(internal_description) - to_update.default_message_time_to_live = kwargs.get( - "default_message_time_to_live") or topic_description.default_message_time_to_live - to_update.duplicate_detection_history_time_window = kwargs.get( - "duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + to_update.default_message_time_to_live = default_message_time_to_live or \ + topic.default_message_time_to_live + to_update.duplicate_detection_history_time_window = duplicate_detection_history_time_window or \ + topic.duplicate_detection_history_time_window to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -409,7 +413,7 @@ async def update_topic(self, topic_description: TopicDescription, **kwargs) -> N request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): await self._impl.entity.put( - topic_description.name, # type: ignore + topic.name, # type: ignore request_body, api_version=constants.API_VERSION, if_match="*", @@ -419,7 +423,7 @@ async def update_topic(self, topic_description: TopicDescription, **kwargs) -> N async def delete_topic(self, topic: Union[str, TopicDescription], **kwargs) -> None: """Delete a topic. - :param Union[str, TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic to be deleted. :rtype: None """ try: @@ -431,11 +435,11 @@ async def delete_topic(self, topic: Union[str, TopicDescription], **kwargs) -> N def list_topics(self, **kwargs) -> AsyncItemPaged[TopicDescription]: """List the topics of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] + :returns: An iterable (auto-paging) response of TopicDescription. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): - topic = TopicDescription._from_internal_entity(entry.content.topic_description) - topic.name = entry.title + topic = TopicDescription._from_internal_entity(entry.title, entry.content.topic_description) return topic extract_data = functools.partial( @@ -448,13 +452,13 @@ def entry_to_topic(entry): get_next, extract_data) def list_topics_runtime_info(self, **kwargs) -> AsyncItemPaged[TopicRuntimeInfo]: - """List the topics runtime info of a ServiceBus namespace. + """List the topics runtime information of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] + :returns: An iterable (auto-paging) response of TopicRuntimeInfo. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): - topic = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) - topic.name = entry.title + topic = TopicRuntimeInfo._from_internal_entity(entry.title, entry.content.topic_description) return topic extract_data = functools.partial( @@ -469,9 +473,9 @@ def entry_to_topic(entry): async def get_subscription( self, topic: Union[str, TopicDescription], subscription_name: str, **kwargs ) -> SubscriptionDescription: - """Get a topic subscription. + """Get the properties of a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionDescription """ @@ -484,8 +488,7 @@ async def get_subscription( if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionDescription._from_internal_entity(entry.title, entry.content.subscription_description) return subscription async def get_subscription_runtime_info( @@ -493,7 +496,7 @@ async def get_subscription_runtime_info( ) -> SubscriptionRuntimeInfo: """Get a topic subscription runtime info. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ @@ -506,19 +509,19 @@ async def get_subscription_runtime_info( if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.title, entry.content.subscription_description) return subscription async def create_subscription( self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], **kwargs ) -> SubscriptionDescription: - """ + """Create a topic subscription. - :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the + to-be-created subscription. :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription name or a `SubscriptionDescription` instance. When it's a str, it will be the name of the created subscription. - Other properties of the created subscription will have default values decided by the ServiceBus. + Other properties of the created subscription will have default values as defined by the service. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -548,21 +551,20 @@ async def create_subscription( ) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) - result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - result.name = subscription_name + result = SubscriptionDescription._from_internal_entity( + subscription_name, entry.content.subscription_description) return result async def update_subscription( - self, topic: Union[str, TopicDescription], subscription_description: SubscriptionDescription, **kwargs + self, topic: Union[str, TopicDescription], subscription: SubscriptionDescription, **kwargs ) -> None: """Update a subscription. Before calling this method, you should use `get_subscription` to get a `SubscriptionDescription` instance, then update the related attributes and call this method. Only a portion of properties can be updated. - Refer to TODO: to add the doc link that describes what can be updated. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param ~azure.servicebus.management.SubscriptionDescription subscription: The subscription to be updated. :rtype: None """ @@ -570,10 +572,8 @@ async def update_subscription( topic_name = topic.name # type: ignore except AttributeError: topic_name = topic - if not isinstance(subscription_description, SubscriptionDescription): - raise TypeError("subscription_description must be of type SubscriptionDescription") - internal_description = subscription_description._to_internal_entity() + internal_description = subscription._to_internal_entity() to_update = copy(internal_description) to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) @@ -588,7 +588,7 @@ async def update_subscription( with _handle_response_error(): await self._impl.subscription.put( topic_name, - subscription_description.name, + subscription.name, request_body, api_version=constants.API_VERSION, if_match="*", @@ -600,8 +600,9 @@ async def delete_subscription( ) -> None: """Delete a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription to be deleted. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription + to be deleted. :rtype: None """ try: @@ -619,7 +620,8 @@ def list_subscriptions( """List the subscriptions of a ServiceBus Topic. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] + :returns: An iterable (auto-paging) response of SubscriptionDescription. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: topic_name = topic.name # type: ignore @@ -627,8 +629,8 @@ def list_subscriptions( topic_name = topic def entry_to_subscription(entry): - subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionDescription._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription extract_data = functools.partial( @@ -642,10 +644,11 @@ def entry_to_subscription(entry): def list_subscriptions_runtime_info( self, topic: Union[str, TopicDescription], **kwargs) -> AsyncItemPaged[SubscriptionRuntimeInfo]: - """List the subscriptions of a ServiceBus Topic Runtime Information. + """List the subscriptions runtime information of a ServiceBus. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :returns: An iterable (auto-paging) response of SubscriptionRuntimeInfo. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: topic_name = topic.name # type: ignore @@ -653,8 +656,8 @@ def list_subscriptions_runtime_info( topic_name = topic def entry_to_subscription(entry): - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionRuntimeInfo._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription extract_data = functools.partial( @@ -669,10 +672,11 @@ def entry_to_subscription(entry): async def get_rule( self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], rule_name: str, **kwargs) -> RuleDescription: - """Get a topic subscription rule + """Get the properties of a topic subscription rule. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rule. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the rule. :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleDescription """ @@ -690,19 +694,20 @@ async def get_rule( raise ResourceNotFoundError( "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format( subscription_name, topic_name, rule_name)) - rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) + rule_description = RuleDescription._from_internal_entity(rule_name, entry.content.rule_description) return rule_description async def create_rule( self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], - rule: Union[str, RuleDescription], **kwargs) -> RuleDescription: - """Create a subscription of a topic. - - :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. - :param Union[str, SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. - :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The rule name or a - `RuleDescription` instance. When it's a str, it will be the name of the created rule. - Other properties of the created rule will have default values decided by the ServiceBus + rule: RuleDescription, **kwargs) -> RuleDescription: + """Create a rule for a topic subscription. + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the + to-be-created subscription rule. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + will own the to-be-created rule. + :param ~azure.servicebus.management.RuleDescription rule: The rule to be created. + Other properties of the created rule will have default values as defined by the service. :rtype: ~azure.servicebus.management.RuleDescription """ try: @@ -713,12 +718,8 @@ async def create_rule( subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription - try: - rule_name = rule.name # type: ignore - to_create = rule._to_internal_entity() # type: ignore - except AttributeError: - rule_name = rule - to_create = InternalRuleDescription() # Use an empty queue description. + rule_name = rule.name + to_create = rule._to_internal_entity() create_entity_body = CreateRuleBody( content=CreateRuleBodyContent( @@ -738,23 +739,20 @@ async def create_rule( async def update_rule( self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], - rule_description: RuleDescription, **kwargs) -> None: + rule: RuleDescription, **kwargs) -> None: """Update a rule. Before calling this method, you should use `get_rule` to get a `RuleDescription` instance, then update the related attributes and call this method. Only a portion of properties can be updated. - Refer to TODO: to add the doc link that describes what can be updated. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns this rule. - :param ~azure.servicebus.management.RuleDescription rule_description: The rule to be updated. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns this rule. + :param ~azure.servicebus.management.RuleDescription rule: The rule to be updated. :rtype: None """ - if not isinstance(rule_description, RuleDescription): - raise TypeError("rule_description must be of type RuleDescription") - try: topic_name = topic.name # type: ignore except AttributeError: @@ -764,7 +762,7 @@ async def update_rule( except AttributeError: subscription_name = subscription - internal_description = rule_description._to_internal_entity() + internal_description = rule._to_internal_entity() to_update = copy(internal_description) create_entity_body = CreateRuleBody( @@ -777,7 +775,7 @@ async def update_rule( await self._impl.rule.put( topic_name, subscription_name, - rule_description.name, + rule.name, request_body, api_version=constants.API_VERSION, if_match="*", @@ -789,9 +787,10 @@ async def delete_rule( rule: Union[str, RuleDescription], **kwargs) -> None: """Delete a topic subscription rule. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the topic. - :param Union[str, RuleDescription] rule: The to-be-deleted rule. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the topic. + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The to-be-deleted rule. :rtype: None """ try: @@ -810,13 +809,15 @@ async def delete_rule( topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) def list_rules( - self, topic: Union[str, TopicDescription], subscription: Union[str, RuleDescription], **kwargs + self, topic: Union[str, TopicDescription], subscription: Union[str, SubscriptionDescription], **kwargs ) -> AsyncItemPaged[RuleDescription]: """List the rules of a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. - :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the rules. + :returns: An iterable (auto-paging) response of RuleDescription. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.RuleDescription] """ try: topic_name = topic.name # type: ignore @@ -829,7 +830,7 @@ def list_rules( def entry_to_rule(entry): rule = entry.content.rule_description - return RuleDescription._from_internal_entity(rule) + return RuleDescription._from_internal_entity(entry.title, rule) extract_data = functools.partial( extract_data_template, RuleDescriptionFeed, entry_to_rule @@ -843,7 +844,7 @@ def entry_to_rule(entry): async def get_namespace_properties(self, **kwargs) -> NamespaceProperties: """Get the namespace properties - :rtype: NamespaceProperties + :rtype: ~azure.servicebus.management.NamespaceProperties """ entry_el = await self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py index 17cc78071d86..ae1c6c5563fa 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py @@ -11,30 +11,97 @@ from azure.servicebus.management import _constants as constants from ...management._handle_response_error import _handle_response_error +# This module defines functions get_next_template and extract_data_template. +# Application code uses functools.partial to substantialize their params and builds an +# azure.core.async_paging.AsyncItemPaged instance with the two substantialized functions. + +# The following is an ATOM feed XML list of QueueDescription with page size = 2. +# Tag has 2 (the page size) children tags. +# Tag tells the link to the next page. +# The whole XML will be deserialized into an XML ElementTree. +# Then model class QueueDescriptionFeed deserializes the ElementTree into a QueueDescriptionFeed instance. +# (QueueDescriptionFeed is defined in file ../../management/_generated/models/_models.py and _models_py3.py) +# Function get_next_template gets the next page of XML data like this one and returns the ElementTree. +# Function extract_data_template deserialize data from the ElementTree and provide link to the next page. +# azure.core.async_paging.AsyncItemPaged orchestrates the data flow between them. + +# +# Queues +# https://servicebusname.servicebus.windows.net/$Resources/queues?$skip=0&$top=2&api-version=2017-04 +# 2020-06-30T23:49:41Z +# +# +# +# +# https://servicebusname.servicebus.windows.net/5?api-version=2017-04 +# 5 +# 2020-06-05T00:24:34Z +# 2020-06-25T05:57:29Z +# +# servicebusname +# +# +# +# +# ... +# +# +# +# +# https://servicebusname.servicebus.windows.net/6?api-version=2017-04 +# 6 +# 2020-06-15T19:49:35Z +# 2020-06-15T19:49:35Z +# +# servicebusname +# +# +# +# +# ... +# +# +# +# async def extract_data_template(feed_class, convert, feed_element): + """A function that will be partialized to build a function used by AsyncItemPaged. + + It deserializes the ElementTree returned from function `get_next_template`, returns data in an iterator and + the link to next page. + + azure.core.async_paging.AsyncItemPaged will use the returned next page to call a partial function created + from `get_next_template` to fetch data of next page. + + """ deserialized = feed_class.deserialize(feed_element) list_of_qd = [convert(x) if convert else x for x in deserialized.entry] next_link = None - if deserialized.link and len(deserialized.link) == 2: + # when the response xml has two tags, the 2nd if the next-page link. + if deserialized.link and len(deserialized.link) == 2: next_link = deserialized.link[1].href - return next_link, iter(list_of_qd) - + return next_link, iter(list_of_qd) # when next_page is None, AsyncPagedItem will stop fetch next page data. -async def get_next_template(list_func, *args, **kwargs): - if args: - next_link = args[0] - else: - next_link = kwargs.pop("next_link") - start_index = kwargs.pop("start_index", 0) - max_page_size = kwargs.pop("max_page_size", 100) +async def get_next_template(list_func, *args, start_index=0, max_page_size=100, **kwargs): + """Call list_func to get the XML data and deserialize it to XML ElementTree. + + azure.core.async_paging.AsyncItemPaged will call `extract_data_template` and use the returned + XML ElementTree to call a partial function created from `extrat_data_template`. + + """ api_version = constants.API_VERSION - if next_link: - queries = urlparse.parse_qs(urlparse.urlparse(next_link).query) - start_index = int(queries['$skip'][0]) - max_page_size = int(queries['$top'][0]) - api_version = queries['api-version'][0] + if args[0]: # It's next link. It's None for the first page. + queries = urlparse.parse_qs(urlparse.urlparse(args[0]).query) + start_index = int(queries[constants.LIST_OP_SKIP][0]) + max_page_size = int(queries[constants.LIST_OP_TOP][0]) + api_version = queries[constants.API_VERSION_PARAM_NAME][0] with _handle_response_error(): feed_element = cast( ElementTree, diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py index d1a73b6cfc14..8762bd46eca9 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_constants.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +API_VERSION_PARAM_NAME = "api-version" API_VERSION = "2017-04" ENTRY_TAG = "{http://www.w3.org/2005/Atom}entry" CONTENT_TAG = "{http://www.w3.org/2005/Atom}content" @@ -12,3 +13,6 @@ ENTITY_TYPE_QUEUES = "queues" ENTITY_TYPE_TOPICS = "topics" + +LIST_OP_SKIP = "$skip" +LIST_OP_TOP = "$top" diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 348c98930c0c..19a43c32f156 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -48,7 +48,7 @@ class ServiceBusManagementClient: # pylint:disable=too-many-public-methods :param str fully_qualified_namespace: The fully qualified host name for the Service Bus namespace. :param credential: To authenticate to manage the entities of the ServiceBus namespace. - :type credential: Union[TokenCredential, ServiceBusSharedKeyCredential] + :type credential: Union[TokenCredential, azure.servicebus.ServiceBusSharedKeyCredential] """ def __init__(self, fully_qualified_namespace, credential, **kwargs): @@ -92,19 +92,6 @@ def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use transport = RequestsTransport(**kwargs) return Pipeline(transport, policies) - @classmethod - def from_connection_string(cls, conn_str, **kwargs): - # type: (str, Any) -> ServiceBusManagementClient - """Create a client from connection string. - - :param str conn_str: The connection string of the Service Bus Namespace. - :rtype: ~azure.servicebus.management.ServiceBusManagementClient - """ - endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) - if "//" in endpoint: - endpoint = endpoint[endpoint.index("//") + 2:] - return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) - def _get_entity_element(self, entity_name, enrich=False, **kwargs): # type: (str, bool, Any) -> ElementTree @@ -137,9 +124,22 @@ def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): ) return element + @classmethod + def from_connection_string(cls, conn_str, **kwargs): + # type: (str, Any) -> ServiceBusManagementClient + """Create a client from connection string. + + :param str conn_str: The connection string of the Service Bus Namespace. + :rtype: ~azure.servicebus.management.ServiceBusManagementClient + """ + endpoint, shared_access_key_name, shared_access_key, _ = parse_conn_str(conn_str) + if "//" in endpoint: + endpoint = endpoint[endpoint.index("//") + 2:] + return cls(endpoint, ServiceBusSharedKeyCredential(shared_access_key_name, shared_access_key), **kwargs) + def get_queue(self, queue_name, **kwargs): # type: (str, Any) -> QueueDescription - """Get a QueueDescription. + """Get the properties of a queue. :param str queue_name: The name of the queue. :rtype: ~azure.servicebus.management.QueueDescription @@ -148,8 +148,7 @@ def get_queue(self, queue_name, **kwargs): entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue '{}' does not exist".format(queue_name)) - queue_description = QueueDescription._from_internal_entity(entry.content.queue_description) - queue_description.name = queue_name + queue_description = QueueDescription._from_internal_entity(queue_name, entry.content.queue_description) return queue_description def get_queue_runtime_info(self, queue_name, **kwargs): @@ -163,8 +162,7 @@ def get_queue_runtime_info(self, queue_name, **kwargs): entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) - runtime_info = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) - runtime_info.name = queue_name + runtime_info = QueueRuntimeInfo._from_internal_entity(queue_name, entry.content.queue_description) return runtime_info def create_queue(self, queue, **kwargs): @@ -172,8 +170,8 @@ def create_queue(self, queue, **kwargs): """Create a queue. :param queue: The queue name or a `QueueDescription` instance. When it's a str, it will be the name - of the created queue. Other properties of the created queue will have default values decided by the - ServiceBus. Use a `QueueDescription` if you want to set queue properties other than the queue name. + of the created queue. Other properties of the created queue will have default values as defined by the + service. Use a `QueueDescription` if you want to set queue properties other than the queue name. :type queue: Union[str, ~azure.servicebus.management.QueueDescription] :rtype: ~azure.servicebus.management.QueueDescription """ @@ -199,11 +197,10 @@ def create_queue(self, queue, **kwargs): ) entry = QueueDescriptionEntry.deserialize(entry_ele) - result = QueueDescription._from_internal_entity(entry.content.queue_description) - result.name = queue_name + result = QueueDescription._from_internal_entity(queue_name, entry.content.queue_description) return result - def update_queue(self, queue_description, **kwargs): + def update_queue(self, queue, **kwargs): # type: (QueueDescription, Any) -> None """Update a queue. @@ -212,30 +209,27 @@ def update_queue(self, queue_description, **kwargs): Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue. - :param queue_description: The queue to be updated. - :type queue_description: ~azure.servicebus.management.QueueDescription + :param queue: The queue to be updated. + :type queue: ~azure.servicebus.management.QueueDescription :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta lock_duration: The value you want to update to. :keyword bool dead_lettering_on_message_expiration: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :keyword int max_delivery_count: The value you want to update to. - :rtype: ~azure.servicebus.management.QueueDescription + :rtype: None """ - if not isinstance(queue_description, QueueDescription): - raise TypeError("queue_description must be of type QueueDescription") - - internal_description = queue_description._to_internal_entity() + internal_description = queue._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access to_update.default_message_time_to_live = kwargs.get( - "default_message_time_to_live") or queue_description.default_message_time_to_live - to_update.lock_duration = kwargs.get("lock_duration") or queue_description.lock_duration + "default_message_time_to_live") or queue.default_message_time_to_live + to_update.lock_duration = kwargs.get("lock_duration") or queue.lock_duration to_update.dead_lettering_on_message_expiration = kwargs.get( - "dead_lettering_on_message_expiration") or queue_description.dead_lettering_on_message_expiration + "dead_lettering_on_message_expiration") or queue.dead_lettering_on_message_expiration to_update.duplicate_detection_history_time_window = kwargs.get( - "duplicate_detection_history_time_window") or queue_description.duplicate_detection_history_time_window - to_update.max_delivery_count = kwargs.get("max_delivery_count") or queue_description.max_delivery_count + "duplicate_detection_history_time_window") or queue.duplicate_detection_history_time_window + to_update.max_delivery_count = kwargs.get("max_delivery_count") or queue.max_delivery_count to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -248,7 +242,7 @@ def update_queue(self, queue_description, **kwargs): request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): self._impl.entity.put( - queue_description.name, # type: ignore + queue.name, # type: ignore request_body, api_version=constants.API_VERSION, if_match="*", @@ -278,12 +272,12 @@ def list_queues(self, **kwargs): # type: (Any) -> ItemPaged[QueueDescription] """List the queues of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.QueueDescription] + :returns: An iterable (auto-paging) response of QueueDescription. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.QueueDescription] """ def entry_to_qd(entry): - qd = QueueDescription._from_internal_entity(entry.content.queue_description) - qd.name = entry.title + qd = QueueDescription._from_internal_entity(entry.title, entry.content.queue_description) return qd extract_data = functools.partial( @@ -297,14 +291,14 @@ def entry_to_qd(entry): def list_queues_runtime_info(self, **kwargs): # type: (Any) -> ItemPaged[QueueRuntimeInfo] - """List the runtime info of the queues in a ServiceBus namespace. + """List the runtime information of the queues in a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] + :returns: An iterable (auto-paging) response of QueueRuntimeInfo. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.QueueRuntimeInfo] """ def entry_to_qr(entry): - qd = QueueRuntimeInfo._from_internal_entity(entry.content.queue_description) - qd.name = entry.title + qd = QueueRuntimeInfo._from_internal_entity(entry.title, entry.content.queue_description) return qd extract_data = functools.partial( @@ -318,7 +312,7 @@ def entry_to_qr(entry): def get_topic(self, topic_name, **kwargs): # type: (str, Any) -> TopicDescription - """Get a TopicDescription. + """Get the properties of a topic. :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicDescription @@ -327,13 +321,12 @@ def get_topic(self, topic_name, **kwargs): entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic '{}' does not exist".format(topic_name)) - topic_description = TopicDescription._from_internal_entity(entry.content.topic_description) - topic_description.name = topic_name + topic_description = TopicDescription._from_internal_entity(topic_name, entry.content.topic_description) return topic_description def get_topic_runtime_info(self, topic_name, **kwargs): # type: (str, Any) -> TopicRuntimeInfo - """Get a TopicRuntimeInfo + """Get a the runtime information of a topic. :param str topic_name: The name of the topic. :rtype: ~azure.servicebus.management.TopicRuntimeInfo @@ -342,8 +335,7 @@ def get_topic_runtime_info(self, topic_name, **kwargs): entry = TopicDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Topic {} does not exist".format(topic_name)) - topic_description = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) - topic_description.name = topic_name + topic_description = TopicRuntimeInfo._from_internal_entity(topic_name, entry.content.topic_description) return topic_description def create_topic(self, topic, **kwargs): @@ -352,7 +344,7 @@ def create_topic(self, topic, **kwargs): :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic name or a `TopicDescription` instance. When it's a str, it will be the name of the created topic. Other properties of the created topic - will have default values decided by the ServiceBus. + will have default values as defined by the service. Use a `TopicDescription` if you want to set queue properties other than the queue name. :rtype: ~azure.servicebus.management.TopicDescription """ @@ -377,11 +369,10 @@ def create_topic(self, topic, **kwargs): request_body, api_version=constants.API_VERSION, **kwargs) ) entry = TopicDescriptionEntry.deserialize(entry_ele) - result = TopicDescription._from_internal_entity(entry.content.topic_description) - result.name = topic_name + result = TopicDescription._from_internal_entity(topic_name, entry.content.topic_description) return result - def update_topic(self, topic_description, **kwargs): + def update_topic(self, topic, **kwargs): # type: (TopicDescription, Any) -> None """Update a topic. @@ -390,22 +381,19 @@ def update_topic(self, topic_description, **kwargs): Only a portion of properties can be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic. - :param ~azure.servicebus.management.TopicDescription topic_description: The topic to be updated. + :param ~azure.servicebus.management.TopicDescription topic: The topic to be updated. :keyword timedelta default_message_time_to_live: The value you want to update to. :keyword timedelta duplicate_detection_history_time_window: The value you want to update to. :rtype: None """ - if not isinstance(topic_description, TopicDescription): - raise TypeError("topic_description must be of type TopicDescription") - - internal_description = topic_description._to_internal_entity() + internal_description = topic._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access to_update.default_message_time_to_live = kwargs.get( - "default_message_time_to_live") or topic_description.default_message_time_to_live + "default_message_time_to_live") or topic.default_message_time_to_live to_update.duplicate_detection_history_time_window = kwargs.get( - "duplicate_detection_history_time_window") or topic_description.duplicate_detection_history_time_window + "duplicate_detection_history_time_window") or topic.duplicate_detection_history_time_window to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -418,7 +406,7 @@ def update_topic(self, topic_description, **kwargs): request_body = create_entity_body.serialize(is_xml=True) with _handle_response_error(): self._impl.entity.put( - topic_description.name, # type: ignore + topic.name, # type: ignore request_body, api_version=constants.API_VERSION, if_match="*", @@ -429,7 +417,7 @@ def delete_topic(self, topic, **kwargs): # type: (Union[str, TopicDescription], Any) -> None """Delete a topic. - :param Union[str, TopicDescription] topic: + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic to be deleted. :rtype: None """ try: @@ -442,11 +430,11 @@ def list_topics(self, **kwargs): # type: (Any) -> ItemPaged[TopicDescription] """List the topics of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.TopicDescription] + :returns: An iterable (auto-paging) response of TopicDescription. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.TopicDescription] """ def entry_to_topic(entry): - topic = TopicDescription._from_internal_entity(entry.content.topic_description) - topic.name = entry.title + topic = TopicDescription._from_internal_entity(entry.title, entry.content.topic_description) return topic extract_data = functools.partial( @@ -460,13 +448,13 @@ def entry_to_topic(entry): def list_topics_runtime_info(self, **kwargs): # type: (Any) -> ItemPaged[TopicRuntimeInfo] - """List the topics runtime info of a ServiceBus namespace. + """List the topics runtime information of a ServiceBus namespace. - :rtype: ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] + :returns: An iterable (auto-paging) response of TopicRuntimeInfo. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.TopicRuntimeInfo] """ def entry_to_topic(entry): - topic = TopicRuntimeInfo._from_internal_entity(entry.content.topic_description) - topic.name = entry.title + topic = TopicRuntimeInfo._from_internal_entity(entry.title, entry.content.topic_description) return topic extract_data = functools.partial( @@ -480,9 +468,9 @@ def entry_to_topic(entry): def get_subscription(self, topic, subscription_name, **kwargs): # type: (Union[str, TopicDescription], str, Any) -> SubscriptionDescription - """Get a topic subscription. + """Get the properties of a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionDescription """ @@ -495,15 +483,14 @@ def get_subscription(self, topic, subscription_name, **kwargs): if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionDescription._from_internal_entity(entry.title, entry.content.subscription_description) return subscription def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): # type: (Union[str, TopicDescription], str, Any) -> SubscriptionRuntimeInfo """Get a topic subscription runtime info. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeInfo """ @@ -516,18 +503,17 @@ def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.title, entry.content.subscription_description) return subscription def create_subscription(self, topic, subscription, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> SubscriptionDescription """Create a topic subscription. - :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the to-be-created subscription. :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription name or a `SubscriptionDescription` instance. When it's a str, it will be the name of the created subscription. - Other properties of the created subscription will have default values decided by the ServiceBus. + Other properties of the created subscription will have default values as defined by the service. :rtype: ~azure.servicebus.management.SubscriptionDescription """ try: @@ -557,20 +543,19 @@ def create_subscription(self, topic, subscription, **kwargs): ) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) - result = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - result.name = subscription_name + result = SubscriptionDescription._from_internal_entity( + subscription_name, entry.content.subscription_description) return result - def update_subscription(self, topic, subscription_description, **kwargs): + def update_subscription(self, topic, subscription, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> None """Update a subscription. Before calling this method, you should use `get_subscription` to get a `SubscriptionDescription` instance, then update the related attributes and call this method. Only a portion of properties can be updated. - Refer to TODO: to add the doc link that describes what can be updated. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. :param ~azure.servicebus.management.SubscriptionDescription subscription: The subscription to be updated. :rtype: None """ @@ -578,10 +563,8 @@ def update_subscription(self, topic, subscription_description, **kwargs): topic_name = topic.name # type: ignore except AttributeError: topic_name = topic - if not isinstance(subscription_description, SubscriptionDescription): - raise TypeError("subscription_description must be of type SubscriptionDescription") - internal_description = subscription_description._to_internal_entity() + internal_description = subscription._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) @@ -596,7 +579,7 @@ def update_subscription(self, topic, subscription_description, **kwargs): with _handle_response_error(): self._impl.subscription.put( topic_name, - subscription_description.name, + subscription.name, request_body, api_version=constants.API_VERSION, if_match="*", @@ -607,8 +590,8 @@ def delete_subscription(self, topic, subscription, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> None """Delete a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription to be deleted. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription to be deleted. :rtype: None """ try: @@ -626,7 +609,8 @@ def list_subscriptions(self, topic, **kwargs): """List the subscriptions of a ServiceBus Topic. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :rtype: ItemPaged[~azure.servicebus.management.SubscriptionDescription] + :returns: An iterable (auto-paging) response of SubscriptionDescription. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.SubscriptionDescription] """ try: topic_name = topic.name # type: ignore @@ -634,8 +618,8 @@ def list_subscriptions(self, topic, **kwargs): topic_name = topic def entry_to_subscription(entry): - subscription = SubscriptionDescription._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionDescription._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription extract_data = functools.partial( @@ -649,10 +633,11 @@ def entry_to_subscription(entry): def list_subscriptions_runtime_info(self, topic, **kwargs): # type: (Union[str, TopicDescription], Any) -> ItemPaged[SubscriptionRuntimeInfo] - """List the subscriptions of a ServiceBus Topic Runtime Information. + """List the subscriptions runtime information of a ServiceBus Topic. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :rtype: ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :returns: An iterable (auto-paging) response of SubscriptionRuntimeInfo. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.SubscriptionRuntimeInfo] """ try: topic_name = topic.name # type: ignore @@ -660,8 +645,8 @@ def list_subscriptions_runtime_info(self, topic, **kwargs): topic_name = topic def entry_to_subscription(entry): - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.content.subscription_description) - subscription.name = entry.title + subscription = SubscriptionRuntimeInfo._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription extract_data = functools.partial( @@ -675,10 +660,10 @@ def entry_to_subscription(entry): def get_rule(self, topic, subscription, rule_name, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], str, Any) -> RuleDescription - """Get a topic subscription rule + """Get the properties of a topic subscription rule. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rule. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the rule. :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleDescription """ @@ -696,18 +681,16 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): raise ResourceNotFoundError( "Rule('Topic: {}, Subscription: {}, Rule {}') does not exist".format( subscription_name, topic_name, rule_name)) - rule_description = RuleDescription._from_internal_entity(entry.content.rule_description) + rule_description = RuleDescription._from_internal_entity(rule_name, entry.content.rule_description) return rule_description def create_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> RuleDescription # pylint:disable=line-too-long - """Create a subscription of a topic. - - :param Union[str, TopicDescription] topic: The topic that will own the to-be-created subscription rule. - :param Union[str, SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. - :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The rule name or a - `RuleDescription` instance. When it's a str, it will be the name of the created rule. - Other properties of the created rule will have default values decided by the ServiceBus + # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], RuleDescription, Any) -> RuleDescription # pylint:disable=line-too-long + """Create a rule for a topic subscription. + + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the to-be-created subscription rule. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. + :param azure.servicebus.management.RuleDescription rule: The rule to be created. :rtype: ~azure.servicebus.management.RuleDescription """ try: @@ -718,12 +701,8 @@ def create_rule(self, topic, subscription, rule, **kwargs): subscription_name = subscription.name # type: ignore except AttributeError: subscription_name = subscription - try: - rule_name = rule.name # type: ignore - to_create = rule._to_internal_entity() # type: ignore # pylint:disable=protected-access - except AttributeError: - rule_name = rule - to_create = InternalRuleDescription() # Use an empty queue description. + rule_name = rule.name + to_create = rule._to_internal_entity() create_entity_body = CreateRuleBody( content=CreateRuleBodyContent( @@ -741,24 +720,20 @@ def create_rule(self, topic, subscription, rule, **kwargs): result = entry.content.rule_description return result - def update_rule(self, topic, subscription, rule_description, **kwargs): + def update_rule(self, topic, subscription, rule, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], RuleDescription, Any) -> None """Update a rule. Before calling this method, you should use `get_rule` to get a `RuleDescription` instance, then update the related attributes and call this method. Only a portion of properties can be updated. - Refer to TODO: to add the doc link that describes what can be updated. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns this rule. - :param ~azure.servicebus.management.RuleDescription rule_description: The rule to be updated. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns this rule. + :param ~azure.servicebus.management.RuleDescription rule: The rule to be updated. :rtype: None """ - if not isinstance(rule_description, RuleDescription): - raise TypeError("rule_description must be of type RuleDescription") - try: topic_name = topic.name # type: ignore except AttributeError: @@ -768,7 +743,7 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): except AttributeError: subscription_name = subscription - internal_description = rule_description._to_internal_entity() + internal_description = rule._to_internal_entity() to_update = copy(internal_description) # pylint:disable=protected-access create_entity_body = CreateRuleBody( @@ -781,7 +756,7 @@ def update_rule(self, topic, subscription, rule_description, **kwargs): self._impl.rule.put( topic_name, subscription_name, - rule_description.name, + rule.name, request_body, api_version=constants.API_VERSION, if_match="*", @@ -792,9 +767,9 @@ def delete_rule(self, topic, subscription, rule, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Union[str, RuleDescription], Any) -> None # pylint:disable=line-too-long """Delete a topic subscription rule. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the topic. - :param Union[str, RuleDescription] rule: The to-be-deleted rule. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the topic. + :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The to-be-deleted rule. :rtype: None """ try: @@ -815,9 +790,10 @@ def list_rules(self, topic, subscription, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> ItemPaged[RuleDescription] """List the rules of a topic subscription. - :param Union[str, TopicDescription] topic: The topic that owns the subscription. - :param Union[str, SubscriptionDescription] subscription: The subscription that owns the rules. - :rtype: ItemPaged[~azure.servicebus.management.RuleDescription] + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the rules. + :returns: An iterable (auto-paging) response of RuleDescription. + :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.RuleDescription] """ try: topic_name = topic.name # type: ignore @@ -830,7 +806,7 @@ def list_rules(self, topic, subscription, **kwargs): def entry_to_rule(entry): rule = entry.content.rule_description - return RuleDescription._from_internal_entity(rule) + return RuleDescription._from_internal_entity(entry.title, rule) extract_data = functools.partial( extract_data_template, RuleDescriptionFeed, entry_to_rule @@ -845,7 +821,7 @@ def get_namespace_properties(self, **kwargs): # type: (Any) -> NamespaceProperties """Get the namespace properties - :rtype: NamespaceProperties + :rtype: ~azure.servicebus.management.NamespaceProperties """ entry_el = self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py index 4aff1c42f4af..238ba907408f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -6,6 +6,10 @@ from collections import OrderedDict from datetime import timedelta from msrest.serialization import Model + +### The following section of this file is generated by a script and then formatted by BLACK. +# The script is at ../../../swagger/generate_attributes_sequence_tuple.py. Use it at your own risk. + from azure.servicebus.management._generated.models import ( AuthorizationRule, CorrelationFilter, @@ -208,6 +212,8 @@ TrueFilter: ("type", "sql_expression"), } # type: Dict[Type[Model], Tuple[str, ...]] +### End of code generated by the script. + def avoid_timedelta_overflow(td): # type: (Optional[timedelta]) -> Optional[timedelta] @@ -235,7 +241,7 @@ def _adjust_dict_key_sequence(dct, keys): def adjust_attribute_map(): # type: () -> None - """update_xxx will serialize XXXDescription to XML. The tags sequence is important to service. + """create_xxx and update_xxx will serialize XXXDescription to XML. The tags sequence is important to service. This workaround is to convert the _attribute_map of each model class to use OrderedDict instead of dict so their serialized XML tags use the same sequence as specified in MODEL_CLASS_ATTRIBUTES. diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index d184e78821db..84e5b84e790c 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -25,83 +25,77 @@ class QueueDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. - + :ivar name: Name of the queue. + :type name: str + :keyword authorization_rules: Authorization rules for resource. + :type authorization_rules: list[~azure.servicebus.management.AuthorizationRule] + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword dead_lettering_on_message_expiration: A value that indicates whether this queue has dead + letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :keyword entity_availability_status: Availibility status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management.EntityAvailabilityStatus + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :keyword enable_partitioning: A value that indicates whether the queue is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :keyword max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of + memory allocated for the queue. + :type max_size_in_megabytes: int + :keyword requires_duplicate_detection: A value indicating if this queue requires duplicate + detection. + :type requires_duplicate_detection: bool + :keyword requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management.EntityStatus + :keyword forward_to: The name of the recipient entity to which all the messages sent to the queue + are forwarded to. + :type forward_to: str + :keyword user_metadata: Custom metdata that user can associate with the description. Max length + is 1024 chars. + :type user_metadata: str + :keyword support_ordering: A value that indicates whether the queue supports ordering. + :type support_ordering: bool + :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the + dead-lettered messages of this subscription are forwarded to. + :type forward_dead_lettered_messages_to: str """ def __init__( self, + name, **kwargs ): - """ - - :keyword name: Name of the queue. - :type name: str - :keyword authorization_rules: Authorization rules for resource. - :type authorization_rules: list[~azure.servicebus.management.AuthorizationRule] - :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the queue is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :keyword dead_lettering_on_message_expiration: A value that indicates whether this queue has dead - letter support when a message expires. - :type dead_lettering_on_message_expiration: bool - :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta - :keyword entity_availability_status: Availibility status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management.EntityAvailabilityStatus - :keyword enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :keyword enable_express: A value that indicates whether Express Entities are enabled. An express - queue holds a message in memory temporarily before writing it to persistent storage. - :type enable_express: bool - :keyword enable_partitioning: A value that indicates whether the queue is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without - authorization. - :type is_anonymous_accessible: bool - :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time - that the message is locked for other receivers. The maximum value for LockDuration is 5 - minutes; the default value is 1 minute. - :type lock_duration: ~datetime.timedelta - :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered - after this number of deliveries. Default value is 10. - :type max_delivery_count: int - :keyword max_size_in_megabytes: The maximum size of the queue in megabytes, which is the size of - memory allocated for the queue. - :type max_size_in_megabytes: int - :keyword requires_duplicate_detection: A value indicating if this queue requires duplicate - detection. - :type requires_duplicate_detection: bool - :keyword requires_session: A value that indicates whether the queue supports the concept of - sessions. - :type requires_session: bool - :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management.EntityStatus - :keyword forward_to: The name of the recipient entity to which all the messages sent to the queue - are forwarded to. - :type forward_to: str - :keyword user_metadata: Custom metdata that user can associate with the description. Max length - is 1024 chars. - :type user_metadata: str - :keyword support_ordering: A value that indicates whether the queue supports ordering. - :type support_ordering: bool - :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the - dead-lettered messages of this subscription are forwarded to. - :type forward_dead_lettered_messages_to: str - - - :rtype: None - """ - self.name = kwargs.get('name', None) + self.name = name self._internal_qd = None self.authorization_rules = kwargs.get('authorization_rules', None) @@ -127,9 +121,9 @@ def __init__( @classmethod - def _from_internal_entity(cls, internal_qd): - # type: (InternalQueueDescription) -> QueueDescription - qd = cls() + def _from_internal_entity(cls, name, internal_qd): + # type: (str, InternalQueueDescription) -> QueueDescription + qd = cls(name) qd._internal_qd = deepcopy(internal_qd) # pylint:disable=protected-access qd.authorization_rules = internal_qd.authorization_rules @@ -187,32 +181,29 @@ def _to_internal_entity(self): class QueueRuntimeInfo(object): """Service Bus queue metrics. + :ivar name: Name of the queue. + :type name: str + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword size_in_bytes: The size of the queue, in bytes. + :type size_in_bytes: int + :keyword message_count: The number of messages in the queue. + :type message_count: int + :keyword message_count_details: Details about the message counts in entity. + :type message_count_details: ~azure.servicebus.management.MessageCountDetails """ def __init__( self, + name, **kwargs ): - """ - :keyword name: Name of the queue. - :type name: str - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :keyword created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :keyword size_in_bytes: The size of the queue, in bytes. - :type size_in_bytes: int - :keyword message_count: The number of messages in the queue. - :type message_count: int - :keyword message_count_details: Details about the message counts in entity. - :type message_count_details: ~azure.servicebus.management.MessageCountDetails - - :rtype: None - """ - self.name = kwargs.get('name', None) + self.name = name self._internal_qr = None self.accessed_at = kwargs.get('accessed_at', None) @@ -223,9 +214,9 @@ def __init__( self.message_count_details = kwargs.get('message_count_details', None) @classmethod - def _from_internal_entity(cls, internal_qr): - # type: (InternalQueueDescription) -> QueueRuntimeInfo - qr = cls() + def _from_internal_entity(cls, name, internal_qr): + # type: (str, InternalQueueDescription) -> QueueRuntimeInfo + qr = cls(name) qr._internal_qr = deepcopy(internal_qr) # pylint:disable=protected-access qr.accessed_at = internal_qr.accessed_at @@ -241,67 +232,64 @@ def _from_internal_entity(cls, internal_qr): class TopicDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus topic resource. + :ivar name: Name of the topic. + :type name: str + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of + memory allocated for the topic. + :type max_size_in_megabytes: long + :keyword requires_duplicate_detection: A value indicating if this topic requires duplicate + detection. + :type requires_duplicate_detection: bool + :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the + duration of the duplicate detection history. The default value is 10 minutes. + :type duplicate_detection_history_time_window: ~datetime.timedelta + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword size_in_bytes: The size of the topic, in bytes. + :type size_in_bytes: int + :keyword filtering_messages_before_publishing: Filter messages before publishing. + :type filtering_messages_before_publishing: bool + :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without + authorization. + :type is_anonymous_accessible: bool + :keyword authorization_rules: Authorization rules for resource. + :type authorization_rules: + list[~azure.servicebus.management._generated.models.AuthorizationRule] + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :keyword support_ordering: A value that indicates whether the topic supports ordering. + :type support_ordering: bool + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword enable_partitioning: A value that indicates whether the topic is to be partitioned + across multiple message brokers. + :type enable_partitioning: bool + :keyword entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus + :keyword enable_subscription_partitioning: A value that indicates whether the topic's + subscription is to be partitioned. + :type enable_subscription_partitioning: bool + :keyword enable_express: A value that indicates whether Express Entities are enabled. An express + queue holds a message in memory temporarily before writing it to persistent storage. + :type enable_express: bool + :keyword user_metadata: Metadata associated with the topic. + :type user_metadata: str """ def __init__( self, + name, **kwargs ): - """ - :keyword name: Name of the topic. - :type name: str - :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :keyword max_size_in_megabytes: The maximum size of the topic in megabytes, which is the size of - memory allocated for the topic. - :type max_size_in_megabytes: long - :keyword requires_duplicate_detection: A value indicating if this topic requires duplicate - detection. - :type requires_duplicate_detection: bool - :keyword duplicate_detection_history_time_window: ISO 8601 timeSpan structure that defines the - duration of the duplicate detection history. The default value is 10 minutes. - :type duplicate_detection_history_time_window: ~datetime.timedelta - :keyword enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :keyword size_in_bytes: The size of the topic, in bytes. - :type size_in_bytes: int - :keyword filtering_messages_before_publishing: Filter messages before publishing. - :type filtering_messages_before_publishing: bool - :keyword is_anonymous_accessible: A value indicating if the resource can be accessed without - authorization. - :type is_anonymous_accessible: bool - :keyword authorization_rules: Authorization rules for resource. - :type authorization_rules: - list[~azure.servicebus.management._generated.models.AuthorizationRule] - :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :keyword support_ordering: A value that indicates whether the topic supports ordering. - :type support_ordering: bool - :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the topic is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :keyword enable_partitioning: A value that indicates whether the topic is to be partitioned - across multiple message brokers. - :type enable_partitioning: bool - :keyword entity_availability_status: Availability status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management._generated.models.EntityAvailabilityStatus - :keyword enable_subscription_partitioning: A value that indicates whether the topic's - subscription is to be partitioned. - :type enable_subscription_partitioning: bool - :keyword enable_express: A value that indicates whether Express Entities are enabled. An express - queue holds a message in memory temporarily before writing it to persistent storage. - :type enable_express: bool - :keyword user_metadata: Metadata associated with the topic. - :type user_metadata: str - - :rtype: None - """ - self.name = kwargs.get('name', None) + self.name = name self._internal_td = None self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) @@ -322,9 +310,9 @@ def __init__( self.user_metadata = kwargs.get('user_metadata', None) @classmethod - def _from_internal_entity(cls, internal_td): - # type: (InternalTopicDescription) -> TopicDescription - qd = cls() + def _from_internal_entity(cls, name, internal_td): + # type: (str, InternalTopicDescription) -> TopicDescription + qd = cls(name) qd._internal_td = deepcopy(internal_td) qd.default_message_time_to_live = internal_td.default_message_time_to_live @@ -373,28 +361,25 @@ def _to_internal_entity(self): class TopicRuntimeInfo(object): """Description of a Service Bus topic resource. + :ivar str name: + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + :keyword subscription_count: The number of subscriptions in the topic. + :type subscription_count: int """ def __init__( self, + name, **kwargs ): - """ - :keyword str name: - :keyword created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :keyword message_count_details: Details about the message counts in queue. - :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails - :keyword subscription_count: The number of subscriptions in the topic. - :type subscription_count: int - - :rtype: None - """ - self.name = kwargs.get('name', None) + self.name = name self._internal_td = None self.created_at = kwargs.get('created_at', None) self.updated_at = kwargs.get('updated_at', None) @@ -403,9 +388,9 @@ def __init__( self.subscription_count = kwargs.get('subscription_count', None) @classmethod - def _from_internal_entity(cls, internal_td): - # type: (InternalTopicDescription) -> TopicRuntimeInfo - qd = cls() + def _from_internal_entity(cls, name, internal_td): + # type: (str, InternalTopicDescription) -> TopicRuntimeInfo + qd = cls(name) qd._internal_td = internal_td qd.created_at = internal_td.created_at @@ -420,55 +405,53 @@ def _from_internal_entity(cls, internal_td): class SubscriptionDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. + :ivar name: Name of the subscription. + :type name: str + :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time + that the message is locked for other receivers. The maximum value for LockDuration is 5 + minutes; the default value is 1 minute. + :type lock_duration: ~datetime.timedelta + :keyword requires_session: A value that indicates whether the queue supports the concept of + sessions. + :type requires_session: bool + :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is + the duration after which the message expires, starting from when the message is sent to Service + Bus. This is the default value used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: ~datetime.timedelta + :keyword dead_lettering_on_message_expiration: A value that indicates whether this subscription + has dead letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :keyword dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this + subscription has dead letter support when a message expires. + :type dead_lettering_on_filter_evaluation_exceptions: bool + :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered + after this number of deliveries. Default value is 10. + :type max_delivery_count: int + :keyword enable_batched_operations: Value that indicates whether server-side batched operations + are enabled. + :type enable_batched_operations: bool + :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", + "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". + :type status: str or ~azure.servicebus.management._generated.models.EntityStatus + :keyword forward_to: The name of the recipient entity to which all the messages sent to the + subscription are forwarded to. + :type forward_to: str + :keyword user_metadata: Metadata associated with the subscription. Maximum number of characters + is 1024. + :type user_metadata: str + :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the + messages sent to the subscription are forwarded to. + :type forward_dead_lettered_messages_to: str + :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the subscription is + automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: ~datetime.timedelta + :keyword entity_availability_status: Availability status of the entity. Possible values include: + "Available", "Limited", "Renaming", "Restoring", "Unknown". + :type entity_availability_status: str or + ~azure.servicebus.management._generated.models.EntityAvailabilityStatus """ - def __init__(self, **kwargs): - """ - :keyword name: Name of the subscription. - :type name: str - :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time - that the message is locked for other receivers. The maximum value for LockDuration is 5 - minutes; the default value is 1 minute. - :type lock_duration: ~datetime.timedelta - :keyword requires_session: A value that indicates whether the queue supports the concept of - sessions. - :type requires_session: bool - :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is - the duration after which the message expires, starting from when the message is sent to Service - Bus. This is the default value used when TimeToLive is not set on a message itself. - :type default_message_time_to_live: ~datetime.timedelta - :keyword dead_lettering_on_message_expiration: A value that indicates whether this subscription - has dead letter support when a message expires. - :type dead_lettering_on_message_expiration: bool - :keyword dead_lettering_on_filter_evaluation_exceptions: A value that indicates whether this - subscription has dead letter support when a message expires. - :type dead_lettering_on_filter_evaluation_exceptions: bool - :keyword max_delivery_count: The maximum delivery count. A message is automatically deadlettered - after this number of deliveries. Default value is 10. - :type max_delivery_count: int - :keyword enable_batched_operations: Value that indicates whether server-side batched operations - are enabled. - :type enable_batched_operations: bool - :keyword status: Status of a Service Bus resource. Possible values include: "Active", "Creating", - "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown". - :type status: str or ~azure.servicebus.management._generated.models.EntityStatus - :keyword forward_to: The name of the recipient entity to which all the messages sent to the - subscription are forwarded to. - :type forward_to: str - :keyword user_metadata: Metadata associated with the subscription. Maximum number of characters - is 1024. - :type user_metadata: str - :keyword forward_dead_lettered_messages_to: The name of the recipient entity to which all the - messages sent to the subscription are forwarded to. - :type forward_dead_lettered_messages_to: str - :keyword auto_delete_on_idle: ISO 8601 timeSpan idle interval after which the subscription is - automatically deleted. The minimum duration is 5 minutes. - :type auto_delete_on_idle: ~datetime.timedelta - :keyword entity_availability_status: Availability status of the entity. Possible values include: - "Available", "Limited", "Renaming", "Restoring", "Unknown". - :type entity_availability_status: str or - ~azure.servicebus.management._generated.models.EntityAvailabilityStatus - """ - self.name = kwargs.get("name") + def __init__(self, name, **kwargs): + self.name = name self._internal_sd = None self.lock_duration = kwargs.get('lock_duration', None) @@ -487,9 +470,9 @@ def __init__(self, **kwargs): self.entity_availability_status = kwargs.get('entity_availability_status', None) @classmethod - def _from_internal_entity(cls, internal_subscription): - # type: (InternalSubscriptionDescription) -> SubscriptionDescription - subscription = cls() + def _from_internal_entity(cls, name, internal_subscription): + # type: (str, InternalSubscriptionDescription) -> SubscriptionDescription + subscription = cls(name) subscription._internal_sd = internal_subscription subscription.lock_duration = internal_subscription.lock_duration subscription.requires_session = internal_subscription.requires_session @@ -533,27 +516,23 @@ def _to_internal_entity(self): class SubscriptionRuntimeInfo(object): """Description of a Service Bus queue resource. + :ivar str name: + :keyword created_at: The exact time the queue was created. + :type created_at: ~datetime.datetime + :keyword updated_at: The exact time a message was updated in the queue. + :type updated_at: ~datetime.datetime + :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + to this queue. + :type accessed_at: ~datetime.datetime + :keyword message_count: The number of messages in the subscription. + :type message_count: int + :keyword message_count_details: Details about the message counts in queue. + :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails + """ - def __init__(self, **kwargs): - """ - - :keyword str name: - :keyword created_at: The exact time the queue was created. - :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. - :type updated_at: ~datetime.datetime - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request - to this queue. - :type accessed_at: ~datetime.datetime - :keyword message_count: The number of messages in the subscription. - :type message_count: int - :keyword message_count_details: Details about the message counts in queue. - :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails - - :rtype: None - """ + def __init__(self, name, **kwargs): self._internal_sd = None - self.name = kwargs.get("name") + self.name = name self.message_count = kwargs.get('message_count', None) self.created_at = kwargs.get('created_at', None) @@ -562,9 +541,9 @@ def __init__(self, **kwargs): self.message_count_details = kwargs.get('message_count_details', None) @classmethod - def _from_internal_entity(cls, internal_subscription): - # type: (InternalSubscriptionDescription) -> SubscriptionRuntimeInfo - subscription = cls() + def _from_internal_entity(cls, name, internal_subscription): + # type: (str, InternalSubscriptionDescription) -> SubscriptionRuntimeInfo + subscription = cls(name) subscription._internal_sd = internal_subscription subscription.message_count = internal_subscription.message_count subscription.created_at = internal_subscription.created_at @@ -578,33 +557,28 @@ def _from_internal_entity(cls, internal_subscription): class RuleDescription(object): """RuleDescription. + :ivar name: + :type name: str + :keyword filter: + :type filter: ~azure.servicebus.management._generated.models.RuleFilter + :keyword action: + :type action: ~azure.servicebus.management._generated.models.RuleAction + :keyword created_at: The exact time the rule was created. + :type created_at: ~datetime.datetime """ - def __init__(self, **kwargs): - """ - - :keyword filter: - :type filter: ~azure.servicebus.management._generated.models.RuleFilter - :keyword action: - :type action: ~azure.servicebus.management._generated.models.RuleAction - :keyword created_at: The exact time the rule was created. - :type created_at: ~datetime.datetime - :keyword name: - :type name: str - - :rtype: None - """ + def __init__(self, name, **kwargs): self.filter = kwargs.get('filter', None) self.action = kwargs.get('action', None) self.created_at = kwargs.get('created_at', None) - self.name = kwargs.get('name', None) + self.name = name self._internal_rule = None @classmethod - def _from_internal_entity(cls, internal_rule): - # type: (InternalRuleDescription) -> RuleDescription - rule = cls() + def _from_internal_entity(cls, name, internal_rule): + # type: (str, InternalRuleDescription) -> RuleDescription + rule = cls(name) rule._internal_rule = internal_rule rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) \ diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py index 11d118dd47fe..ead42fe7042f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py @@ -5,6 +5,7 @@ from typing import cast, Union from xml.etree.ElementTree import ElementTree +# Refer to the async version of this module under ..\aio\management\_utils.py for detailed explanation. try: import urllib.parse as urlparse @@ -25,19 +26,14 @@ def extract_data_template(feed_class, convert, feed_element): def get_next_template(list_func, *args, **kwargs): - if args: - next_link = args[0] - else: - next_link = kwargs.pop("next_link") - start_index = kwargs.pop("start_index", 0) max_page_size = kwargs.pop("max_page_size", 100) api_version = constants.API_VERSION - if next_link: - queries = urlparse.parse_qs(urlparse.urlparse(next_link).query) - start_index = int(queries['$skip'][0]) - max_page_size = int(queries['$top'][0]) - api_version = queries['api-version'][0] + if args[0]: + queries = urlparse.parse_qs(urlparse.urlparse(args[0]).query) + start_index = int(queries[constants.LIST_OP_SKIP][0]) + max_page_size = int(queries[constants.LIST_OP_TOP][0]) + api_version = queries[constants.API_VERSION_PARAM_NAME][0] with _handle_response_error(): feed_element = cast( ElementTree, diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py index 6f4f4d759e5a..ed45887e8247 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_xml_workaround_policy.py @@ -8,7 +8,33 @@ class ServiceBusXMLWorkaroundPolicy(SansIOHTTPPolicy): - """A policy that mutates serialized XML to workaround ServiceBus requirement + """A policy that mutates serialized XML to workaround ServiceBus requirement. + + For some request with xml body, ServiceBus doesn't accept namespace prefix. An example is prefix "ns1" + in the following xml. This workaround is to remove it. + + + + + 1 + 1 + ... + + + Another problem is Swagger specification doesn't allow an XML tag to have both a value and attributes. + For instance value1 can't be defined in swagger. + So here we add it. + + + 1 + ... + + + key1 + value1 + + + """ def on_request(self, request): diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py index f57ae6ee3cf5..5c9f2795a74b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py @@ -208,13 +208,13 @@ async def test_async_mgmt_queue_create_with_invalid_name(self, servicebus_namesp await mgmt_service.create_queue(Exception()) with pytest.raises(msrest.exceptions.ValidationError): - await mgmt_service.create_queue(QueueDescription(queue_name=Exception())) + await mgmt_service.create_queue(QueueDescription(name=Exception())) with pytest.raises(msrest.exceptions.ValidationError): await mgmt_service.create_queue('') with pytest.raises(msrest.exceptions.ValidationError): - await mgmt_service.create_queue(QueueDescription(queue_name='')) + await mgmt_service.create_queue(QueueDescription(name='')) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -331,11 +331,11 @@ async def test_async_mgmt_queue_update_invalid(self, servicebus_namespace_connec queue_description = await mgmt_service.create_queue(queue_name) try: # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_queue(None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_queue(Exception("test")) # change a setting we can't change; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py index 74c615fb3552..c6d10c259745 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py @@ -146,11 +146,11 @@ async def test_async_mgmt_rule_update_invalid(self, servicebus_namespace_connect rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_rule(topic_name, subscription_name, None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_rule(topic_name, subscription_name, Exception("test")) # change the name to a topic that doesn't exist; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py index 7755fcfd11a4..8f242b7c50d7 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py @@ -145,11 +145,11 @@ async def test_async_mgmt_subscription_update_invalid(self, servicebus_namespace subscription_description = await mgmt_service.create_subscription(topic_name, subscription_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_subscription(topic_name, None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_subscription(topic_name, Exception("test")) # change the name to a topic that doesn't exist; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py index e0b8bb7c0f7f..3528fcb3ab5d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py @@ -141,11 +141,11 @@ async def test_async_mgmt_topic_update_invalid(self, servicebus_namespace_connec topic_description = await mgmt_service.create_topic(topic_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_topic(None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): await mgmt_service.update_topic(Exception("test")) # change the name to a topic that doesn't exist; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py index 1557e0d44f00..43b3f90aed98 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py @@ -215,13 +215,13 @@ def test_mgmt_queue_create_with_invalid_name(self, servicebus_namespace_connecti mgmt_service.create_queue(Exception()) with pytest.raises(msrest.exceptions.ValidationError): - mgmt_service.create_queue(QueueDescription(queue_name=Exception())) + mgmt_service.create_queue(QueueDescription(name=Exception())) with pytest.raises(msrest.exceptions.ValidationError): mgmt_service.create_queue('') with pytest.raises(msrest.exceptions.ValidationError): - mgmt_service.create_queue(QueueDescription(queue_name='')) + mgmt_service.create_queue(QueueDescription(name='')) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -345,11 +345,11 @@ def test_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, queue_description = mgmt_service.create_queue(queue_name) try: # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_queue(None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_queue(Exception("test")) # change a setting we can't change; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py index 87c073ac2c50..2a1c15a2d789 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py @@ -143,11 +143,11 @@ def test_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_rule(topic_name, subscription_name, None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_rule(topic_name, subscription_name, Exception("test")) # change the name to a topic that doesn't exist; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py index e090421066ff..6c5dd89c1cf0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py @@ -142,11 +142,11 @@ def test_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_ subscription_description = mgmt_service.create_subscription(topic_name, subscription_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_subscription(topic_name, None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_subscription(topic_name, Exception("test")) # change the name to a topic that doesn't exist; should fail. diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py index d41c6707f240..d596b323f164 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py @@ -139,11 +139,11 @@ def test_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, topic_description = mgmt_service.create_topic(topic_name) # handle a null update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_topic(None) # handle an invalid type update properly. - with pytest.raises(TypeError): + with pytest.raises(AttributeError): mgmt_service.update_topic(Exception("test")) # change the name to a topic that doesn't exist; should fail. From f4aa572ceef0bcd5d261ab31d67843f138b7fd2b Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Tue, 30 Jun 2020 22:54:43 -0700 Subject: [PATCH 16/21] Fix pylint and mypy error --- .../management/_management_client_async.py | 8 +++-- .../azure/servicebus/aio/management/_utils.py | 14 ++++---- .../management/_management_client.py | 32 ++++++++++++------- 3 files changed, 33 insertions(+), 21 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 0270fffe6736..f77a56f391e9 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -24,7 +24,7 @@ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ QueueDescription as InternalQueueDescription, TopicDescription as InternalTopicDescription, \ - SubscriptionDescription as InternalSubscriptionDescription, RuleDescription as InternalRuleDescription, \ + SubscriptionDescription as InternalSubscriptionDescription, \ NamespaceProperties from ..._common.utils import parse_conn_str @@ -488,7 +488,8 @@ async def get_subscription( if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionDescription._from_internal_entity(entry.title, entry.content.subscription_description) + subscription = SubscriptionDescription._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription async def get_subscription_runtime_info( @@ -509,7 +510,8 @@ async def get_subscription_runtime_info( if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.title, entry.content.subscription_description) + subscription = SubscriptionRuntimeInfo._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription async def create_subscription( diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py index ae1c6c5563fa..035661df3e2e 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_utils.py @@ -72,29 +72,29 @@ async def extract_data_template(feed_class, convert, feed_element): """A function that will be partialized to build a function used by AsyncItemPaged. - + It deserializes the ElementTree returned from function `get_next_template`, returns data in an iterator and the link to next page. - - azure.core.async_paging.AsyncItemPaged will use the returned next page to call a partial function created + + azure.core.async_paging.AsyncItemPaged will use the returned next page to call a partial function created from `get_next_template` to fetch data of next page. - + """ deserialized = feed_class.deserialize(feed_element) list_of_qd = [convert(x) if convert else x for x in deserialized.entry] next_link = None # when the response xml has two tags, the 2nd if the next-page link. - if deserialized.link and len(deserialized.link) == 2: + if deserialized.link and len(deserialized.link) == 2: next_link = deserialized.link[1].href return next_link, iter(list_of_qd) # when next_page is None, AsyncPagedItem will stop fetch next page data. async def get_next_template(list_func, *args, start_index=0, max_page_size=100, **kwargs): """Call list_func to get the XML data and deserialize it to XML ElementTree. - + azure.core.async_paging.AsyncItemPaged will call `extract_data_template` and use the returned XML ElementTree to call a partial function created from `extrat_data_template`. - + """ api_version = constants.API_VERSION if args[0]: # It's next link. It's None for the first page. diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 19a43c32f156..76bf78b4a838 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -483,7 +483,8 @@ def get_subscription(self, topic, subscription_name, **kwargs): if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionDescription._from_internal_entity(entry.title, entry.content.subscription_description) + subscription = SubscriptionDescription._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): @@ -503,14 +504,16 @@ def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): if not entry.content: raise ResourceNotFoundError( "Subscription('Topic: {}, Subscription: {}') does not exist".format(subscription_name, topic_name)) - subscription = SubscriptionRuntimeInfo._from_internal_entity(entry.title, entry.content.subscription_description) + subscription = SubscriptionRuntimeInfo._from_internal_entity( + entry.title, entry.content.subscription_description) return subscription def create_subscription(self, topic, subscription, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> SubscriptionDescription """Create a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the to-be-created subscription. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the + to-be-created subscription. :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription name or a `SubscriptionDescription` instance. When it's a str, it will be the name of the created subscription. Other properties of the created subscription will have default values as defined by the service. @@ -548,7 +551,7 @@ def create_subscription(self, topic, subscription, **kwargs): return result def update_subscription(self, topic, subscription, **kwargs): - # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], Any) -> None + # type: (Union[str, TopicDescription], SubscriptionDescription, Any) -> None """Update a subscription. Before calling this method, you should use `get_subscription` to get a `SubscriptionDescription` instance, @@ -591,7 +594,8 @@ def delete_subscription(self, topic, subscription, **kwargs): """Delete a topic subscription. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription to be deleted. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription to + be deleted. :rtype: None """ try: @@ -663,7 +667,8 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): """Get the properties of a topic subscription rule. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the rule. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the rule. :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleDescription """ @@ -688,8 +693,10 @@ def create_rule(self, topic, subscription, rule, **kwargs): # type: (Union[str, TopicDescription], Union[str, SubscriptionDescription], RuleDescription, Any) -> RuleDescription # pylint:disable=line-too-long """Create a rule for a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the to-be-created subscription rule. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that will own the to-be-created rule. + :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that will own the + to-be-created subscription rule. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + will own the to-be-created rule. :param azure.servicebus.management.RuleDescription rule: The rule to be created. :rtype: ~azure.servicebus.management.RuleDescription """ @@ -729,7 +736,8 @@ def update_rule(self, topic, subscription, rule, **kwargs): Only a portion of properties can be updated. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns this rule. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns this rule. :param ~azure.servicebus.management.RuleDescription rule: The rule to be updated. :rtype: None """ @@ -768,7 +776,8 @@ def delete_rule(self, topic, subscription, rule, **kwargs): """Delete a topic subscription rule. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the topic. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the topic. :param Union[str, ~azure.servicebus.management.RuleDescription] rule: The to-be-deleted rule. :rtype: None """ @@ -791,7 +800,8 @@ def list_rules(self, topic, subscription, **kwargs): """List the rules of a topic subscription. :param Union[str, ~azure.servicebus.management.TopicDescription] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that owns the rules. + :param Union[str, ~azure.servicebus.management.SubscriptionDescription] subscription: The subscription that + owns the rules. :returns: An iterable (auto-paging) response of RuleDescription. :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.RuleDescription] """ From 1516c0058f7610f9f9af18774730d2268f6fdb91 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Tue, 30 Jun 2020 23:00:05 -0700 Subject: [PATCH 17/21] Small fix type annotation --- .../servicebus/aio/management/_management_client_async.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index f77a56f391e9..4d19da910981 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -132,8 +132,7 @@ async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kw return element @classmethod - def from_connection_string(cls, conn_str, **kwargs): - # type: (str, Any) -> ServiceBusManagementClient + def from_connection_string(cls, conn_str: str, **kwargs) -> "ServiceBusManagementClient": """Create a client from connection string. :param str conn_str: The connection string of the Service Bus Namespace. From 0effa087d877de5a7646ee5cd9bdd915d13e4a7b Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Wed, 1 Jul 2020 11:41:03 -0700 Subject: [PATCH 18/21] Do not call copy() in update_xxx --- .../aio/management/_management_client_async.py | 13 ++++--------- .../servicebus/management/_management_client.py | 13 ++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index 4d19da910981..490d84d456db 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -5,7 +5,6 @@ # pylint:disable=protected-access # pylint:disable=specify-parameter-names-in-call import functools -from copy import copy from typing import TYPE_CHECKING, Any, Union, cast from xml.etree.ElementTree import ElementTree from datetime import timedelta @@ -229,8 +228,7 @@ async def update_queue( :rtype: None """ - internal_description = queue._to_internal_entity() - to_update = copy(internal_description) + to_update = queue._to_internal_entity() to_update.default_message_time_to_live = default_message_time_to_live \ or queue.default_message_time_to_live @@ -393,8 +391,7 @@ async def update_topic( :rtype: None """ - internal_description = topic._to_internal_entity() - to_update = copy(internal_description) + to_update = topic._to_internal_entity() to_update.default_message_time_to_live = default_message_time_to_live or \ topic.default_message_time_to_live @@ -574,8 +571,7 @@ async def update_subscription( except AttributeError: topic_name = topic - internal_description = subscription._to_internal_entity() - to_update = copy(internal_description) + to_update = subscription._to_internal_entity() to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -763,8 +759,7 @@ async def update_rule( except AttributeError: subscription_name = subscription - internal_description = rule._to_internal_entity() - to_update = copy(internal_description) + to_update = rule._to_internal_entity() create_entity_body = CreateRuleBody( content=CreateRuleBodyContent( diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index 76bf78b4a838..a90c993b16b3 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -5,7 +5,6 @@ # pylint:disable=protected-access # pylint:disable=specify-parameter-names-in-call import functools -from copy import copy from typing import TYPE_CHECKING, Dict, Any, Union, cast from xml.etree.ElementTree import ElementTree @@ -219,8 +218,7 @@ def update_queue(self, queue, **kwargs): :rtype: None """ - internal_description = queue._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = queue._to_internal_entity() to_update.default_message_time_to_live = kwargs.get( "default_message_time_to_live") or queue.default_message_time_to_live @@ -387,8 +385,7 @@ def update_topic(self, topic, **kwargs): :rtype: None """ - internal_description = topic._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = topic._to_internal_entity() to_update.default_message_time_to_live = kwargs.get( "default_message_time_to_live") or topic.default_message_time_to_live @@ -567,8 +564,7 @@ def update_subscription(self, topic, subscription, **kwargs): except AttributeError: topic_name = topic - internal_description = subscription._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = subscription._to_internal_entity() to_update.default_message_time_to_live = avoid_timedelta_overflow(to_update.default_message_time_to_live) to_update.auto_delete_on_idle = avoid_timedelta_overflow(to_update.auto_delete_on_idle) @@ -751,8 +747,7 @@ def update_rule(self, topic, subscription, rule, **kwargs): except AttributeError: subscription_name = subscription - internal_description = rule._to_internal_entity() - to_update = copy(internal_description) # pylint:disable=protected-access + to_update = rule._to_internal_entity() create_entity_body = CreateRuleBody( content=CreateRuleBodyContent( From f487487e2b0cef0d0176420ef0f8287fe37a7eac Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Wed, 1 Jul 2020 11:41:21 -0700 Subject: [PATCH 19/21] Update ivar --- .../azure/servicebus/management/_models.py | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 84e5b84e790c..1f8b8afa6287 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -25,7 +25,8 @@ class QueueDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. - :ivar name: Name of the queue. + + :param name: Name of the queue. :type name: str :keyword authorization_rules: Authorization rules for resource. :type authorization_rules: list[~azure.servicebus.management.AuthorizationRule] @@ -183,18 +184,18 @@ class QueueRuntimeInfo(object): :ivar name: Name of the queue. :type name: str - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + :ivar accessed_at: Last time a message was sent, or the last time there was a receive request to this queue. :type accessed_at: ~datetime.datetime - :keyword created_at: The exact time the queue was created. + :ivar created_at: The exact time the queue was created. :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. + :ivar updated_at: The exact time a message was updated in the queue. :type updated_at: ~datetime.datetime - :keyword size_in_bytes: The size of the queue, in bytes. + :ivar size_in_bytes: The size of the queue, in bytes. :type size_in_bytes: int - :keyword message_count: The number of messages in the queue. + :ivar message_count: The number of messages in the queue. :type message_count: int - :keyword message_count_details: Details about the message counts in entity. + :ivar message_count_details: Details about the message counts in entity. :type message_count_details: ~azure.servicebus.management.MessageCountDetails """ @@ -232,7 +233,7 @@ def _from_internal_entity(cls, name, internal_qr): class TopicDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus topic resource. - :ivar name: Name of the topic. + :param name: Name of the topic. :type name: str :keyword default_message_time_to_live: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service @@ -362,16 +363,16 @@ class TopicRuntimeInfo(object): """Description of a Service Bus topic resource. :ivar str name: - :keyword created_at: The exact time the queue was created. + :ivar created_at: The exact time the queue was created. :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. + :ivar updated_at: The exact time a message was updated in the queue. :type updated_at: ~datetime.datetime - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + :ivar accessed_at: Last time a message was sent, or the last time there was a receive request to this queue. :type accessed_at: ~datetime.datetime - :keyword message_count_details: Details about the message counts in queue. + :ivar message_count_details: Details about the message counts in queue. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails - :keyword subscription_count: The number of subscriptions in the topic. + :ivar subscription_count: The number of subscriptions in the topic. :type subscription_count: int """ def __init__( @@ -405,7 +406,7 @@ def _from_internal_entity(cls, name, internal_td): class SubscriptionDescription(object): # pylint:disable=too-many-instance-attributes """Description of a Service Bus queue resource. - :ivar name: Name of the subscription. + :param name: Name of the subscription. :type name: str :keyword lock_duration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 @@ -473,7 +474,7 @@ def __init__(self, name, **kwargs): def _from_internal_entity(cls, name, internal_subscription): # type: (str, InternalSubscriptionDescription) -> SubscriptionDescription subscription = cls(name) - subscription._internal_sd = internal_subscription + subscription._internal_sd = deepcopy(internal_subscription) subscription.lock_duration = internal_subscription.lock_duration subscription.requires_session = internal_subscription.requires_session subscription.default_message_time_to_live = internal_subscription.default_message_time_to_live @@ -517,16 +518,16 @@ class SubscriptionRuntimeInfo(object): """Description of a Service Bus queue resource. :ivar str name: - :keyword created_at: The exact time the queue was created. + :ivar created_at: The exact time the queue was created. :type created_at: ~datetime.datetime - :keyword updated_at: The exact time a message was updated in the queue. + :ivar updated_at: The exact time a message was updated in the queue. :type updated_at: ~datetime.datetime - :keyword accessed_at: Last time a message was sent, or the last time there was a receive request + :ivar accessed_at: Last time a message was sent, or the last time there was a receive request to this queue. :type accessed_at: ~datetime.datetime - :keyword message_count: The number of messages in the subscription. + :ivar message_count: The number of messages in the subscription. :type message_count: int - :keyword message_count_details: Details about the message counts in queue. + :ivar message_count_details: Details about the message counts in queue. :type message_count_details: ~azure.servicebus.management._generated.models.MessageCountDetails """ @@ -555,14 +556,15 @@ def _from_internal_entity(cls, name, internal_subscription): class RuleDescription(object): - """RuleDescription. + """Description of a topic subscription rule. - :ivar name: + :param name: Name of the rule. :type name: str - :keyword filter: - :type filter: ~azure.servicebus.management._generated.models.RuleFilter - :keyword action: - :type action: ~azure.servicebus.management._generated.models.RuleAction + :keyword filter: The filter of the rule. + :type filter: Union[~azure.servicebus.management.models.CorrelationRuleFilter, + ~azure.servicebus.management.models.SqlRuleFilter] + :keyword action: The action of the rule. + :type action: Optional[~azure.servicebus.management.models.SqlRuleAction] :keyword created_at: The exact time the rule was created. :type created_at: ~datetime.datetime """ @@ -579,7 +581,7 @@ def __init__(self, name, **kwargs): def _from_internal_entity(cls, name, internal_rule): # type: (str, InternalRuleDescription) -> RuleDescription rule = cls(name) - rule._internal_rule = internal_rule + rule._internal_rule = deepcopy(internal_rule) rule.filter = RULE_CLASS_MAPPING[type(internal_rule.filter)]._from_internal_entity(internal_rule.filter) \ if internal_rule.filter and isinstance(internal_rule.filter, tuple(RULE_CLASS_MAPPING.keys())) else None From 6e1149441141929a25aa4d6a6d3d9182a61d7eb5 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Wed, 1 Jul 2020 14:01:20 -0700 Subject: [PATCH 20/21] Link to swagger file in repo --- sdk/servicebus/azure-servicebus/swagger/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/servicebus/azure-servicebus/swagger/README.md b/sdk/servicebus/azure-servicebus/swagger/README.md index 209922fd59d2..541333f633ec 100644 --- a/sdk/servicebus/azure-servicebus/swagger/README.md +++ b/sdk/servicebus/azure-servicebus/swagger/README.md @@ -17,7 +17,7 @@ autorest --use=@autorest/python@5.0.0-preview.6 ``` ### Settings ``` yaml -input-file: C:/Work/azure-rest-api-specs-pr/specification/servicebus/data-plane/servicebus-swagger.json +input-file: https://raw.githubusercontent.com/YijunXieMS/azure-rest-api-specs-pr/servicebus_mgmt/specification/servicebus/data-plane/servicebus-swagger.json?token=ALQFVABEGSXQX2IEVU26V2K7AYZ4K output-folder: ../azure/servicebus/management/_generated namespace: azure.servicebus.management._generated no-namespace-folders: true From 9914b0f4255724da1ec5fb0a63e0a511d6394295 Mon Sep 17 00:00:00 2001 From: Adam Ling Date: Wed, 1 Jul 2020 23:10:24 -0700 Subject: [PATCH 21/21] clear queue/topic before the actual test --- .../mgmt_tests/mgmt_test_utilities_async.py | 18 ++ ....test_async_mgmt_queue_create_by_name.yaml | 54 ++-- ...est_async_mgmt_queue_create_duplicate.yaml | 50 +++- ...t_queue_create_with_queue_description.yaml | 54 ++-- ...nc.test_async_mgmt_queue_delete_basic.yaml | 114 +++++--- ....test_async_mgmt_queue_delete_negtive.yaml | 78 +++-- ...eue_delete_one_and_check_not_existing.yaml | 272 ++++++++++-------- ...ync_mgmt_queue_get_runtime_info_basic.yaml | 54 ++-- ..._mgmt_queue_get_runtime_info_negative.yaml | 6 +- ...sync.test_async_mgmt_queue_list_basic.yaml | 118 ++++---- ...nc_mgmt_queue_list_runtime_info_basic.yaml | 92 +++--- ...t_queue_list_with_negative_credential.yaml | 16 +- ...nc_mgmt_queue_list_with_special_chars.yaml | 70 +++-- ....test_async_mgmt_queue_update_invalid.yaml | 74 +++-- ....test_async_mgmt_queue_update_success.yaml | 100 ++++--- ...les_async.test_async_mgmt_rule_create.yaml | 162 ++++++----- ...test_async_mgmt_rule_create_duplicate.yaml | 90 +++--- ....test_async_mgmt_rule_list_and_delete.yaml | 214 +++++++------- ...c.test_async_mgmt_rule_update_invalid.yaml | 106 ++++--- ...c.test_async_mgmt_rule_update_success.yaml | 124 ++++---- ...sync_mgmt_subscription_create_by_name.yaml | 74 +++-- ...nc_mgmt_subscription_create_duplicate.yaml | 70 +++-- ..._create_with_subscription_description.yaml | 74 +++-- ...c.test_async_mgmt_subscription_delete.yaml | 158 +++++----- ...t_subscription_get_runtime_info_basic.yaml | 74 +++-- ...ync.test_async_mgmt_subscription_list.yaml | 122 ++++---- ...c_mgmt_subscription_list_runtime_info.yaml | 122 ++++---- ...sync_mgmt_subscription_update_invalid.yaml | 88 +++--- ...sync_mgmt_subscription_update_success.yaml | 120 ++++---- ....test_async_mgmt_topic_create_by_name.yaml | 54 ++-- ...est_async_mgmt_topic_create_duplicate.yaml | 50 +++- ...t_topic_create_with_topic_description.yaml | 54 ++-- ...cs_async.test_async_mgmt_topic_delete.yaml | 142 +++++---- ...ync_mgmt_topic_get_runtime_info_basic.yaml | 54 ++-- ...pics_async.test_async_mgmt_topic_list.yaml | 94 +++--- ...st_async_mgmt_topic_list_runtime_info.yaml | 92 +++--- ....test_async_mgmt_topic_update_invalid.yaml | 62 ++-- ....test_async_mgmt_topic_update_success.yaml | 100 ++++--- .../mgmt_tests/test_mgmt_queues_async.py | 21 +- .../mgmt_tests/test_mgmt_rules_async.py | 9 +- .../test_mgmt_subscriptions_async.py | 15 +- .../mgmt_tests/test_mgmt_topics_async.py | 14 +- .../tests/mgmt_tests/mgmt_test_utilities.py | 17 ++ ...queues.test_mgmt_queue_create_by_name.yaml | 55 +++- ...eues.test_mgmt_queue_create_duplicate.yaml | 51 +++- ...t_queue_create_with_queue_description.yaml | 55 +++- ...t_queues.test_mgmt_queue_delete_basic.yaml | 105 ++++--- ...queues.test_mgmt_queue_delete_negtive.yaml | 73 +++-- ...eue_delete_one_and_check_not_existing.yaml | 235 ++++++++------- ...est_mgmt_queue_get_runtime_info_basic.yaml | 55 +++- ..._mgmt_queue_get_runtime_info_negative.yaml | 4 +- ...gmt_queues.test_mgmt_queue_list_basic.yaml | 105 ++++--- ...st_mgmt_queue_list_runtime_info_basic.yaml | 85 ++++-- ...t_queue_list_with_negative_credential.yaml | 12 +- ...st_mgmt_queue_list_with_special_chars.yaml | 67 +++-- ...queues.test_mgmt_queue_update_invalid.yaml | 71 +++-- ...queues.test_mgmt_queue_update_success.yaml | 95 +++--- ...test_mgmt_rules.test_mgmt_rule_create.yaml | 143 +++++---- ...rules.test_mgmt_rule_create_duplicate.yaml | 83 ++++-- ..._rules.test_mgmt_rule_list_and_delete.yaml | 193 +++++++------ ...t_rules.test_mgmt_rule_update_invalid.yaml | 99 ++++--- ...t_rules.test_mgmt_rule_update_success.yaml | 115 +++++--- ...test_mgmt_subscription_create_by_name.yaml | 71 +++-- ...st_mgmt_subscription_create_duplicate.yaml | 67 +++-- ..._create_with_subscription_description.yaml | 71 +++-- ...iptions.test_mgmt_subscription_delete.yaml | 143 +++++---- ...t_subscription_get_runtime_info_basic.yaml | 71 +++-- ...criptions.test_mgmt_subscription_list.yaml | 111 ++++--- ...t_mgmt_subscription_list_runtime_info.yaml | 111 ++++--- ...test_mgmt_subscription_update_invalid.yaml | 79 +++-- ...test_mgmt_subscription_update_success.yaml | 113 +++++--- ...topics.test_mgmt_topic_create_by_name.yaml | 55 +++- ...pics.test_mgmt_topic_create_duplicate.yaml | 51 +++- ...t_topic_create_with_topic_description.yaml | 55 +++- ...st_mgmt_topics.test_mgmt_topic_delete.yaml | 129 +++++---- ...est_mgmt_topic_get_runtime_info_basic.yaml | 55 +++- ...test_mgmt_topics.test_mgmt_topic_list.yaml | 87 ++++-- ...ics.test_mgmt_topic_list_runtime_info.yaml | 85 ++++-- ...topics.test_mgmt_topic_update_invalid.yaml | 61 ++-- ...topics.test_mgmt_topic_update_success.yaml | 95 +++--- .../tests/mgmt_tests/test_mgmt_queues.py | 24 +- .../tests/mgmt_tests/test_mgmt_rules.py | 9 +- .../mgmt_tests/test_mgmt_subscriptions.py | 15 +- .../tests/mgmt_tests/test_mgmt_topics.py | 14 +- 84 files changed, 4344 insertions(+), 2475 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py index fabd3f4ce14b..51b8dcbe5fd7 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py @@ -128,3 +128,21 @@ async def async_pageable_to_list(pageable): async for item in pageable: res.append(item) return res + + +async def clear_queues(servicebus_management_client): + queues = await async_pageable_to_list(servicebus_management_client.list_queues()) + for queue in queues: + try: + await servicebus_management_client.delete_queue(queue) + except: + pass + + +async def clear_topics(servicebus_management_client): + topics = await async_pageable_to_list(servicebus_management_client.list_topics()) + for topic in topics: + try: + await servicebus_management_client.delete_topic(topic) + except: + pass diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml index 3a2c138173ca..cb60c37f3645 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:06Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:06 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04eidk2020-06-30T18:57:43Z2020-06-30T18:57:43Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04eidk2020-07-02T06:04:06Z2020-07-02T06:04:06Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:43.77Z2020-06-30T18:57:43.837ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:06.657Z2020-07-02T06:04:06.763ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:44 GMT + date: Thu, 02 Jul 2020 06:04:07 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-06-30T18:57:43Z2020-06-30T18:57:43Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-07-02T06:04:06Z2020-07-02T06:04:06Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:43.77Z2020-06-30T18:57:43.837Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:06.657Z2020-07-02T06:04:06.763Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:44 GMT - etag: '637291402638370000' + date: Thu, 02 Jul 2020 06:04:07 GMT + etag: '637292666467630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:44 GMT - etag: '637291402638370000' + date: Thu, 02 Jul 2020 06:04:07 GMT + etag: '637292666467630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml index 3a231e0f46b2..1b0f098243a5 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:08Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:07 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-06-30T18:57:45Z2020-06-30T18:57:45Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-07-02T06:04:08Z2020-07-02T06:04:08Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:45.45Z2020-06-30T18:57:45.483ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:08.8Z2020-07-02T06:04:08.833ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:45 GMT + date: Thu, 02 Jul 2020 06:04:08 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: ' @@ -52,19 +74,19 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:871b755e-e463-4242-a950-5c434ccd21f3_G0, - SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-06-30T18:57:45 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:55eddc8a-0c9c-4242-88fc-41a623f6586d_G4, + SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-07-02T06:04:09 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:57:45 GMT - etag: '637291402654830000' + date: Thu, 02 Jul 2020 06:04:08 GMT + etag: '637292666488330000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: null headers: @@ -79,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:46 GMT - etag: '637291402654830000' + date: Thu, 02 Jul 2020 06:04:09 GMT + etag: '637292666488330000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml index 97b767789e6f..125d28a8265e 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:10Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-06-30T18:57:47Z2020-06-30T18:57:47Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-07-02T06:04:11Z2020-07-02T06:04:11Zservicebustest5levlyksxmPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:57:47.113Z2020-06-30T18:57:47.33ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T06:04:11.077Z2020-07-02T06:04:11.273ZtruePT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:47 GMT + date: Thu, 02 Jul 2020 06:04:11 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-06-30T18:57:47Z2020-06-30T18:57:47Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-07-02T06:04:11Z2020-07-02T06:04:11Zservicebustest5levlyksxmPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:57:47.113Z2020-06-30T18:57:47.33Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T06:04:11.077Z2020-07-02T06:04:11.273Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:47 GMT - etag: '637291402673300000' + date: Thu, 02 Jul 2020 06:04:11 GMT + etag: '637292666512730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:48 GMT - etag: '637291402673300000' + date: Thu, 02 Jul 2020 06:04:12 GMT + etag: '637292666512730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml index 3e7f5c7b6e7c..f18883f1527b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:13Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:13 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:48 GMT + date: Thu, 02 Jul 2020 06:04:14 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:49Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:14Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:49 GMT + date: Thu, 02 Jul 2020 06:04:14 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -78,21 +100,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:50 GMT + date: Thu, 02 Jul 2020 06:04:15 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -104,29 +126,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:51Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:48Z2020-06-30T18:57:48Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:15Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:48.887Z2020-06-30T18:57:48.92Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:50 GMT + date: Thu, 02 Jul 2020 06:04:15 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -141,14 +163,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:51 GMT - etag: '637291402689200000' + date: Thu, 02 Jul 2020 06:04:16 GMT + etag: '637292666536230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -160,23 +182,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:52Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:57:50Z2020-06-30T18:57:50Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:16Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:50.27Z2020-06-30T18:57:50.33Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:51 GMT + date: Thu, 02 Jul 2020 06:04:16 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -191,14 +213,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:52 GMT - etag: '637291402703300000' + date: Thu, 02 Jul 2020 06:04:17 GMT + etag: '637292666549000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -210,15 +232,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:53Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:17Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:52 GMT + date: Thu, 02 Jul 2020 06:04:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml index 22953f5dfbd4..4de2c8bec0eb 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:18Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:17 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:53Z2020-06-30T18:57:53Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:18Z2020-07-02T06:04:18Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:53.697Z2020-06-30T18:57:53.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:18.83Z2020-07-02T06:04:18.89ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:53 GMT + date: Thu, 02 Jul 2020 06:04:18 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:54Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:57:53Z2020-06-30T18:57:53Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:19Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:18Z2020-07-02T06:04:18Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:53.697Z2020-06-30T18:57:53.76Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:18.83Z2020-07-02T06:04:18.89Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:54 GMT + date: Thu, 02 Jul 2020 06:04:19 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -74,14 +96,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:57:54 GMT - etag: '637291402737600000' + date: Thu, 02 Jul 2020 06:04:19 GMT + etag: '637292666588900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -93,17 +115,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:57:55Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:20Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:55 GMT + date: Thu, 02 Jul 2020 06:04:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -116,18 +138,18 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:6df4eaf1-2894-4d41-ad49-60d3985ec665_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-06-30T18:57:56 + address. TrackingId:b7677f1e-0eb4-430b-bb95-f565b8cd4de4_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-07-02T06:04:21 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:57:55 GMT + date: Thu, 02 Jul 2020 06:04:20 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -140,16 +162,16 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:012b3f99-909f-47a5-9df4-0a8fb6caba4c_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-06-30T18:57:56 + address. TrackingId:3e9eaea5-07b9-4e8c-9512-f2a5bd5fea3f_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-07-02T06:04:21 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:57:55 GMT + date: Thu, 02 Jul 2020 06:04:21 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/non_existing_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/non_existing_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml index eefe696ba590..d848ada1c118 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:22Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:21 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-30T18:57:56Z2020-06-30T18:57:56Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04queue02020-07-02T06:04:22Z2020-07-02T06:04:22Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:56.93Z2020-06-30T18:57:56.973ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:22.717Z2020-07-02T06:04:22.757ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:57 GMT + date: Thu, 02 Jul 2020 06:04:22 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04 - request: body: ' @@ -50,21 +72,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:57:57Z2020-06-30T18:57:57Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T06:04:23Z2020-07-02T06:04:23Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:57.813Z2020-06-30T18:57:57.873ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:23.603Z2020-07-02T06:04:23.637ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:58 GMT + date: Thu, 02 Jul 2020 06:04:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04 - request: body: ' @@ -83,21 +105,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:57:58Z2020-06-30T18:57:58Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T06:04:24Z2020-07-02T06:04:24Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:58.763Z2020-06-30T18:57:58.83ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:24.45Z2020-07-02T06:04:24.49ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:57:59 GMT + date: Thu, 02 Jul 2020 06:04:24 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04 - request: body: ' @@ -116,21 +138,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:57:59Z2020-06-30T18:57:59Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T06:04:25Z2020-07-02T06:04:25Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:59.72Z2020-06-30T18:57:59.747ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:25.443Z2020-07-02T06:04:25.48ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:00 GMT + date: Thu, 02 Jul 2020 06:04:25 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04 - request: body: ' @@ -149,21 +171,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:58:00Z2020-06-30T18:58:00Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:00.7Z2020-06-30T18:58:00.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.393Z2020-07-02T06:04:26.483ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:01 GMT + date: Thu, 02 Jul 2020 06:04:26 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04 - request: body: ' @@ -182,21 +204,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:58:01Z2020-06-30T18:58:01Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T06:04:27Z2020-07-02T06:04:27Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:01.623Z2020-06-30T18:58:01.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:27.327Z2020-07-02T06:04:27.36ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:02 GMT + date: Thu, 02 Jul 2020 06:04:27 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04 - request: body: ' @@ -215,21 +237,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:58:02Z2020-06-30T18:58:02Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T06:04:28Z2020-07-02T06:04:28Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:02.577Z2020-06-30T18:58:02.683ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:28.32Z2020-07-02T06:04:28.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:03 GMT + date: Thu, 02 Jul 2020 06:04:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04 - request: body: ' @@ -248,21 +270,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:58:03Z2020-06-30T18:58:03Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T06:04:29Z2020-07-02T06:04:29Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:03.53Z2020-06-30T18:58:03.557ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:29.18Z2020-07-02T06:04:29.22ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:03 GMT + date: Thu, 02 Jul 2020 06:04:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04 - request: body: ' @@ -281,21 +303,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:58:04Z2020-06-30T18:58:04Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:04.403Z2020-06-30T18:58:04.443ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.113Z2020-07-02T06:04:30.173ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:04 GMT + date: Thu, 02 Jul 2020 06:04:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04 - request: body: ' @@ -314,21 +336,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:58:05Z2020-06-30T18:58:05Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T06:04:31Z2020-07-02T06:04:31Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:05.357Z2020-06-30T18:58:05.403ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:31.037Z2020-07-02T06:04:31.1ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:05 GMT + date: Thu, 02 Jul 2020 06:04:30 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: @@ -343,14 +365,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:06 GMT - etag: '637291402769730000' + date: Thu, 02 Jul 2020 06:04:31 GMT + etag: '637292666627570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04 - request: body: null headers: @@ -362,71 +384,71 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:06Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:57:57Z2020-06-30T18:57:57Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:32Zhttps://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T06:04:23Z2020-07-02T06:04:23Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:57.813Z2020-06-30T18:57:57.873Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:23.603Z2020-07-02T06:04:23.637Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:57:58Z2020-06-30T18:57:58Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T06:04:24Z2020-07-02T06:04:24Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:58.763Z2020-06-30T18:57:58.83Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:24.45Z2020-07-02T06:04:24.49Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:57:59Z2020-06-30T18:57:59Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T06:04:25Z2020-07-02T06:04:25Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:57:59.72Z2020-06-30T18:57:59.747Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:25.443Z2020-07-02T06:04:25.48Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:58:00Z2020-06-30T18:58:00Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:00.7Z2020-06-30T18:58:00.76Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.393Z2020-07-02T06:04:26.483Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:58:01Z2020-06-30T18:58:01Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T06:04:27Z2020-07-02T06:04:27Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:01.623Z2020-06-30T18:58:01.65Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:27.327Z2020-07-02T06:04:27.36Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:58:02Z2020-06-30T18:58:02Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T06:04:28Z2020-07-02T06:04:28Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:02.577Z2020-06-30T18:58:02.683Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:28.32Z2020-07-02T06:04:28.377Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:58:03Z2020-06-30T18:58:03Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T06:04:29Z2020-07-02T06:04:29Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:03.53Z2020-06-30T18:58:03.557Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:29.18Z2020-07-02T06:04:29.22Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:58:04Z2020-06-30T18:58:04Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:04.403Z2020-06-30T18:58:04.443Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.113Z2020-07-02T06:04:30.173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:58:05Z2020-06-30T18:58:05Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T06:04:31Z2020-07-02T06:04:31Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:05.357Z2020-06-30T18:58:05.403Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:31.037Z2020-07-02T06:04:31.1Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:06 GMT + date: Thu, 02 Jul 2020 06:04:31 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -441,14 +463,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:07 GMT - etag: '637291402778730000' + date: Thu, 02 Jul 2020 06:04:32 GMT + etag: '637292666636370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04 - request: body: null headers: @@ -463,14 +485,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:07 GMT - etag: '637291402788300000' + date: Thu, 02 Jul 2020 06:04:32 GMT + etag: '637292666644900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04 - request: body: null headers: @@ -485,14 +507,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:08 GMT - etag: '637291402797470000' + date: Thu, 02 Jul 2020 06:04:33 GMT + etag: '637292666654800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04 - request: body: null headers: @@ -507,14 +529,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:08 GMT - etag: '637291402807600000' + date: Thu, 02 Jul 2020 06:04:33 GMT + etag: '637292666664830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04 - request: body: null headers: @@ -529,14 +551,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:09 GMT - etag: '637291402816500000' + date: Thu, 02 Jul 2020 06:04:34 GMT + etag: '637292666673600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04 - request: body: null headers: @@ -551,14 +573,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:09 GMT - etag: '637291402826830000' + date: Thu, 02 Jul 2020 06:04:34 GMT + etag: '637292666683770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04 - request: body: null headers: @@ -573,14 +595,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:10 GMT - etag: '637291402835570000' + date: Thu, 02 Jul 2020 06:04:35 GMT + etag: '637292666692200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04 - request: body: null headers: @@ -595,14 +617,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:10 GMT - etag: '637291402844430000' + date: Thu, 02 Jul 2020 06:04:35 GMT + etag: '637292666701730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04 - request: body: null headers: @@ -617,14 +639,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:11 GMT - etag: '637291402854030000' + date: Thu, 02 Jul 2020 06:04:37 GMT + etag: '637292666711000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: @@ -636,15 +658,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:11Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:37Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:11 GMT + date: Thu, 02 Jul 2020 06:04:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml index 75d074800c03..3be893102f59 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:37Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:37 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:12Z2020-06-30T18:58:12Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:38Z2020-07-02T06:04:38Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:12.303Z2020-06-30T18:58:12.353ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:38.473Z2020-07-02T06:04:38.507ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:12 GMT + date: Thu, 02 Jul 2020 06:04:38 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-30T18:58:12Z2020-06-30T18:58:12Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-07-02T06:04:38Z2020-07-02T06:04:38Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:12.303Z2020-06-30T18:58:12.353Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:38.473Z2020-07-02T06:04:38.507Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:12 GMT - etag: '637291402923530000' + date: Thu, 02 Jul 2020 06:04:38 GMT + etag: '637292666785070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:13 GMT - etag: '637291402923530000' + date: Thu, 02 Jul 2020 06:04:39 GMT + etag: '637292666785070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml index 4a897664262b..69980c6d9b95 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml @@ -12,16 +12,16 @@ interactions: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:6b89d77f-3f52-439a-ae94-863d834feae7;id=518252020-06-30T18:58:14ZService + services currently available.uuid:816193bd-7a13-4f57-abef-c6ed3b39d216;id=470422020-07-02T06:04:40ZService Bus 1.1 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:13 GMT + date: Thu, 02 Jul 2020 06:04:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml index a5a329df397c..3292c96ab6aa 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml @@ -10,17 +10,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:14Z + string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:24Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:14 GMT + date: Thu, 02 Jul 2020 06:08:23 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:24Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:08:24 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:15Z2020-06-30T18:58:15Zservicebustestj4v3uzhevzhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:25Z2020-07-02T06:08:25Zservicebustestrp7fuwfdj2PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:15.307Z2020-06-30T18:58:15.34ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:25.31Z2020-07-02T06:08:25.337ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:15 GMT + date: Thu, 02 Jul 2020 06:08:25 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -65,23 +87,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:16Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:15Z2020-06-30T18:58:15Zservicebustestj4v3uzhevzQueueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:26Zhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:25Z2020-07-02T06:08:25Zservicebustestrp7fuwfdj2PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:15.307Z2020-06-30T18:58:15.34Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:25.31Z2020-07-02T06:08:25.337Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:16 GMT + date: Thu, 02 Jul 2020 06:08:25 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -96,14 +118,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:16 GMT - etag: '637291402953400000' + date: Thu, 02 Jul 2020 06:08:26 GMT + etag: '637292669053370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -115,17 +137,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:17Z + string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:27Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:16 GMT + date: Thu, 02 Jul 2020 06:08:26 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -137,17 +159,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:17Z + string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:27Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:17 GMT + date: Thu, 02 Jul 2020 06:08:27 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -166,21 +188,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:18Z2020-06-30T18:58:18Zservicebustestj4v3uzhevzhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:28Z2020-07-02T06:08:28Zservicebustestrp7fuwfdj2PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:18.24Z2020-06-30T18:58:18.28ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:28.147Z2020-07-02T06:08:28.173ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:18 GMT + date: Thu, 02 Jul 2020 06:08:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -192,23 +214,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:19Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:18Z2020-06-30T18:58:18Zservicebustestj4v3uzhevzQueueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:29Zhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:28Z2020-07-02T06:08:28Zservicebustestrp7fuwfdj2PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:18.24Z2020-06-30T18:58:18.28Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:28.147Z2020-07-02T06:08:28.173Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:18 GMT + date: Thu, 02 Jul 2020 06:08:28 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -223,14 +245,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:19 GMT - etag: '637291402982800000' + date: Thu, 02 Jul 2020 06:08:29 GMT + etag: '637292669081730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -242,15 +264,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:20Z + string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:30Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:19 GMT + date: Thu, 02 Jul 2020 06:08:29 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml index d6a19f18e475..43f1bc1fcdd4 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:20Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:48Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:19 GMT + date: Thu, 02 Jul 2020 06:04:47 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -32,17 +32,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:21Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:48Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:20 GMT + date: Thu, 02 Jul 2020 06:04:48 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:49Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -61,21 +83,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:21 GMT + date: Thu, 02 Jul 2020 06:04:49 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -87,23 +109,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:22Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:21 GMT + date: Thu, 02 Jul 2020 06:04:50 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -115,23 +137,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:22Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:58:21Z2020-06-30T18:58:21Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:21.507Z2020-06-30T18:58:21.543Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:21 GMT + date: Thu, 02 Jul 2020 06:04:50 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -146,14 +168,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:22 GMT - etag: '637291403015430000' + date: Thu, 02 Jul 2020 06:04:50 GMT + etag: '637292666895700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -165,15 +187,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:23Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:51Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:22 GMT + date: Thu, 02 Jul 2020 06:04:51 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml index 80285a26e935..f037c724f47b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml @@ -10,19 +10,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:fbdf20ee-89a1-4474-95e9-7479047249b4_G14, + string: 401claim is empty. TrackingId:6ea4d709-8d63-4810-b92e-b0f4647c6118_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-30T18:58:24 + Timestamp:2020-07-02T06:04:52 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:58:24 GMT + date: Thu, 02 Jul 2020 06:04:52 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -34,17 +34,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:5ecc3628-cbdf-463c-8983-46a2c64ef5f6_G4, + string: 401claim is empty. TrackingId:f748baba-e251-4863-b082-2aadfe6d9dfe_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-30T18:58:24 + Timestamp:2020-07-02T06:04:52 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:58:23 GMT + date: Thu, 02 Jul 2020 06:04:51 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml index 40abe6a23f0d..2fe7d19ce4c1 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml @@ -10,17 +10,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:25Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:52Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:24 GMT + date: Thu, 02 Jul 2020 06:04:51 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:53Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:52 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:58:25Z2020-06-30T18:58:25Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:53Z2020-07-02T06:04:53Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:25.763Z2020-06-30T18:58:25.8ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:53.713Z2020-07-02T06:04:53.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:25 GMT + date: Thu, 02 Jul 2020 06:04:53 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -65,23 +87,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:26Zhttps://servicebustestj4v3uzhevz.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:58:25Z2020-06-30T18:58:25Zservicebustestj4v3uzhevzQueueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:54Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:53Z2020-07-02T06:04:53Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:25.763Z2020-06-30T18:58:25.8Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:53.713Z2020-07-02T06:04:53.79Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:26 GMT + date: Thu, 02 Jul 2020 06:04:53 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -96,14 +118,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:26 GMT - etag: '637291403058000000' + date: Thu, 02 Jul 2020 06:04:55 GMT + etag: '637292666937900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -115,15 +137,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:58:27Z + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:55Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:27 GMT + date: Thu, 02 Jul 2020 06:04:55 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml index 8c326f6f2730..66ea5737f19d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:56Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:55 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-06-30T18:58:28Z2020-06-30T18:58:28Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-07-02T06:04:56Z2020-07-02T06:04:56Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.35ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:56.54Z2020-07-02T06:04:56.6ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:28 GMT + date: Thu, 02 Jul 2020 06:04:56 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -55,25 +77,25 @@ interactions: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:5ebfb5db-4d6c-49cf-9083-a6465ee85599_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, - Timestamp:2020-06-30T18:58:28 + . TrackingId:6e78df5b-7ea1-4c5b-ad9a-b7bbbbb7be0e_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, + Timestamp:2020-07-02T06:04:57 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:58:28 GMT - etag: '637291403083500000' + date: Thu, 02 Jul 2020 06:04:56 GMT + etag: '637292666966000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -91,24 +113,24 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:7b7c08a2-dde1-4160-a639-ef8c44968015_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, - Timestamp:2020-06-30T18:58:29 + . TrackingId:5ce751c4-5590-4fa6-a513-e833c3328a2f_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, + Timestamp:2020-07-02T06:04:57 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:58:28 GMT + date: Thu, 02 Jul 2020 06:04:57 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/dkfrgx?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkfrgx?api-version=2017-04 - request: body: ' P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:28.217Z2020-06-30T18:58:28.350ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -130,19 +152,19 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:0b23c204-7a19-4aff-a97a-d0f51d3b6106_G12, - SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-06-30T18:58:29' + Actual value was 25.00:00:00. TrackingId:14dfc377-879d-4a0b-b1d7-b7ac2d6489cc_G5, + SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-07-02T06:04:57' headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:58:28 GMT - etag: '637291403083500000' + date: Thu, 02 Jul 2020 06:04:57 GMT + etag: '637292666966000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: null headers: @@ -157,12 +179,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:29 GMT - etag: '637291403083500000' + date: Thu, 02 Jul 2020 06:04:57 GMT + etag: '637292666966000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml index 26e6b230b165..d3a11852f52c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:59Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:04:59 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:04:59Zservicebustest5levlyksxmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:30 GMT + date: Thu, 02 Jul 2020 06:05:00 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T06:04:59.700Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -53,22 +75,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:05:00Zservicebustest5levlyksxmPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.047ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:30 GMT - etag: '637291403110470000' + date: Thu, 02 Jul 2020 06:05:00 GMT + etag: '637292666997770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: @@ -80,30 +102,30 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:05:00Zservicebustest5levlyksxmPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:31 GMT - etag: '637291403115130000' + date: Thu, 02 Jul 2020 06:05:00 GMT + etag: '637292667003130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-07-02T06:04:59.700Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -119,23 +141,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-06-30T18:58:31Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:05:00Zservicebustest5levlyksxmPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.513Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:31 GMT - etag: '637291403115130000' + date: Thu, 02 Jul 2020 06:05:00 GMT + etag: '637292667003130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: @@ -147,23 +169,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-06-30T18:58:31Z2020-06-30T18:58:31Zservicebustestj4v3uzhevzhttps://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:05:00Zservicebustest5levlyksxmPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:58:31.017Z2020-06-30T18:58:31.76Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.46Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:58:31 GMT - etag: '637291403117600000' + date: Thu, 02 Jul 2020 06:05:00 GMT + etag: '637292667004600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: null headers: @@ -178,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:58:31 GMT - etag: '637291403117600000' + date: Thu, 02 Jul 2020 06:05:01 GMT + etag: '637292667004600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestj4v3uzhevz.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml index 6c0a1d16864b..1ae5e27da0e4 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:01Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:01 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:59:47Z2020-06-30T18:59:47Zservicebustest6jzzm57comhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:02Z2020-07-02T06:05:02Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:47.023Z2020-06-30T18:59:47.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:02.167Z2020-07-02T06:05:02.203ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:46 GMT + date: Thu, 02 Jul 2020 06:05:02 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:59:47Z2020-06-30T18:59:47Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T06:05:02Z2020-07-02T06:05:02ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:47.5289431Z2020-06-30T18:59:47.5289431Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:02.6809266Z2020-07-02T06:05:02.6809266Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:46 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: ' @@ -86,23 +108,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:47Z2020-06-30T18:59:47Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:02Z2020-07-02T06:05:02ZtestcidSET Priority = 'low'202020-06-30T18:59:47.841478Ztest_rule_1 + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T06:05:02.9777986Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -114,23 +136,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-06-30T18:59:47Z2020-06-30T18:59:47Zsb://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-07-02T06:05:02Z2020-07-02T06:05:02ZtestcidSET Priority = 'low'202020-06-30T18:59:47.8604832Ztest_rule_1 + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T06:05:02.9848695Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 - request: body: ' @@ -151,24 +173,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:47Z2020-06-30T18:59:47Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T06:05:03Z2020-07-02T06:05:03ZPriority = 'low'202020-06-30T18:59:47.9976758Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T06:05:03.087174Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -180,24 +202,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-06-30T18:59:48Z2020-06-30T18:59:48Zsb://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-07-02T06:05:03Z2020-07-02T06:05:03ZPriority = 'low'202020-06-30T18:59:48.001119Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T06:05:03.0942588Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 - request: body: ' @@ -218,23 +240,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:48Z2020-06-30T18:59:48Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:03Z2020-07-02T06:05:03Z1=1202020-06-30T18:59:48.1226795Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T06:05:03.2277809Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -246,23 +268,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-06-30T18:59:48Z2020-06-30T18:59:48Zsb://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-07-02T06:05:03Z2020-07-02T06:05:03Z1=1202020-06-30T18:59:48.1261681Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T06:05:03.2348363Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 - request: body: null headers: @@ -277,14 +299,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:02 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -299,14 +321,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:03 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -321,14 +343,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:03 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -343,14 +365,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:47 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:03 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -365,12 +387,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:48 GMT - etag: '637291403870600000' + date: Thu, 02 Jul 2020 06:05:03 GMT + etag: '637292667022030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml index aa169800dd34..346613b03c38 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:04Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:04 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:59:49Z2020-06-30T18:59:49Zservicebustest6jzzm57comhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:05Z2020-07-02T06:05:05Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:49.59Z2020-06-30T18:59:49.653ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:05.173Z2020-07-02T06:05:05.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:49 GMT + date: Thu, 02 Jul 2020 06:05:05 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:59:50Z2020-06-30T18:59:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T06:05:05Z2020-07-02T06:05:05ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:50.1724576Z2020-06-30T18:59:50.1724576Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:05.6834019Z2020-07-02T06:05:05.6834019Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:49 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:05 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' @@ -86,24 +108,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-06-30T18:59:50Z2020-06-30T18:59:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-07-02T06:05:05Z2020-07-02T06:05:05ZPriority = 'low'202020-06-30T18:59:50.4068227Zrule + i:type="EmptyRuleAction"/>2020-07-02T06:05:05.9958288Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:49 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:05 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: ' @@ -125,19 +147,19 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:c58c11be-b4df-46e1-a4cc-ecc3ddfffc9f_B13, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:59:50 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f9f7a3a8-6c42-4729-aa97-a7986ded6f38_B9, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:06 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:59:51 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:06 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: @@ -152,14 +174,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:51 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:06 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: @@ -174,14 +196,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:51 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:06 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -196,12 +218,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:51 GMT - etag: '637291403896530000' + date: Thu, 02 Jul 2020 06:05:07 GMT + etag: '637292667052100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml index 93815a414a5b..8da523145b8c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:08Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:07 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:59:52Z2020-06-30T18:59:52Zservicebustest6jzzm57comhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:09Z2020-07-02T06:05:09Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:52.887Z2020-06-30T18:59:52.933ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:09.037Z2020-07-02T06:05:09.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:52 GMT + date: Thu, 02 Jul 2020 06:05:08 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:59:53Z2020-06-30T18:59:53Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T06:05:09Z2020-07-02T06:05:09ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:53.4632888Z2020-06-30T18:59:53.4632888Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:09.6338697Z2020-07-02T06:05:09.6338697Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:08 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -77,25 +99,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:53Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53ZRuleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:09Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09Z1=1202020-06-30T18:59:53.4688015Z$Default + i:type="EmptyRuleAction"/>2020-07-02T06:05:09.6380691Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:08 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -116,24 +138,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09ZPriority = 'low'202020-06-30T18:59:53.8070227Ztest_rule_1 + i:type="EmptyRuleAction"/>2020-07-02T06:05:09.9775989Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: ' @@ -154,24 +176,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:53Z2020-06-30T18:59:53Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T06:05:10Z2020-07-02T06:05:10ZPriority = 'middle'202020-06-30T18:59:53.8856588Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T06:05:10.0557241Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: ' @@ -192,24 +214,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:53Z2020-06-30T18:59:53Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10ZPriority = 'high'202020-06-30T18:59:53.9949879Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T06:05:10.2119905Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -221,46 +243,46 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53ZRuleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09Z1=1202020-06-30T18:59:53.4688015Z$Defaulthttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53Z2020-07-02T06:05:09.6380691Z$Defaulthttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09ZPriority = 'low'202020-06-30T18:59:53.8126165Ztest_rule_1https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:59:53Z2020-06-30T18:59:53Z2020-07-02T06:05:09.9661758Ztest_rule_1https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T06:05:10Z2020-07-02T06:05:10ZPriority = 'middle'202020-06-30T18:59:53.8914104Ztest_rule_2https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:54Z2020-06-30T18:59:54Z2020-07-02T06:05:10.0599015Ztest_rule_2https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10ZPriority = 'high'202020-06-30T18:59:54.0008033Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T06:05:10.2161502Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -275,14 +297,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -294,39 +316,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53ZRuleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09Z1=1202020-06-30T18:59:53.4688015Z$Defaulthttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:59:53Z2020-06-30T18:59:53Z2020-07-02T06:05:09.6380691Z$Defaulthttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09ZPriority = 'low'202020-06-30T18:59:53.8126165Ztest_rule_1https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:59:54Z2020-06-30T18:59:54Z2020-07-02T06:05:09.9661758Ztest_rule_1https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10ZPriority = 'high'202020-06-30T18:59:54.0008033Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T06:05:10.2161502Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -341,14 +363,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -363,14 +385,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -382,25 +404,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:59:54Zhttps://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:59:53Z2020-06-30T18:59:53ZRuleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09Z1=1202020-06-30T18:59:53.4688015Z$Default + i:type="EmptyRuleAction"/>2020-07-02T06:05:09.6380691Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -415,14 +437,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:53 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:09 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -437,12 +459,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:54 GMT - etag: '637291403929330000' + date: Thu, 02 Jul 2020 06:05:10 GMT + etag: '637292667091100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml index 34df8a99a707..0c7b3cdf15d1 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:11Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:59:55Z2020-06-30T18:59:55Zservicebustest6jzzm57comhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:12Z2020-07-02T06:05:12Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:55.483Z2020-06-30T18:59:55.513ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:12.223Z2020-07-02T06:05:12.32ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:55 GMT + date: Thu, 02 Jul 2020 06:05:11 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:59:55Z2020-06-30T18:59:55Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:12Z2020-07-02T06:05:12ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:55.9712612Z2020-06-30T18:59:55.9712612Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:12.7588531Z2020-07-02T06:05:12.7588531Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:56 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:12 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' @@ -86,24 +108,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:56Z2020-06-30T18:59:56Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:13Z2020-07-02T06:05:13ZPriority = 'low'202020-06-30T18:59:56.2056524Zrule + i:type="EmptyRuleAction"/>2020-07-02T06:05:13.0869586Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:56 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:12 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -115,31 +137,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:56Z2020-06-30T18:59:56Zsb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:13Z2020-07-02T06:05:13ZPriority = 'low'202020-06-30T18:59:56.1917046Zrule + i:type="EmptyRuleAction"/>2020-07-02T06:05:13.089767Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:56 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:12 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' Priority = ''low''2020-06-30T18:59:56.191704Ziewdm' + xsi:type="EmptyRuleAction" />2020-07-02T06:05:13.089767Ziewdm' headers: Accept: - application/xml @@ -156,19 +178,19 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:044a04eb-a851-49e0-a703-5ad3d533da60_B13, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:59:56 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:68ba35f0-0933-4bb8-8abc-d0eb496212cd_B7, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:13 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 18:59:57 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:14 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 - request: body: null headers: @@ -183,14 +205,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:57 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:14 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -205,14 +227,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:57 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:14 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -227,12 +249,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:57 GMT - etag: '637291403955130000' + date: Thu, 02 Jul 2020 06:05:14 GMT + etag: '637292667123200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml index 8a52e8bb0c25..4aae782d9d78 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:15Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:15 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:59:58Z2020-06-30T18:59:58Zservicebustest6jzzm57comhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:15Z2020-07-02T06:05:16Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:59:58.483Z2020-06-30T18:59:58.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:15.947Z2020-07-02T06:05:16.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:58 GMT + date: Thu, 02 Jul 2020 06:05:16 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:59:58Z2020-06-30T18:59:58Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:16Z2020-07-02T06:05:16ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:59:58.9923491Z2020-06-30T18:59:58.9923491Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:16.5474086Z2020-07-02T06:05:16.5474086Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:58 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' @@ -86,24 +108,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16ZPriority = 'low'202020-06-30T18:59:59.3829739Zrule + i:type="EmptyRuleAction"/>2020-07-02T06:05:16.7974449Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:58 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -115,31 +137,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59Zsb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16ZPriority = 'low'202020-06-30T18:59:59.3870666Zrule + i:type="EmptyRuleAction"/>2020-07-02T06:05:16.8002336Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:58 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' testcidSET Priority = ''low''2020-06-30T18:59:59.387066Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''2020-07-02T06:05:16.800233Zrule' headers: Accept: - application/xml @@ -155,23 +177,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16ZtestcidSET Priority = 'low'202020-06-30T18:59:59.5860918Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T06:05:16.9072254Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:59 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -183,23 +205,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:59:59Z2020-06-30T18:59:59Zsb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16ZtestcidSET Priority = 'low'202020-06-30T18:59:59.3870666Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T06:05:16.8002336Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 18:59:59 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: null headers: @@ -214,14 +236,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:59 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -236,14 +258,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:59 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:16 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -258,12 +280,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 18:59:59 GMT - etag: '637291403985400000' + date: Thu, 02 Jul 2020 06:05:17 GMT + etag: '637292667160030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest6jzzm57com.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml index 3a066a748c51..3a8dfef8b261 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:18Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:17 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T19:01:15Z2020-06-30T19:01:15Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:18Z2020-07-02T06:05:18Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:15.04Z2020-06-30T19:01:15.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:18.587Z2020-07-02T06:05:18.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:14 GMT + date: Thu, 02 Jul 2020 06:05:18 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T19:01:15Z2020-06-30T19:01:15Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T06:05:19Z2020-07-02T06:05:19ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:15.6332431Z2020-06-30T19:01:15.6332431Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:19.108854Z2020-07-02T06:05:19.108854Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:15 GMT - etag: '637291404751200000' + date: Thu, 02 Jul 2020 06:05:18 GMT + etag: '637292667186470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -77,23 +99,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-06-30T19:01:15Z2020-06-30T19:01:15Zsb://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-07-02T06:05:19Z2020-07-02T06:05:19ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:15.6279104Z2020-06-30T19:01:15.6279104Z2020-06-30T19:01:15.6279104ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:19.1114288Z2020-07-02T06:05:19.1114288Z2020-07-02T06:05:19.1114288Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:15 GMT - etag: '637291404751200000' + date: Thu, 02 Jul 2020 06:05:18 GMT + etag: '637292667186470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -108,14 +130,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:15 GMT - etag: '637291404751200000' + date: Thu, 02 Jul 2020 06:05:18 GMT + etag: '637292667186470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -130,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:15 GMT - etag: '637291404751200000' + date: Thu, 02 Jul 2020 06:05:19 GMT + etag: '637292667186470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml index aa332e4c0f93..9c3892dc2b7c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:20Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:19 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T19:01:17Z2020-06-30T19:01:17Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:21Z2020-07-02T06:05:21Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:17.167Z2020-06-30T19:01:17.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:21.103Z2020-07-02T06:05:21.22ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:17 GMT + date: Thu, 02 Jul 2020 06:05:21 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T19:01:17Z2020-06-30T19:01:17Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T06:05:21Z2020-07-02T06:05:21ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:17.6684814Z2020-06-30T19:01:17.6684814Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:21.72853Z2020-07-02T06:05:21.72853Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:17 GMT - etag: '637291404772100000' + date: Thu, 02 Jul 2020 06:05:21 GMT + etag: '637292667212200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' @@ -85,19 +107,19 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:6adf3455-9fed-4425-b72c-ffbe89c8c8b7_B11, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T19:01:17 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a00a14e0-9a3e-44e3-916d-69b7da98a154_B0, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:21 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:01:18 GMT - etag: '637291404772100000' + date: Thu, 02 Jul 2020 06:05:22 GMT + etag: '637292667212200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -112,14 +134,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:18 GMT - etag: '637291404772100000' + date: Thu, 02 Jul 2020 06:05:22 GMT + etag: '637292667212200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -134,12 +156,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:18 GMT - etag: '637291404772100000' + date: Thu, 02 Jul 2020 06:05:23 GMT + etag: '637292667212200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml index be6762d1e1e8..8d2d0585cc25 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:24Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:23 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T19:01:19Z2020-06-30T19:01:19Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T06:05:24Z2020-07-02T06:05:24Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:19.817Z2020-06-30T19:01:19.85ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:24.56Z2020-07-02T06:05:24.627ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:20 GMT + date: Thu, 02 Jul 2020 06:05:24 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-06-30T19:01:20Z2020-06-30T19:01:20Zhttps://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-07-02T06:05:25Z2020-07-02T06:05:25ZPT13StruePT11Mtruetrue014trueActive2020-06-30T19:01:20.3240469Z2020-06-30T19:01:20.3240469Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-07-02T06:05:25.0794503Z2020-07-02T06:05:25.0794503Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:20 GMT - etag: '637291404798500000' + date: Thu, 02 Jul 2020 06:05:24 GMT + etag: '637292667246270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: @@ -77,23 +99,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-06-30T19:01:20Z2020-06-30T19:01:20Zsb://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-07-02T06:05:25Z2020-07-02T06:05:25ZPT13StruePT11Mtruetrue014trueActive2020-06-30T19:01:20.3317718Z2020-06-30T19:01:20.3317718Z2020-06-30T19:01:20.333ZPT13StruePT11Mtruetrue014trueActive2020-07-02T06:05:25.0871174Z2020-07-02T06:05:25.0871174Z2020-07-02T06:05:25.0871174Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:20 GMT - etag: '637291404798500000' + date: Thu, 02 Jul 2020 06:05:25 GMT + etag: '637292667246270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 - request: body: null headers: @@ -108,14 +130,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:20 GMT - etag: '637291404798500000' + date: Thu, 02 Jul 2020 06:05:25 GMT + etag: '637292667246270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: @@ -130,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:20 GMT - etag: '637291404798500000' + date: Thu, 02 Jul 2020 06:05:25 GMT + etag: '637292667246270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml index fdca3316c270..4accab6f1ff2 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:26Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:26 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-06-30T19:01:21Z2020-06-30T19:01:21Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-07-02T06:05:26Z2020-07-02T06:05:27Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:21.573Z2020-06-30T19:01:21.673ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:26.967Z2020-07-02T06:05:27.037ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT + date: Thu, 02 Jul 2020 06:05:27 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.1916151Z2020-06-30T19:01:22.1916151Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4897912Z2020-07-02T06:05:27.4897912Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: @@ -77,25 +99,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -114,22 +136,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4622494Z2020-06-30T19:01:22.4622494Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7865921Z2020-07-02T06:05:27.7865921Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: @@ -141,31 +163,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -177,23 +199,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-06-30T19:01:22Z2020-06-30T19:01:22Zsb://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547Z2020-06-30T19:01:22.187547ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 - request: body: null headers: @@ -208,14 +230,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: @@ -227,25 +249,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T19:01:22Z2020-06-30T19:01:22ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755Z2020-06-30T19:01:22.4687755ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -260,14 +282,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:27 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: @@ -279,19 +301,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:22Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:28Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:21 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:28 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -306,12 +328,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:22 GMT - etag: '637291404816730000' + date: Thu, 02 Jul 2020 06:05:28 GMT + etag: '637292667270370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml index 2ef5d30da1aa..9f1e12a1c014 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:29Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:28 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-06-30T19:01:23Z2020-06-30T19:01:23Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-07-02T06:05:29Z2020-07-02T06:05:29Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:23.82Z2020-06-30T19:01:23.873ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:29.477Z2020-07-02T06:05:29.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:23 GMT + date: Thu, 02 Jul 2020 06:05:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04 - request: body: ' @@ -50,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-06-30T19:01:24Z2020-06-30T19:01:24Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-07-02T06:05:30Z2020-07-02T06:05:30ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:24.331682Z2020-06-30T19:01:24.331682Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:30.0706282Z2020-07-02T06:05:30.0706282Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:23 GMT - etag: '637291404838730000' + date: Thu, 02 Jul 2020 06:05:30 GMT + etag: '637292667295400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 - request: body: null headers: @@ -77,23 +99,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-06-30T19:01:24Z2020-06-30T19:01:24Zsb://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-07-02T06:05:30Z2020-07-02T06:05:30ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:24.3332718Z2020-06-30T19:01:24.3332718Z2020-06-30T19:01:24.3332718ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:30.0764416Z2020-07-02T06:05:30.0764416Z2020-07-02T06:05:30.077Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:23 GMT - etag: '637291404838730000' + date: Thu, 02 Jul 2020 06:05:30 GMT + etag: '637292667295400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 - request: body: null headers: @@ -108,14 +130,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:23 GMT - etag: '637291404838730000' + date: Thu, 02 Jul 2020 06:05:30 GMT + etag: '637292667295400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 - request: body: null headers: @@ -130,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:24 GMT - etag: '637291404838730000' + date: Thu, 02 Jul 2020 06:05:30 GMT + etag: '637292667295400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dcvxqa?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml index 3c2ae9b57fd8..4ffbd326d711 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:31Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:31 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-06-30T19:01:25Z2020-06-30T19:01:25Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-07-02T06:05:31Z2020-07-02T06:05:32Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:25.66Z2020-06-30T19:01:25.69ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:31.99Z2020-07-02T06:05:32.03ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:25 GMT + date: Thu, 02 Jul 2020 06:05:32 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04 - request: body: null headers: @@ -43,19 +65,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:32Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:25 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -74,22 +96,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T19:01:26Z2020-06-30T19:01:26Zhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T06:05:32Z2020-07-02T06:05:32ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.2094613Z2020-06-30T19:01:26.2094613Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.5871316Z2020-07-02T06:05:32.5871316Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: ' @@ -108,22 +130,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T19:01:26Z2020-06-30T19:01:26Zhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T06:05:32Z2020-07-02T06:05:32ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.4124426Z2020-06-30T19:01:26.4124426Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.8684518Z2020-07-02T06:05:32.8684518Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: @@ -135,31 +157,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T19:01:26Z2020-06-30T19:01:26ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:33Zhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T06:05:32Z2020-07-02T06:05:32ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.2008717Z2020-06-30T19:01:26.2008717Z2020-06-30T19:01:26.2008717ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.5987936Z2020-07-02T06:05:32.5987936Z2020-07-02T06:05:32.6Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T19:01:26Z2020-06-30T19:01:26Zhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T06:05:32Z2020-07-02T06:05:32ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:26.4040013Z2020-06-30T19:01:26.4040013Z2020-06-30T19:01:26.4040013ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.8800426Z2020-07-02T06:05:32.8800426Z2020-07-02T06:05:32.8800426Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -174,14 +196,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: null headers: @@ -196,14 +218,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: @@ -215,19 +237,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:26Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:33Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:32 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -242,12 +264,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:26 GMT - etag: '637291404856900000' + date: Thu, 02 Jul 2020 06:05:33 GMT + etag: '637292667320300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml index 73b3b817c298..2ffcacfa3160 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:34Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:33 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-06-30T19:01:27Z2020-06-30T19:01:28Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-07-02T06:05:34Z2020-07-02T06:05:34Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:27.943Z2020-06-30T19:01:28.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:34.66Z2020-07-02T06:05:34.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT + date: Thu, 02 Jul 2020 06:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04 - request: body: null headers: @@ -43,19 +65,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:34 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -67,19 +89,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:34 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -98,22 +120,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6384594Z2020-06-30T19:01:28.6384594Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2698041Z2020-07-02T06:05:35.2698041Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:34 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 - request: body: null headers: @@ -125,25 +147,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.27Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:34 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -155,25 +177,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:28Zhttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T19:01:28Z2020-06-30T19:01:28ZSubscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255Z2020-06-30T19:01:28.6478255ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.27Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:35 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -188,14 +210,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:35 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 - request: body: null headers: @@ -207,19 +229,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T19:01:29Z + string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:28 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:35 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -234,12 +256,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:29 GMT - etag: '637291404880770000' + date: Thu, 02 Jul 2020 06:05:35 GMT + etag: '637292667347500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dkoamv?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml index ddaf97e260b6..fbcad63469e6 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:36Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:36 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T19:01:30Z2020-06-30T19:01:30Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T06:05:37Z2020-07-02T06:05:37Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:30.277Z2020-06-30T19:01:30.31ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:37.25Z2020-07-02T06:05:37.29ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:29 GMT + date: Thu, 02 Jul 2020 06:05:37 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' @@ -50,32 +72,32 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-06-30T19:01:30Z2020-06-30T19:01:30Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-07-02T06:05:37Z2020-07-02T06:05:37ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:37.7874307Z2020-07-02T06:05:37.7874307Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:30 GMT - etag: '637291404903100000' + date: Thu, 02 Jul 2020 06:05:37 GMT + etag: '637292667372900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:37.78743Z2020-07-02T06:05:37.78743Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1015' + - '1013' Content-Type: - application/atom+xml If-Match: @@ -87,29 +109,29 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:237909fe-3fd0-4495-a42c-3d84f631a7d4_B6, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T19:01:31 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:5ba1053f-829d-45d5-b4ba-f1368c0c8495_B2, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:37 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:01:31 GMT - etag: '637291404903100000' + date: Thu, 02 Jul 2020 06:05:38 GMT + etag: '637292667372900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 - request: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:30.801543Z2020-06-30T19:01:30.801543Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:37.78743Z2020-07-02T06:05:37.78743Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1015' + - '1013' Content-Type: - application/atom+xml If-Match: @@ -126,19 +148,19 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:af03ea2c-fade-46cf-9f62-088c2de16cd0_G0, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-06-30T19:01:32' + Actual value was 25.00:00:00. TrackingId:604322aa-3599-4d32-ac97-f1803911621f_G5, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-07-02T06:05:38' headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:01:31 GMT - etag: '637291404903100000' + date: Thu, 02 Jul 2020 06:05:39 GMT + etag: '637292667372900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 - request: body: null headers: @@ -153,14 +175,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:32 GMT - etag: '637291404903100000' + date: Thu, 02 Jul 2020 06:05:39 GMT + etag: '637292667372900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: null headers: @@ -175,12 +197,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:32 GMT - etag: '637291404903100000' + date: Thu, 02 Jul 2020 06:05:40 GMT + etag: '637292667372900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml index 934e060bdf84..883c81d896a7 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:41Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:01:34Z2020-06-30T19:01:34Zservicebusteste7tnsy7revhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:41Z2020-07-02T06:05:41Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:01:34.153Z2020-06-30T19:01:34.203ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:41.593Z2020-07-02T06:05:41.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT + date: Thu, 02 Jul 2020 06:05:41 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -50,27 +72,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:34Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T19:01:34.6853135Z2020-06-30T19:01:34.6853135Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:42.134715Z2020-07-02T06:05:42.134715Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.685313Z2020-06-30T19:01:34.685313Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.134715Z2020-07-02T06:05:42.134715Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -86,22 +108,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:34Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.9978247Z2020-06-30T19:01:34.9978247Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.901395Z2020-07-02T06:05:42.901395Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -113,29 +135,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:35Zsb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T19:01:34.6885475Z2020-06-30T19:01:35.0010351Z2020-06-30T19:01:34.69ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.1327182Z2020-07-02T06:05:42.9139612Z2020-07-02T06:05:42.133Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:34.688547Z2020-06-30T19:01:35.001035Z2020-06-30T19:01:34.690Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:42.132718Z2020-07-02T06:05:42.913961Z2020-07-02T06:05:42.133Z00000PT10MAvailable' headers: Accept: - application/xml @@ -151,22 +173,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T19:01:35Z2020-06-30T19:01:35Zhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:43Z2020-07-02T06:05:43ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:35.0915968Z2020-06-30T19:01:35.0915968Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:43.0107454Z2020-07-02T06:05:43.0107454Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -178,23 +200,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T19:01:34Z2020-06-30T19:01:35Zsb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:43ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T19:01:34.6885475Z2020-06-30T19:01:35.1260519Z2020-06-30T19:01:34.69ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:42.1327182Z2020-07-02T06:05:43.0077112Z2020-07-02T06:05:42.133Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:01:34 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: null headers: @@ -209,14 +231,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:35 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:42 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -231,12 +253,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:01:35 GMT - etag: '637291404942030000' + date: Thu, 02 Jul 2020 06:05:43 GMT + etag: '637292667416400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebusteste7tnsy7rev.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml index 1a8dd115deed..335e3d2e1656 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:44Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:43 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T19:03:03Z2020-06-30T19:03:03Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:44Z2020-07-02T06:05:44Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:03.433Z2020-06-30T19:03:03.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:44.767Z2020-07-02T06:05:44.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:03 GMT + date: Thu, 02 Jul 2020 06:05:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-06-30T19:03:03Z2020-06-30T19:03:03Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-07-02T06:05:44Z2020-07-02T06:05:44Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:03.433Z2020-06-30T19:03:03.493Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:44.767Z2020-07-02T06:05:44.803Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:03 GMT - etag: '637291405834930000' + date: Thu, 02 Jul 2020 06:05:44 GMT + etag: '637292667448030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:04 GMT - etag: '637291405834930000' + date: Thu, 02 Jul 2020 06:05:45 GMT + etag: '637292667448030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml index ad977b24ce58..b136956ff61b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:46Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:46 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T19:03:04Z2020-06-30T19:03:05Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:47Z2020-07-02T06:05:47Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:04.94Z2020-06-30T19:03:05.02ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:47.083Z2020-07-02T06:05:47.14ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:05 GMT + date: Thu, 02 Jul 2020 06:05:47 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -52,19 +74,19 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:a71e5185-922a-46be-b3a5-54a715536e19_G3, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-06-30T19:03:05 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:f25a2e69-120b-4b10-9d71-dc31c1f40c4d_G11, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-07-02T06:05:47 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:03:05 GMT - etag: '637291405850200000' + date: Thu, 02 Jul 2020 06:05:47 GMT + etag: '637292667471400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: null headers: @@ -79,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:05 GMT - etag: '637291405850200000' + date: Thu, 02 Jul 2020 06:05:47 GMT + etag: '637292667471400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml index 0349cc945799..0615775da0bf 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:48Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:47 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T19:03:06Z2020-06-30T19:03:07Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T06:05:49Z2020-07-02T06:05:49Zservicebustest5levlyksxmPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T19:03:06.83Z2020-06-30T19:03:07.04ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T06:05:49.287Z2020-07-02T06:05:49.46ZfalsePT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:06 GMT + date: Thu, 02 Jul 2020 06:05:48 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T19:03:06Z2020-06-30T19:03:07Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T06:05:49Z2020-07-02T06:05:49Zservicebustest5levlyksxmPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T19:03:06.83Z2020-06-30T19:03:07.04Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T06:05:49.287Z2020-07-02T06:05:49.46Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:06 GMT - etag: '637291405870400000' + date: Thu, 02 Jul 2020 06:05:48 GMT + etag: '637292667494600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:07 GMT - etag: '637291405870400000' + date: Thu, 02 Jul 2020 06:05:50 GMT + etag: '637292667494600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml index d32b855c6577..9801890968b1 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:51Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:50 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.637Z2020-07-02T06:05:51.663ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:08 GMT + date: Thu, 02 Jul 2020 06:05:51 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:09Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:52Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.637Z2020-07-02T06:05:51.663Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:08 GMT + date: Thu, 02 Jul 2020 06:05:52 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -78,21 +100,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:09 GMT + date: Thu, 02 Jul 2020 06:05:53 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -104,29 +126,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:10Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:54Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.6573806Z2020-07-02T06:05:51.6573806Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:10 GMT + date: Thu, 02 Jul 2020 06:05:53 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -138,23 +160,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T19:03:08Z2020-06-30T19:03:08Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:08.767Z2020-06-30T19:03:08.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.6573806Z2020-07-02T06:05:51.6573806Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:10 GMT - etag: '637291405888070000' + date: Thu, 02 Jul 2020 06:05:53 GMT + etag: '637292667516630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 - request: body: null headers: @@ -169,14 +191,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:10 GMT - etag: '637291405888070000' + date: Thu, 02 Jul 2020 06:05:54 GMT + etag: '637292667516630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -188,23 +210,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:11Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:55Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:11 GMT + date: Thu, 02 Jul 2020 06:05:54 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -216,23 +238,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-06-30T19:03:10Z2020-06-30T19:03:10Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:10.06Z2020-06-30T19:03:10.09Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:11 GMT - etag: '637291405900900000' + date: Thu, 02 Jul 2020 06:05:54 GMT + etag: '637292667531530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 - request: body: null headers: @@ -247,14 +269,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:11 GMT - etag: '637291405900900000' + date: Thu, 02 Jul 2020 06:05:55 GMT + etag: '637292667531530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -266,15 +288,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:12Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:56Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:12 GMT + date: Thu, 02 Jul 2020 06:05:55 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml index 980e0867f258..8e46e84c3b9c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:56Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:05:56 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:13Z2020-06-30T19:03:13Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:57Z2020-07-02T06:06:11Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:13.493Z2020-06-30T19:03:13.53ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:57.19Z2020-07-02T06:06:11.473ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:13 GMT + date: Thu, 02 Jul 2020 06:06:11 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -43,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T19:03:13Z2020-06-30T19:03:13Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T06:05:57Z2020-07-02T06:06:11Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:13.493Z2020-06-30T19:03:13.53Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:11.4396473Z2020-07-02T06:06:11.4396473Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:13 GMT - etag: '637291405935300000' + date: Thu, 02 Jul 2020 06:06:11 GMT + etag: '637292667714730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 - request: body: null headers: @@ -74,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:14 GMT - etag: '637291405935300000' + date: Thu, 02 Jul 2020 06:06:11 GMT + etag: '637292667714730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml index f9b9027c6ca1..9d47b3e4a609 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml @@ -10,17 +10,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:15Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:13Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:15 GMT + date: Thu, 02 Jul 2020 06:06:13 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:13Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:06:13 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T19:03:15Z2020-06-30T19:03:15Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T06:06:14Z2020-07-02T06:06:14Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:15.65Z2020-06-30T19:03:15.71ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:14.3Z2020-07-02T06:06:14.347ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:16 GMT + date: Thu, 02 Jul 2020 06:06:14 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: ' @@ -72,21 +94,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T19:03:16Z2020-06-30T19:03:16Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T06:06:15Z2020-07-02T06:06:15Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:16.553Z2020-06-30T19:03:16.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:15.177Z2020-07-02T06:06:15.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:16 GMT + date: Thu, 02 Jul 2020 06:06:15 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: @@ -98,29 +120,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:17Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T19:03:15Z2020-06-30T19:03:15Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:16Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T06:06:14Z2020-07-02T06:06:14Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:15.65Z2020-06-30T19:03:15.71Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:14.3Z2020-07-02T06:06:14.347Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T19:03:16Z2020-06-30T19:03:16Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T06:06:15Z2020-07-02T06:06:15Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:16.553Z2020-06-30T19:03:16.603Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:15.177Z2020-07-02T06:06:15.273Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:17 GMT + date: Thu, 02 Jul 2020 06:06:15 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -135,14 +157,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:18 GMT - etag: '637291405957100000' + date: Thu, 02 Jul 2020 06:06:16 GMT + etag: '637292667743470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: null headers: @@ -157,14 +179,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:18 GMT - etag: '637291405966030000' + date: Thu, 02 Jul 2020 06:06:17 GMT + etag: '637292667752730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: @@ -176,15 +198,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:18Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:17Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:18 GMT + date: Thu, 02 Jul 2020 06:06:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml index 452088999e3a..c9e3ed1ce17e 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:19Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:19 GMT + date: Thu, 02 Jul 2020 06:06:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -32,17 +32,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:19Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:19 GMT + date: Thu, 02 Jul 2020 06:06:18 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:19Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:06:18 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -61,21 +83,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:20 GMT + date: Thu, 02 Jul 2020 06:06:19 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -87,23 +109,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:21Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:20Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:20 GMT + date: Thu, 02 Jul 2020 06:06:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -115,23 +137,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:21Zhttps://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T19:03:20Z2020-06-30T19:03:20Zservicebustestl77xw2qvsqTopicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:20Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:20.297Z2020-06-30T19:03:20.347Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:21 GMT + date: Thu, 02 Jul 2020 06:06:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -146,14 +168,14 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:21 GMT - etag: '637291406003470000' + date: Thu, 02 Jul 2020 06:06:21 GMT + etag: '637292667795470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -165,15 +187,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T19:03:22Z + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:22 GMT + date: Thu, 02 Jul 2020 06:06:21 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml index 43b4f75e4653..4e63bcb7e608 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:22Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:06:22 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T19:03:23Z2020-06-30T19:03:23Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T06:06:22Z2020-07-02T06:06:22Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:23.46Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:23 GMT + date: Thu, 02 Jul 2020 06:06:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:23.460Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -55,24 +77,24 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:6a904dee-ddef-4f21-838d-1df58f06cd2f_G13, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-06-30T19:03:24 + . TrackingId:055e7339-e16c-4ab5-9079-6cbe37016f42_G2, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-07-02T06:06:24 headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:03:24 GMT + date: Thu, 02 Jul 2020 06:06:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/iewdm?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/iewdm?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-06-30T19:03:23.460Z2020-06-30T19:03:23.503ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -93,19 +115,19 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:949e8cb7-cf91-48f7-918a-58ef75ca63c5_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T19:03:24' + Actual value was 25.00:00:00. TrackingId:354abdee-4ed5-4bdd-83f5-61e9a7cd2e7d_G2, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T06:06:24' headers: content-type: application/xml; charset=utf-8 - date: Tue, 30 Jun 2020 19:03:24 GMT - etag: '637291406035030000' + date: Thu, 02 Jul 2020 06:06:23 GMT + etag: '637292667828870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: null headers: @@ -120,12 +142,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:24 GMT - etag: '637291406035030000' + date: Thu, 02 Jul 2020 06:06:24 GMT + etag: '637292667828870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml index 1b0dba6d0451..c7d11449056d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml @@ -1,4 +1,26 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:25Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Thu, 02 Jul 2020 06:06:25 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -17,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:25Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:25Zservicebustest5levlyksxmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:25.84ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:25.86ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:25 GMT + date: Thu, 02 Jul 2020 06:06:26 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' PT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.810Z2020-06-30T19:03:25.840ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T06:06:25.820Z2020-07-02T06:06:25.860ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -53,22 +75,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:26Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:26Zservicebustest5levlyksxmPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:25.84ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:25.86ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:25 GMT - etag: '637291406058400000' + date: Thu, 02 Jul 2020 06:06:26 GMT + etag: '637292667858600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: @@ -80,30 +102,30 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:26Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:26Zservicebustest5levlyksxmPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.33Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:25 GMT - etag: '637291406063300000' + date: Thu, 02 Jul 2020 06:06:26 GMT + etag: '637292667863130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: ' PT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.810Z2020-06-30T19:03:26.330Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-07-02T06:06:25.820Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -119,23 +141,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T19:03:26Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:26Zservicebustest5levlyksxmPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.33Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:26 GMT - etag: '637291406063300000' + date: Thu, 02 Jul 2020 06:06:26 GMT + etag: '637292667863130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: @@ -147,23 +169,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T19:03:25Z2020-06-30T19:03:26Zservicebustestl77xw2qvsqhttps://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:26Zservicebustest5levlyksxmPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T19:03:25.81Z2020-06-30T19:03:26.583Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.55Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 30 Jun 2020 19:03:26 GMT - etag: '637291406065830000' + date: Thu, 02 Jul 2020 06:06:26 GMT + etag: '637292667865500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: null headers: @@ -178,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 30 Jun 2020 19:03:26 GMT - etag: '637291406065830000' + date: Thu, 02 Jul 2020 06:06:27 GMT + etag: '637292667865500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestl77xw2qvsq.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py index 5c9f2795a74b..2e7b3817f617 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py @@ -24,7 +24,8 @@ AsyncMgmtQueueListRuntimeInfoTestHelper, run_test_async_mgmt_list_with_parameters, run_test_async_mgmt_list_with_negative_parameters, - async_pageable_to_list + async_pageable_to_list, + clear_queues ) @@ -35,6 +36,7 @@ async def test_async_mgmt_queue_list_basic(self, servicebus_namespace_connection servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 await mgmt_service.create_queue("test_queue") @@ -64,6 +66,7 @@ async def test_async_mgmt_queue_list_with_special_chars(self, servicebus_namespa # Queue names can contain letters, numbers, periods (.), hyphens (-), underscores (_), and slashes (/), up to 260 characters. Queue names are also case-insensitive. queue_name = 'txt/.-_123' mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 0 await mgmt_service.create_queue(queue_name) @@ -121,6 +124,7 @@ async def test_async_mgmt_queue_list_with_negative_parameters(self, servicebus_n @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) await mgmt_service.create_queue("test_queue") queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 1 @@ -143,6 +147,7 @@ async def test_async_mgmt_queue_delete_basic(self, servicebus_namespace_connecti @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_one_and_check_not_existing(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) for i in range(10): await mgmt_service.create_queue("queue{}".format(i)) @@ -162,6 +167,7 @@ async def test_async_mgmt_queue_delete_one_and_check_not_existing(self, serviceb @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) await mgmt_service.create_queue("test_queue") queues = await async_pageable_to_list(mgmt_service.list_queues()) assert len(queues) == 1 @@ -186,7 +192,7 @@ async def test_async_mgmt_queue_delete_negtive(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) queue_name = "eidk" created_at = utc_now() await mgmt_service.create_queue(queue_name) @@ -220,7 +226,7 @@ async def test_async_mgmt_queue_create_with_invalid_name(self, servicebus_namesp @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) queue_name = "dkldf" await mgmt_service.create_queue(QueueDescription(name=queue_name, auto_delete_on_idle=datetime.timedelta(minutes=10), @@ -262,7 +268,7 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) queue_name = "eriodk" await mgmt_service.create_queue(queue_name) try: @@ -275,7 +281,7 @@ async def test_async_mgmt_queue_create_duplicate(self, servicebus_namespace_conn @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) queue_name = "ewuidfj" queue_description = await mgmt_service.create_queue(queue_name) @@ -326,7 +332,7 @@ async def test_async_mgmt_queue_update_success(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) queue_name = "vbmfm" queue_description = await mgmt_service.create_queue(queue_name) try: @@ -368,6 +374,7 @@ async def test_async_mgmt_queue_update_invalid(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_queues(mgmt_service) queues = await async_pageable_to_list(mgmt_service.list_queues()) queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) @@ -418,7 +425,7 @@ async def test_async_mgmt_queue_list_runtime_info_with_parameters(self, serviceb @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_queues(mgmt_service) await mgmt_service.create_queue("test_queue") queue_runtime_info = await mgmt_service.get_queue_runtime_info("test_queue") diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py index c6d10c259745..82a300513fe8 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py @@ -18,7 +18,7 @@ ServiceBusNamespacePreparer ) -from mgmt_test_utilities_async import async_pageable_to_list +from mgmt_test_utilities_async import async_pageable_to_list, clear_topics _logger = get_logger(logging.DEBUG) @@ -27,6 +27,7 @@ class ServiceBusManagementClientRuleAsyncTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_rule_create(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" rule_name_1 = 'test_rule_1' @@ -73,6 +74,7 @@ async def test_async_mgmt_rule_create(self, servicebus_namespace_connection_stri @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_rule_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "dqkodq" subscription_name = 'kkaqo' rule_name = 'rule' @@ -93,7 +95,7 @@ async def test_async_mgmt_rule_create_duplicate(self, servicebus_namespace_conne @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_rule_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" rule_name = 'rule' @@ -131,7 +133,7 @@ async def test_async_mgmt_rule_update_success(self, servicebus_namespace_connect @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" rule_name = 'rule' @@ -174,6 +176,7 @@ async def test_async_mgmt_rule_update_invalid(self, servicebus_namespace_connect @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_rule_list_and_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" rule_name_1 = 'test_rule_1' diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py index 8f242b7c50d7..24f580f9ddff 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py @@ -19,7 +19,7 @@ ServiceBusNamespacePreparer ) -from mgmt_test_utilities_async import async_pageable_to_list +from mgmt_test_utilities_async import async_pageable_to_list, clear_topics _logger = get_logger(logging.DEBUG) @@ -29,6 +29,7 @@ class ServiceBusManagementClientSubscriptionAsyncTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" @@ -47,6 +48,7 @@ async def test_async_mgmt_subscription_create_by_name(self, servicebus_namespace @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_create_with_subscription_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "iweidk" subscription_name = "kdosako" try: @@ -81,6 +83,7 @@ async def test_async_mgmt_subscription_create_with_subscription_description(self @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "dqkodq" subscription_name = 'kkaqo' try: @@ -96,7 +99,7 @@ async def test_async_mgmt_subscription_create_duplicate(self, servicebus_namespa @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" @@ -137,7 +140,7 @@ async def test_async_mgmt_subscription_update_success(self, servicebus_namespace @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "dfjfj" subscription_name = "kwqxc" try: @@ -177,6 +180,7 @@ async def test_async_mgmt_subscription_update_invalid(self, servicebus_namespace @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = 'test_topicgda' subscription_name_1 = 'test_sub1da' subscription_name_2 = 'test_sub2gcv' @@ -206,6 +210,7 @@ async def test_async_mgmt_subscription_delete(self, servicebus_namespace_connect @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_list(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = 'lkoqxc' subscription_name_1 = 'testsub1' subscription_name_2 = 'testsub2' @@ -229,7 +234,7 @@ async def test_async_mgmt_subscription_list(self, servicebus_namespace_connectio @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = 'dkoamv' subscription_name = 'cxqplc' await mgmt_service.create_topic(topic_name) @@ -270,7 +275,7 @@ async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namesp @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = 'dcvxqa' subscription_name = 'xvazzag' diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py index 3528fcb3ab5d..8ba94bb00659 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py @@ -19,7 +19,7 @@ ServiceBusNamespacePreparer ) -from mgmt_test_utilities_async import async_pageable_to_list +from mgmt_test_utilities_async import async_pageable_to_list, clear_topics _logger = get_logger(logging.DEBUG) @@ -29,6 +29,7 @@ class ServiceBusManagementClientTopicAsyncTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "topic_testaddf" try: @@ -44,6 +45,7 @@ async def test_async_mgmt_topic_create_by_name(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "iweidk" try: await mgmt_service.create_topic( @@ -78,6 +80,7 @@ async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_n @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topic_name = "dqkodq" try: await mgmt_service.create_topic(topic_name) @@ -90,7 +93,7 @@ async def test_async_mgmt_topic_create_duplicate(self, servicebus_namespace_conn @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "fjrui" try: topic_description = await mgmt_service.create_topic(topic_name) @@ -135,7 +138,7 @@ async def test_async_mgmt_topic_update_success(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) topic_name = "dfjfj" try: topic_description = await mgmt_service.create_topic(topic_name) @@ -172,6 +175,7 @@ async def test_async_mgmt_topic_update_invalid(self, servicebus_namespace_connec @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) await mgmt_service.create_topic('test_topic') topics = await async_pageable_to_list(mgmt_service.list_topics()) assert len(topics) == 1 @@ -196,6 +200,7 @@ async def test_async_mgmt_topic_delete(self, servicebus_namespace_connection_str @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topics = await async_pageable_to_list(mgmt_service.list_topics()) assert len(topics) == 0 await mgmt_service.create_topic("test_topic_1") @@ -213,6 +218,7 @@ async def test_async_mgmt_topic_list(self, servicebus_namespace_connection_strin @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + await clear_topics(mgmt_service) topics = await async_pageable_to_list(mgmt_service.list_topics()) topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) @@ -248,7 +254,7 @@ async def test_async_mgmt_topic_list_runtime_info(self, servicebus_namespace_con @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + await clear_topics(mgmt_service) await mgmt_service.create_topic("test_topic") try: topic_runtime_info = await mgmt_service.get_topic_runtime_info("test_topic") diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py index 8ce0b1ab8943..d527a2e20b0f 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py @@ -122,3 +122,20 @@ def run_test_mgmt_list_with_negative_parameters(test_helper): result = test_helper.list_resource_method() assert len(result) == 0 + +def clear_queues(servicebus_management_client): + queues = list(servicebus_management_client.list_queues()) + for queue in queues: + try: + servicebus_management_client.delete_queue(queue) + except: + pass + + +def clear_topics(servicebus_management_client): + topics = list(servicebus_management_client.list_topics()) + for topic in topics: + try: + servicebus_management_client.delete_topic(topic) + except: + pass diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml index 4c31f2c18e02..7040e8a0fec3 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:40Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-06-30T18:48:12Z2020-06-30T18:48:12Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-07-02T05:57:41Z2020-07-02T05:57:41Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:12.027Z2020-06-30T18:48:12.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:41.147Z2020-07-02T05:57:41.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:12 GMT + - Thu, 02 Jul 2020 05:57:41 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-06-30T18:48:12Z2020-06-30T18:48:12Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-07-02T05:57:41Z2020-07-02T05:57:41Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:12.027Z2020-06-30T18:48:12.06Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:41.147Z2020-07-02T05:57:41.233Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:12 GMT + - Thu, 02 Jul 2020 05:57:41 GMT etag: - - '637291396920600000' + - '637292662612330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:12 GMT + - Thu, 02 Jul 2020 05:57:42 GMT etag: - - '637291396920600000' + - '637292662612330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml index f220e1cdcb3b..65517633eb97 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:43Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-06-30T18:48:13Z2020-06-30T18:48:13Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-07-02T05:57:43Z2020-07-02T05:57:43Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:13.843Z2020-06-30T18:48:13.907ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:43.537Z2020-07-02T05:57:43.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:13 GMT + - Thu, 02 Jul 2020 05:57:44 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -64,15 +93,15 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:77af2fb1-166e-499b-8380-5e1078a05ed7_G12, - SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-06-30T18:48:14 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:7abd6c2b-18ae-4758-b165-9f85d7a75f11_G11, + SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-07-02T05:57:44 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:13 GMT + - Thu, 02 Jul 2020 05:57:44 GMT etag: - - '637291396939070000' + - '637292662636030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -104,9 +133,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:14 GMT + - Thu, 02 Jul 2020 05:57:44 GMT etag: - - '637291396939070000' + - '637292662636030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml index 5975326c0434..ea26f51188ed 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:45Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:45 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:48:15Z2020-06-30T18:48:15Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:57:45Z2020-07-02T05:57:45Zservicebustestshi5frbompPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:48:15.78Z2020-06-30T18:48:15.887ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T05:57:45.863Z2020-07-02T05:57:45.97ZtruePT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:15 GMT + - Thu, 02 Jul 2020 05:57:46 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T18:48:15Z2020-06-30T18:48:15Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T05:57:45Z2020-07-02T05:57:45Zservicebustestshi5frbompPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-06-30T18:48:15.78Z2020-06-30T18:48:15.887Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T05:57:45.863Z2020-07-02T05:57:45.97Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:15 GMT + - Thu, 02 Jul 2020 05:57:46 GMT etag: - - '637291396958870000' + - '637292662659700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:16 GMT + - Thu, 02 Jul 2020 05:57:46 GMT etag: - - '637291396958870000' + - '637292662659700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml index 5a5df8b1a3f9..6c8b24b0b1ee 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:47Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.017Z2020-07-02T05:57:48.057ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:18 GMT + - Thu, 02 Jul 2020 05:57:48 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:18Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:49Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.0251009Z2020-07-02T05:57:48.0251009Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:18 GMT + - Thu, 02 Jul 2020 05:57:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -97,16 +126,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:19 GMT + - Thu, 02 Jul 2020 05:57:49 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -131,25 +160,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:20Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:17Z2020-06-30T18:48:17Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:50Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:17.847Z2020-06-30T18:48:17.877Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.0251009Z2020-07-02T05:57:48.0251009Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:20 GMT + - Thu, 02 Jul 2020 05:57:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -179,9 +208,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:20 GMT + - Thu, 02 Jul 2020 05:57:50 GMT etag: - - '637291396978770000' + - '637292662680570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -204,19 +233,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:21Zhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:19Z2020-06-30T18:48:19Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:51Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:19.267Z2020-06-30T18:48:19.3Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:21 GMT + - Thu, 02 Jul 2020 05:57:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -246,9 +275,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:21 GMT + - Thu, 02 Jul 2020 05:57:51 GMT etag: - - '637291396993000000' + - '637292662695200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -271,13 +300,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:22Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:52Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:21 GMT + - Thu, 02 Jul 2020 05:57:51 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml index 3cd15eba8ed4..594721baad0c 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:53Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:22Z2020-06-30T18:48:22Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:53Z2020-07-02T05:57:53Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:22.56Z2020-06-30T18:48:22.59ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:53.647Z2020-07-02T05:57:53.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:22 GMT + - Thu, 02 Jul 2020 05:57:54 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:23Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:22Z2020-06-30T18:48:22Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:54Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:53Z2020-07-02T05:57:53Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:22.56Z2020-06-30T18:48:22.59Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:53.647Z2020-07-02T05:57:53.75Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:22 GMT + - Thu, 02 Jul 2020 05:57:54 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -97,9 +126,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:23 GMT + - Thu, 02 Jul 2020 05:57:55 GMT etag: - - '637291397025900000' + - '637292662737500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,13 +151,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:24Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:55Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:23 GMT + - Thu, 02 Jul 2020 05:57:55 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -154,13 +183,13 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:4f3070ef-a0a7-4ee6-9894-54112ecd41cc_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-06-30T18:48:24 + address. TrackingId:045fd796-ee18-4fdc-a1c9-7937af49619c_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-07-02T05:57:56 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:24 GMT + - Thu, 02 Jul 2020 05:57:55 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -188,13 +217,13 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:3be4d8d2-1e1e-4f47-ae01-60a2c61615b1_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-06-30T18:48:25 + address. TrackingId:26e3a90e-a650-45d2-a2de-36c7d2be2a44_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-07-02T05:57:56 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:24 GMT + - Thu, 02 Jul 2020 05:57:56 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml index 22ddb34ab223..344fc005f1c8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:57Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:57:56 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue0?api-version=2017-04queue02020-06-30T18:48:25Z2020-06-30T18:48:26Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue0?api-version=2017-04queue02020-07-02T05:57:57Z2020-07-02T05:57:57Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:25.943Z2020-06-30T18:48:26.01ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:57.61Z2020-07-02T05:57:57.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:25 GMT + - Thu, 02 Jul 2020 05:57:57 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,16 +91,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:48:26Z2020-06-30T18:48:26Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T05:57:58Z2020-07-02T05:57:58Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:26.853Z2020-06-30T18:48:26.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:58.54Z2020-07-02T05:57:58.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:26 GMT + - Thu, 02 Jul 2020 05:57:58 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -103,16 +132,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:48:27Z2020-06-30T18:48:27Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T05:57:59Z2020-07-02T05:57:59Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:27.723Z2020-06-30T18:48:27.757ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:59.427Z2020-07-02T05:57:59.46ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:27 GMT + - Thu, 02 Jul 2020 05:57:59 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -144,16 +173,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:48:28Z2020-06-30T18:48:28Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T05:58:00Z2020-07-02T05:58:00Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:28.61Z2020-06-30T18:48:28.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:00.377Z2020-07-02T05:58:00.407ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:28 GMT + - Thu, 02 Jul 2020 05:58:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -185,16 +214,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:48:29Z2020-06-30T18:48:29Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T05:58:01Z2020-07-02T05:58:01Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:29.53Z2020-06-30T18:48:29.577ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:01.247Z2020-07-02T05:58:01.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:29 GMT + - Thu, 02 Jul 2020 05:58:01 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -226,16 +255,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:48:30Z2020-06-30T18:48:30Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T05:58:02Z2020-07-02T05:58:02Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:30.45Z2020-06-30T18:48:30.48ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:02.23Z2020-07-02T05:58:02.27ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:30 GMT + - Thu, 02 Jul 2020 05:58:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -267,16 +296,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:48:31Z2020-06-30T18:48:31Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T05:58:03Z2020-07-02T05:58:03Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:31.403Z2020-06-30T18:48:31.43ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:03.087Z2020-07-02T05:58:03.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:31 GMT + - Thu, 02 Jul 2020 05:58:03 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -308,16 +337,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:48:32Z2020-06-30T18:48:32Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T05:58:04Z2020-07-02T05:58:04Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:32.32Z2020-06-30T18:48:32.4ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.023Z2020-07-02T05:58:04.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:32 GMT + - Thu, 02 Jul 2020 05:58:04 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -349,16 +378,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:48:33Z2020-06-30T18:48:33Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T05:58:04Z2020-07-02T05:58:05Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:33.327Z2020-06-30T18:48:33.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.99Z2020-07-02T05:58:05.023ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:33 GMT + - Thu, 02 Jul 2020 05:58:05 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -390,16 +419,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:48:34Z2020-06-30T18:48:34Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T05:58:05Z2020-07-02T05:58:06Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:34.287Z2020-06-30T18:48:34.333ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:05.973Z2020-07-02T05:58:06.007ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:33 GMT + - Thu, 02 Jul 2020 05:58:06 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -431,9 +460,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:34 GMT + - Thu, 02 Jul 2020 05:58:06 GMT etag: - - '637291397060100000' + - '637292662776470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -456,67 +485,67 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:35Zhttps://servicebustestb4vslijheu.servicebus.windows.net/queue1?api-version=2017-04queue12020-06-30T18:48:26Z2020-06-30T18:48:26Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:07Zhttps://servicebustestshi5frbomp.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T05:57:58Z2020-07-02T05:57:58Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:26.853Z2020-06-30T18:48:26.887Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:58.54Z2020-07-02T05:57:58.567Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue2?api-version=2017-04queue22020-06-30T18:48:27Z2020-06-30T18:48:27Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T05:57:59Z2020-07-02T05:57:59Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:27.723Z2020-06-30T18:48:27.757Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:59.4432753Z2020-07-02T05:57:59.4432753Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue3?api-version=2017-04queue32020-06-30T18:48:28Z2020-06-30T18:48:28Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T05:58:00Z2020-07-02T05:58:00Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:28.61Z2020-06-30T18:48:28.64Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:00.377Z2020-07-02T05:58:00.407Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue4?api-version=2017-04queue42020-06-30T18:48:29Z2020-06-30T18:48:29Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T05:58:01Z2020-07-02T05:58:01Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:29.53Z2020-06-30T18:48:29.577Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:01.247Z2020-07-02T05:58:01.273Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue5?api-version=2017-04queue52020-06-30T18:48:30Z2020-06-30T18:48:30Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T05:58:02Z2020-07-02T05:58:02Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:30.45Z2020-06-30T18:48:30.48Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:02.23Z2020-07-02T05:58:02.27Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue6?api-version=2017-04queue62020-06-30T18:48:31Z2020-06-30T18:48:31Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T05:58:03Z2020-07-02T05:58:03Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:31.403Z2020-06-30T18:48:31.43Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:03.087Z2020-07-02T05:58:03.11Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue7?api-version=2017-04queue72020-06-30T18:48:32Z2020-06-30T18:48:32Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T05:58:04Z2020-07-02T05:58:04Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:32.32Z2020-06-30T18:48:32.4Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.023Z2020-07-02T05:58:04.093Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue8?api-version=2017-04queue82020-06-30T18:48:33Z2020-06-30T18:48:33Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T05:58:04Z2020-07-02T05:58:05Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:33.327Z2020-06-30T18:48:33.493Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.99Z2020-07-02T05:58:05.023Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestb4vslijheu.servicebus.windows.net/queue9?api-version=2017-04queue92020-06-30T18:48:34Z2020-06-30T18:48:34Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T05:58:05Z2020-07-02T05:58:06Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:34.287Z2020-06-30T18:48:34.333Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:05.973Z2020-07-02T05:58:06.007Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:34 GMT + - Thu, 02 Jul 2020 05:58:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -546,9 +575,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:35 GMT + - Thu, 02 Jul 2020 05:58:07 GMT etag: - - '637291397068870000' + - '637292662785670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -578,9 +607,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:35 GMT + - Thu, 02 Jul 2020 05:58:07 GMT etag: - - '637291397077570000' + - '637292662794600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -610,9 +639,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:36 GMT + - Thu, 02 Jul 2020 05:58:08 GMT etag: - - '637291397086400000' + - '637292662804070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -642,9 +671,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:37 GMT + - Thu, 02 Jul 2020 05:58:08 GMT etag: - - '637291397095770000' + - '637292662812730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -674,9 +703,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:37 GMT + - Thu, 02 Jul 2020 05:58:09 GMT etag: - - '637291397104800000' + - '637292662822700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -706,9 +735,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:38 GMT + - Thu, 02 Jul 2020 05:58:09 GMT etag: - - '637291397114300000' + - '637292662831100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -738,9 +767,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:38 GMT + - Thu, 02 Jul 2020 05:58:10 GMT etag: - - '637291397124000000' + - '637292662840930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -770,9 +799,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:39 GMT + - Thu, 02 Jul 2020 05:58:10 GMT etag: - - '637291397134930000' + - '637292662850230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -802,9 +831,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:39 GMT + - Thu, 02 Jul 2020 05:58:11 GMT etag: - - '637291397143330000' + - '637292662860070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -827,13 +856,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:40Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:12Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:40 GMT + - Thu, 02 Jul 2020 05:58:11 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml index aad0d2a05d6d..1100af6cbcd7 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:12Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:12 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:41Z2020-06-30T18:48:41Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:13Z2020-07-02T05:58:13Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:41.403Z2020-06-30T18:48:41.487ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:13.253Z2020-07-02T05:58:13.323ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:41 GMT + - Thu, 02 Jul 2020 05:58:13 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-06-30T18:48:41Z2020-06-30T18:48:41Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-07-02T05:58:13Z2020-07-02T05:58:13Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:41.403Z2020-06-30T18:48:41.487Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:13.253Z2020-07-02T05:58:13.323Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:41 GMT + - Thu, 02 Jul 2020 05:58:13 GMT etag: - - '637291397214870000' + - '637292662933230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:42 GMT + - Thu, 02 Jul 2020 05:58:13 GMT etag: - - '637291397214870000' + - '637292662933230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml index 6d3270675121..8d7a5af773c4 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml @@ -16,13 +16,13 @@ interactions: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:d03e21f6-5ef1-4bb9-9867-ed6859cbaf0c;id=135102020-06-30T18:48:43ZService + services currently available.uuid:d95288d3-71ed-4d24-ab25-c29ce2160d42;id=264082020-07-02T05:58:15ZService Bus 1.1 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:43 GMT + - Thu, 02 Jul 2020 05:58:15 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml index 7a96d1fcdf55..9bbd022f7b1d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml @@ -14,13 +14,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:44Z + string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:43 GMT + - Thu, 02 Jul 2020 06:04:23 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:26Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 06:04:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:44Z2020-06-30T18:48:44Zservicebustestb4vslijheuhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustestxrl7l6h247PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:44.803Z2020-06-30T18:48:44.837ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.917Z2020-07-02T06:04:26.993ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:45 GMT + - Thu, 02 Jul 2020 06:04:27 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +113,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:45Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:44Z2020-06-30T18:48:44Zservicebustestb4vslijheuQueueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:27Zhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustestxrl7l6h247PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:44.803Z2020-06-30T18:48:44.837Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.917Z2020-07-02T06:04:26.993Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:45 GMT + - Thu, 02 Jul 2020 06:04:27 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -126,9 +155,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:46 GMT + - Thu, 02 Jul 2020 06:04:28 GMT etag: - - '637291397248370000' + - '637292666669930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -151,13 +180,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:46Z + string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:28Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:46 GMT + - Thu, 02 Jul 2020 06:04:28 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,13 +209,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:47Z + string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:29Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:46 GMT + - Thu, 02 Jul 2020 06:04:28 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -216,16 +245,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:47Z2020-06-30T18:48:47Zservicebustestb4vslijheuhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustestxrl7l6h247PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:47.763Z2020-06-30T18:48:47.793ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.003Z2020-07-02T06:04:30.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:47 GMT + - Thu, 02 Jul 2020 06:04:29 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -250,19 +279,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:48Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:47Z2020-06-30T18:48:47Zservicebustestb4vslijheuQueueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:31Zhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustestxrl7l6h247PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:47.763Z2020-06-30T18:48:47.793Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.003Z2020-07-02T06:04:30.06Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:47 GMT + - Thu, 02 Jul 2020 06:04:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -292,9 +321,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:48 GMT + - Thu, 02 Jul 2020 06:04:30 GMT etag: - - '637291397277930000' + - '637292666700600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -317,13 +346,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:49Z + string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:32Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:48 GMT + - Thu, 02 Jul 2020 06:04:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml index baa663c16f08..097c8407c4d2 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:50Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:22Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:50 GMT + - Thu, 02 Jul 2020 05:58:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,13 +43,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:50Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:22Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:50 GMT + - Thu, 02 Jul 2020 05:58:21 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:23Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -79,16 +108,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:51 GMT + - Thu, 02 Jul 2020 05:58:23 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -113,19 +142,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:52Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:24Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:52 GMT + - Thu, 02 Jul 2020 05:58:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -148,19 +177,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:52Zhttps://servicebustestb4vslijheu.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-06-30T18:48:51Z2020-06-30T18:48:51Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:25Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:51.23Z2020-06-30T18:48:51.27Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:52 GMT + - Thu, 02 Jul 2020 05:58:24 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -190,9 +219,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:53 GMT + - Thu, 02 Jul 2020 05:58:24 GMT etag: - - '637291397312700000' + - '637292663036570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -215,13 +244,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:53Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:26Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:53 GMT + - Thu, 02 Jul 2020 05:58:25 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml index a157b03f4e70..4519fd239b89 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml @@ -14,14 +14,14 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:f7cb3724-33c0-4262-8a70-03766ce3a019_G2, + string: 401claim is empty. TrackingId:8540ec56-3c83-4481-ba5e-100e0c9435cc_G7, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-30T18:48:53 + Timestamp:2020-07-02T05:58:26 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:53 GMT + - Thu, 02 Jul 2020 05:58:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -46,14 +46,14 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:321540ef-7ece-4f30-b6d6-d452923405c4_G7, + string: 401claim is empty. TrackingId:7fadc18f-a377-4c75-9f80-2cb6bedc3117_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-06-30T18:48:54 + Timestamp:2020-07-02T05:58:26 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:54 GMT + - Thu, 02 Jul 2020 05:58:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml index c64b9938e98e..07818234ce02 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml @@ -14,13 +14,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:54Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:27Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:54 GMT + - Thu, 02 Jul 2020 05:58:27 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:28Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:27 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:55Z2020-06-30T18:48:55Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:58:28Z2020-07-02T05:58:28Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:55.413Z2020-06-30T18:48:55.443ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:28.603Z2020-07-02T05:58:28.637ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:55 GMT + - Thu, 02 Jul 2020 05:58:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +113,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:56Zhttps://servicebustestb4vslijheu.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:48:55Z2020-06-30T18:48:55Zservicebustestb4vslijheuQueueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:29Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:58:28Z2020-07-02T05:58:28Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:55.413Z2020-06-30T18:48:55.443Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:28.603Z2020-07-02T05:58:28.637Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:56 GMT + - Thu, 02 Jul 2020 05:58:29 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -126,9 +155,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:56 GMT + - Thu, 02 Jul 2020 05:58:29 GMT etag: - - '637291397354430000' + - '637292663086370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -151,13 +180,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestb4vslijheu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-06-30T18:48:57Z + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:30Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:57 GMT + - Thu, 02 Jul 2020 05:58:29 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml index 02d0787d01f3..f490eca3f531 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:31Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:30 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:48:57Z2020-06-30T18:48:57Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:58:31Z2020-07-02T05:58:31Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:58 GMT + - Thu, 02 Jul 2020 05:58:31 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -45,7 +74,7 @@ interactions: PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -67,15 +96,15 @@ interactions: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:67595514-dd43-4e3a-a7f7-454f0275fb92_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, - Timestamp:2020-06-30T18:48:58 + . TrackingId:d0ec34e6-34c8-4e0d-b31a-7b1b50376430_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, + Timestamp:2020-07-02T05:58:32 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:58 GMT + - Thu, 02 Jul 2020 05:58:31 GMT etag: - - '637291397378870000' + - '637292663118070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -90,7 +119,7 @@ interactions: PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -112,13 +141,13 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:286da6eb-41f1-4d2a-ac90-46acbfab6290_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-06-30T18:48:59 + . TrackingId:53789693-e854-4ea5-974c-c980a69572ed_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-07-02T05:58:32 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:59 GMT + - Thu, 02 Jul 2020 05:58:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -133,7 +162,7 @@ interactions: P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:48:57.817Z2020-06-30T18:48:57.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -159,15 +188,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:95b1d50e-0259-4bd6-9da9-fcccc8352741_G10, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T18:48:59' + Actual value was 25.00:00:00. TrackingId:dc85282e-8e24-434d-b257-72cb93d80910_G3, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T05:58:33' headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:48:59 GMT + - Thu, 02 Jul 2020 05:58:32 GMT etag: - - '637291397378870000' + - '637292663118070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -199,9 +228,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:48:59 GMT + - Thu, 02 Jul 2020 05:58:33 GMT etag: - - '637291397378870000' + - '637292663118070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml index f347d964a43c..b41e30626b3f 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:34Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:34 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:00Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbompPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:49:00 GMT + - Thu, 02 Jul 2020 05:58:35 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -45,7 +74,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-07-02T05:58:35.060Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -65,18 +94,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:01Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Zservicebustestshi5frbompPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:00.553ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:49:00 GMT + - Thu, 02 Jul 2020 05:58:35 GMT etag: - - '637291397405530000' + - '637292663150930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -101,19 +130,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:01Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbompPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.01Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.57Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:49:00 GMT + - Thu, 02 Jul 2020 05:58:35 GMT etag: - - '637291397410100000' + - '637292663155700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -129,7 +158,7 @@ interactions: PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.010Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-07-02T05:58:35.060Z2020-07-02T05:58:35.570Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -149,19 +178,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:49:01Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Zservicebustestshi5frbompPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.01Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.57Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:49:00 GMT + - Thu, 02 Jul 2020 05:58:35 GMT etag: - - '637291397410100000' + - '637292663155700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -186,19 +215,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestb4vslijheu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:49:00Z2020-06-30T18:49:01Zservicebustestb4vslijheuhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbompPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-06-30T18:49:00.527Z2020-06-30T18:49:01.277Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.81Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:49:01 GMT + - Thu, 02 Jul 2020 05:58:35 GMT etag: - - '637291397412770000' + - '637292663158100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -230,9 +259,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:49:01 GMT + - Thu, 02 Jul 2020 05:58:36 GMT etag: - - '637291397412770000' + - '637292663158100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml index d69c8480bf71..3e700ec52c06 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:36Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:36 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:50:40Z2020-06-30T18:50:40Zservicebustestlyyrbw5r62https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:58:37Z2020-07-02T05:58:37Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:40.167Z2020-06-30T18:50:40.287ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:37.417Z2020-07-02T05:58:37.447ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:40 GMT + - Thu, 02 Jul 2020 05:58:37 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:50:40Z2020-06-30T18:50:40Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T05:58:37Z2020-07-02T05:58:37ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:40.8489233Z2020-06-30T18:50:40.8489233Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:37.9708001Z2020-07-02T05:58:37.9708001Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:40 GMT + - Thu, 02 Jul 2020 05:58:37 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -107,19 +136,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:41Z2020-06-30T18:50:41Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:38Z2020-07-02T05:58:38ZtestcidSET Priority = 'low'202020-06-30T18:50:41.0520646Ztest_rule_1 + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T05:58:38.1426348Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:40 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -144,19 +173,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-06-30T18:50:41Z2020-06-30T18:50:41Zsb://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-07-02T05:58:38Z2020-07-02T05:58:38ZtestcidSET Priority = 'low'202020-06-30T18:50:41.0675544Ztest_rule_1 + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T05:58:38.1487771Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -190,20 +219,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:41Z2020-06-30T18:50:41Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T05:58:38Z2020-07-02T05:58:38ZPriority = 'low'202020-06-30T18:50:41.2238568Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T05:58:38.3926736Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -228,20 +257,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-06-30T18:50:41Z2020-06-30T18:50:41Zsb://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-07-02T05:58:38Z2020-07-02T05:58:38ZPriority = 'low'202020-06-30T18:50:41.2246466Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T05:58:38.3837741Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -275,19 +304,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:41Z2020-06-30T18:50:41Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:38Z2020-07-02T05:58:38Z1=1202020-06-30T18:50:41.3332171Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T05:58:38.7832611Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -312,19 +341,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-06-30T18:50:41Z2020-06-30T18:50:41Zsb://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-07-02T05:58:38Z2020-07-02T05:58:38Z1=1202020-06-30T18:50:41.3340592Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T05:58:38.7744248Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -356,9 +385,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -388,9 +417,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:38 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -420,9 +449,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:39 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -452,9 +481,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:41 GMT + - Thu, 02 Jul 2020 05:58:39 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -484,9 +513,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:42 GMT + - Thu, 02 Jul 2020 05:58:39 GMT etag: - - '637291398402870000' + - '637292663174470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml index 00005dd7f9df..808b4808811a 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:40Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:39 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:50:42Z2020-06-30T18:50:42Zservicebustestlyyrbw5r62https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:58:41Z2020-07-02T05:58:41Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:42.87Z2020-06-30T18:50:42.943ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:41.03Z2020-07-02T05:58:41.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:43 GMT + - Thu, 02 Jul 2020 05:58:40 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:50:43Z2020-06-30T18:50:43Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T05:58:41Z2020-07-02T05:58:41ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:43.4813134Z2020-06-30T18:50:43.4813134Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:41.565784Z2020-07-02T05:58:41.565784Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:43 GMT + - Thu, 02 Jul 2020 05:58:40 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -107,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-06-30T18:50:43Z2020-06-30T18:50:43Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-07-02T05:58:41Z2020-07-02T05:58:41ZPriority = 'low'202020-06-30T18:50:43.6532121Zrule + i:type="EmptyRuleAction"/>2020-07-02T05:58:41.94076Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:43 GMT + - Thu, 02 Jul 2020 05:58:40 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -155,15 +184,15 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:71d82d11-da6f-4d1a-8406-2c9dd41ecd04_B0, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:50:43 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f97ecd58-05d9-40d8-ab4a-a8b95619d013_B6, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:42 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:44 GMT + - Thu, 02 Jul 2020 05:58:43 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -195,9 +224,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:44 GMT + - Thu, 02 Jul 2020 05:58:43 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -227,9 +256,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:44 GMT + - Thu, 02 Jul 2020 05:58:43 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -259,9 +288,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:45 GMT + - Thu, 02 Jul 2020 05:58:43 GMT etag: - - '637291398429430000' + - '637292663210770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml index 229fc388bfaf..5b74d3eeec43 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:44Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:50:46Z2020-06-30T18:50:46Zservicebustestlyyrbw5r62https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:58:44Z2020-07-02T05:58:44Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:46.017Z2020-06-30T18:50:46.067ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:44.647Z2020-07-02T05:58:44.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:44 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:50:46Z2020-06-30T18:50:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T05:58:45Z2020-07-02T05:58:45ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:46.5539301Z2020-06-30T18:50:46.5539301Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:45.1769879Z2020-07-02T05:58:45.1769879Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -98,21 +127,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:46Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46ZRuleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45Z1=1202020-06-30T18:50:46.5430145Z$Default + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.181251Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -146,20 +175,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'low'202020-06-30T18:50:46.788293Ztest_rule_1 + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.5055475Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -193,20 +222,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:46Z2020-06-30T18:50:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'middle'202020-06-30T18:50:46.8820383Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.5836868Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -240,20 +269,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'high'202020-06-30T18:50:46.9914207Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.6617985Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -278,42 +307,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46ZRuleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45Z1=1202020-06-30T18:50:46.5430145Z$Defaulthttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46Z2020-07-02T05:58:45.181251Z$Defaulthttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'low'202020-06-30T18:50:46.7940101Ztest_rule_1https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-06-30T18:50:46Z2020-06-30T18:50:46Z2020-07-02T05:58:45.5094156Ztest_rule_1https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'middle'202020-06-30T18:50:46.8721397Ztest_rule_2https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46Z2020-07-02T05:58:45.5874788Ztest_rule_2https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'high'202020-06-30T18:50:46.9971132Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.6656048Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:46 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -345,9 +374,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -370,35 +399,35 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46ZRuleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45Z1=1202020-06-30T18:50:46.5430145Z$Defaulthttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-06-30T18:50:46Z2020-06-30T18:50:46Z2020-07-02T05:58:45.181251Z$Defaulthttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'low'202020-06-30T18:50:46.7940101Ztest_rule_1https://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-06-30T18:50:46Z2020-06-30T18:50:46Z2020-07-02T05:58:45.5094156Ztest_rule_1https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45ZPriority = 'high'202020-06-30T18:50:46.9971132Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.6656048Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -430,9 +459,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -462,9 +491,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -487,21 +516,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-06-30T18:50:47Zhttps://servicebustestlyyrbw5r62.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-06-30T18:50:46Z2020-06-30T18:50:46ZRuleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45Z1=1202020-06-30T18:50:46.5430145Z$Default + i:type="EmptyRuleAction"/>2020-07-02T05:58:45.181251Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -533,9 +562,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:45 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -565,9 +594,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:47 GMT + - Thu, 02 Jul 2020 05:58:46 GMT etag: - - '637291398460670000' + - '637292663246770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml index 400bb12260a9..ac615c037240 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:47Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:46 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:50:48Z2020-06-30T18:50:48Zservicebustestlyyrbw5r62https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:47Z2020-07-02T05:58:47Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:48.637Z2020-06-30T18:50:48.73ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:47.677Z2020-07-02T05:58:47.723ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:48 GMT + - Thu, 02 Jul 2020 05:58:47 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:50:49Z2020-06-30T18:50:49Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:58:48Z2020-07-02T05:58:48ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:49.1902752Z2020-06-30T18:50:49.1902752Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:48.2020133Z2020-07-02T05:58:48.2020133Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:49 GMT + - Thu, 02 Jul 2020 05:58:47 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -107,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:49Z2020-06-30T18:50:49Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:48Z2020-07-02T05:58:48ZPriority = 'low'202020-06-30T18:50:49.6280433Zrule + i:type="EmptyRuleAction"/>2020-07-02T05:58:48.4363985Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:49 GMT + - Thu, 02 Jul 2020 05:58:47 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -145,20 +174,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:49Z2020-06-30T18:50:49Zsb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:48Z2020-07-02T05:58:48ZPriority = 'low'202020-06-30T18:50:49.6233773Zrule + i:type="EmptyRuleAction"/>2020-07-02T05:58:48.4267Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:49 GMT + - Thu, 02 Jul 2020 05:58:47 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,7 +203,7 @@ interactions: Priority = ''low''2020-06-30T18:50:49.623377Ziewdm' + xsi:type="EmptyRuleAction" />2020-07-02T05:58:48.4267Ziewdm' headers: Accept: - application/xml @@ -183,7 +212,7 @@ interactions: Connection: - keep-alive Content-Length: - - '507' + - '505' Content-Type: - application/atom+xml If-Match: @@ -195,15 +224,15 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:81549065-6bfc-4aae-a1e5-8bf927204b3c_B7, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:50:49 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:58459b75-ffa1-4f82-bac1-04691d351cde_B14, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:48 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:50 GMT + - Thu, 02 Jul 2020 05:58:48 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -235,9 +264,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:50 GMT + - Thu, 02 Jul 2020 05:58:48 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -267,9 +296,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:50 GMT + - Thu, 02 Jul 2020 05:58:48 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -299,9 +328,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:50 GMT + - Thu, 02 Jul 2020 05:58:49 GMT etag: - - '637291398487300000' + - '637292663277230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml index 8aaae91b3d33..fb41d16f4cb0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:51Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:51 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:50:52Z2020-06-30T18:50:52Zservicebustestlyyrbw5r62https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:52Z2020-07-02T05:58:52Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:50:52.223Z2020-06-30T18:50:52.28ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:52.253Z2020-07-02T05:58:52.283ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:51 GMT + - Thu, 02 Jul 2020 05:58:52 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:50:52Z2020-06-30T18:50:52Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:58:52Z2020-07-02T05:58:52ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:50:52.7357571Z2020-06-30T18:50:52.7357571Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:52.8322918Z2020-07-02T05:58:52.8322918Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -107,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52ZPriority = 'low'202020-06-30T18:50:52.9545539Zrule + i:type="EmptyRuleAction"/>2020-07-02T05:58:52.9889434Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -145,20 +174,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52Zsb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52ZPriority = 'low'202020-06-30T18:50:52.9519489Zrule + i:type="EmptyRuleAction"/>2020-07-02T05:58:52.9977704Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,7 +203,7 @@ interactions: testcidSET Priority = ''low''2020-06-30T18:50:52.951948Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''2020-07-02T05:58:52.99777Zrule' headers: Accept: - application/xml @@ -183,7 +212,7 @@ interactions: Connection: - keep-alive Content-Length: - - '561' + - '560' Content-Type: - application/atom+xml If-Match: @@ -194,19 +223,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-06-30T18:50:53Z2020-06-30T18:50:53Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:53Z2020-07-02T05:58:53ZtestcidSET Priority = 'low'202020-06-30T18:50:53.1420233Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T05:58:53.192089Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -231,19 +260,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestlyyrbw5r62.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-06-30T18:50:52Z2020-06-30T18:50:52Zsb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52ZtestcidSET Priority = 'low'202020-06-30T18:50:52.9519489Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-07-02T05:58:52.9977704Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -275,9 +304,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -307,9 +336,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:52 GMT + - Thu, 02 Jul 2020 05:58:52 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -339,9 +368,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:50:53 GMT + - Thu, 02 Jul 2020 05:58:53 GMT etag: - - '637291398522800000' + - '637292663322830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml index 14843b16009d..77c5e6369e1b 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:54Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:54:04Z2020-06-30T18:54:04Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:58:54Z2020-07-02T05:58:54Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:04.023Z2020-06-30T18:54:04.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:54.943Z2020-07-02T05:58:54.98ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:03 GMT + - Thu, 02 Jul 2020 05:58:54 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-06-30T18:54:04Z2020-06-30T18:54:04Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T05:58:55Z2020-07-02T05:58:55ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:04.5119507Z2020-06-30T18:54:04.5119507Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:55.4761578Z2020-07-02T05:58:55.4761578Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:03 GMT + - Thu, 02 Jul 2020 05:58:54 GMT etag: - - '637291400440600000' + - '637292663349800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -98,19 +127,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-06-30T18:54:04Z2020-06-30T18:54:04Zsb://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-07-02T05:58:55Z2020-07-02T05:58:55ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:04.5134972Z2020-06-30T18:54:04.5134972Z2020-06-30T18:54:04.5134972ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:55.4758482Z2020-07-02T05:58:55.4758482Z2020-07-02T05:58:55.477Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:03 GMT + - Thu, 02 Jul 2020 05:58:54 GMT etag: - - '637291400440600000' + - '637292663349800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -142,9 +171,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:04 GMT + - Thu, 02 Jul 2020 05:58:54 GMT etag: - - '637291400440600000' + - '637292663349800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,9 +203,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:04 GMT + - Thu, 02 Jul 2020 05:58:55 GMT etag: - - '637291400440600000' + - '637292663349800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml index 686cc90e7293..9062ddba1779 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:56Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:56 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:54:05Z2020-06-30T18:54:06Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:58:57Z2020-07-02T05:58:57Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:05.957Z2020-06-30T18:54:06.013ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:57.217Z2020-07-02T05:58:57.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:06 GMT + - Thu, 02 Jul 2020 05:58:57 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-06-30T18:54:06Z2020-06-30T18:54:06Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T05:58:57Z2020-07-02T05:58:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:06.5261526Z2020-06-30T18:54:06.5261526Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:57.7479854Z2020-07-02T05:58:57.7479854Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:06 GMT + - Thu, 02 Jul 2020 05:58:57 GMT etag: - - '637291400460130000' + - '637292663372730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -106,15 +135,15 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:15e7c413-42b3-4a64-bb6b-ec921a22d3a6_B6, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:54:06 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:886e8a17-ab7f-4718-915e-463e18ac2bc7_B3, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:58 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:07 GMT + - Thu, 02 Jul 2020 05:58:58 GMT etag: - - '637291400460130000' + - '637292663372730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -146,9 +175,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:07 GMT + - Thu, 02 Jul 2020 05:58:58 GMT etag: - - '637291400460130000' + - '637292663372730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -178,9 +207,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:08 GMT + - Thu, 02 Jul 2020 05:58:59 GMT etag: - - '637291400460130000' + - '637292663372730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml index b4fb9c9962cc..3d9a622747b5 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:00Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:58:59 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:54:08Z2020-06-30T18:54:08Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:59:00Z2020-07-02T05:59:00Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:08.903Z2020-06-30T18:54:08.963ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:00.54Z2020-07-02T05:59:00.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:09 GMT + - Thu, 02 Jul 2020 05:59:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-06-30T18:54:09Z2020-06-30T18:54:09Zhttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-07-02T05:59:01Z2020-07-02T05:59:01ZPT13StruePT11Mtruetrue014trueActive2020-06-30T18:54:09.4078128Z2020-06-30T18:54:09.4078128Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-07-02T05:59:01.0659053Z2020-07-02T05:59:01.0659053Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:09 GMT + - Thu, 02 Jul 2020 05:59:00 GMT etag: - - '637291400489630000' + - '637292663405670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -98,19 +127,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-06-30T18:54:09Z2020-06-30T18:54:09Zsb://servicebustestshi5frbomp.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-07-02T05:59:01Z2020-07-02T05:59:01ZPT13StruePT11Mtruetrue014trueActive2020-06-30T18:54:09.4197129Z2020-06-30T18:54:09.4197129Z2020-06-30T18:54:09.42ZPT13StruePT11Mtruetrue014trueActive2020-07-02T05:59:01.0634521Z2020-07-02T05:59:01.0634521Z2020-07-02T05:59:01.0634521Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:09 GMT + - Thu, 02 Jul 2020 05:59:00 GMT etag: - - '637291400489630000' + - '637292663405670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -142,9 +171,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:09 GMT + - Thu, 02 Jul 2020 05:59:00 GMT etag: - - '637291400489630000' + - '637292663405670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,9 +203,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:10 GMT + - Thu, 02 Jul 2020 05:59:01 GMT etag: - - '637291400489630000' + - '637292663405670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml index b34df6aba898..b2dbcaf24af4 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:02Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:01 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-06-30T18:54:10Z2020-06-30T18:54:11Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-07-02T05:59:02Z2020-07-02T05:59:02Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:10.99Z2020-06-30T18:54:11.027ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:02.91Z2020-07-02T05:59:02.957ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5229227Z2020-06-30T18:54:11.5229227Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.459594Z2020-07-02T05:59:03.459594Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:02 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -98,21 +127,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:11Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:03Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:02 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -144,18 +173,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.772929Z2020-06-30T18:54:11.772929Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7564405Z2020-07-02T05:59:03.7564405Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -180,27 +209,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:11Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:03Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -225,19 +254,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-06-30T18:54:11Z2020-06-30T18:54:11Zsb://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827Z2020-06-30T18:54:11.5172827ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -269,9 +298,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -294,21 +323,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:12Zhttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-06-30T18:54:11Z2020-06-30T18:54:11ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:04Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429Z2020-06-30T18:54:11.7672429ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -340,9 +369,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -365,15 +394,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:12Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:04Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:11 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -405,9 +434,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:12 GMT + - Thu, 02 Jul 2020 05:59:03 GMT etag: - - '637291400510270000' + - '637292663429570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml index c76a31793dbe..510188efca58 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:05Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:04 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-06-30T18:54:13Z2020-06-30T18:54:13Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-07-02T05:59:05Z2020-07-02T05:59:05Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:13.187Z2020-06-30T18:54:13.243ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:05.897Z2020-07-02T05:59:05.947ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:12 GMT + - Thu, 02 Jul 2020 05:59:05 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-06-30T18:54:13Z2020-06-30T18:54:13Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-07-02T05:59:06Z2020-07-02T05:59:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:13.7747013Z2020-06-30T18:54:13.7747013Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:06.4800119Z2020-07-02T05:59:06.4800119Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:13 GMT + - Thu, 02 Jul 2020 05:59:05 GMT etag: - - '637291400532430000' + - '637292663459470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -98,19 +127,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-06-30T18:54:13Z2020-06-30T18:54:13Zsb://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-07-02T05:59:06Z2020-07-02T05:59:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:13.7729242Z2020-06-30T18:54:13.7729242Z2020-06-30T18:54:13.773ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:06.4837277Z2020-07-02T05:59:06.4837277Z2020-07-02T05:59:06.4837277Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:13 GMT + - Thu, 02 Jul 2020 05:59:05 GMT etag: - - '637291400532430000' + - '637292663459470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -142,9 +171,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:13 GMT + - Thu, 02 Jul 2020 05:59:05 GMT etag: - - '637291400532430000' + - '637292663459470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,9 +203,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:13 GMT + - Thu, 02 Jul 2020 05:59:06 GMT etag: - - '637291400532430000' + - '637292663459470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml index 5952734fa015..8e0d3cd9e735 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:07Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:07 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-06-30T18:54:15Z2020-06-30T18:54:15Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-07-02T05:59:08Z2020-07-02T05:59:08Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:15.16Z2020-06-30T18:54:15.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:08.303Z2020-07-02T05:59:08.337ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,15 +84,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:15Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:08Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -95,18 +124,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T18:54:15Z2020-06-30T18:54:15Zhttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T05:59:08Z2020-07-02T05:59:08ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.692401Z2020-06-30T18:54:15.692401Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.8948647Z2020-07-02T05:59:08.8948647Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -138,18 +167,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T18:54:15Z2020-06-30T18:54:15Zhttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T05:59:08Z2020-07-02T05:59:08ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.9736713Z2020-06-30T18:54:15.9736713Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.9886337Z2020-07-02T05:59:08.9886337Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,27 +203,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:16Zhttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-06-30T18:54:15Z2020-06-30T18:54:15ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:09Zhttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T05:59:08Z2020-07-02T05:59:08ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.7060312Z2020-06-30T18:54:15.7060312Z2020-06-30T18:54:15.707ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.8877111Z2020-07-02T05:59:08.8877111Z2020-07-02T05:59:08.8877111Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-06-30T18:54:15Z2020-06-30T18:54:15Zhttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T05:59:08Z2020-07-02T05:59:08ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:15.9716555Z2020-06-30T18:54:15.9716555Z2020-06-30T18:54:15.9716555ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.9815377Z2020-07-02T05:59:08.9815377Z2020-07-02T05:59:08.9815377Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -226,9 +255,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -258,9 +287,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:08 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -283,15 +312,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:16Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:09Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:15 GMT + - Thu, 02 Jul 2020 05:59:09 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -323,9 +352,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:16 GMT + - Thu, 02 Jul 2020 05:59:09 GMT etag: - - '637291400552100000' + - '637292663483370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml index 0afe7ad95cec..79cd07ef66e5 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:10Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-06-30T18:54:17Z2020-06-30T18:54:17Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-07-02T05:59:11Z2020-07-02T05:59:11Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:17.453Z2020-06-30T18:54:17.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:11.17Z2020-07-02T05:59:11.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:17 GMT + - Thu, 02 Jul 2020 05:59:11 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,15 +84,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:17 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -88,15 +117,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -128,18 +157,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.4987237Z2020-06-30T18:54:18.4987237Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7885546Z2020-07-02T05:59:11.7885546Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -164,21 +193,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Zhttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.503ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.793Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,21 +232,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Zhttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-06-30T18:54:18Z2020-06-30T18:54:18ZSubscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:12Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.502575Z2020-06-30T18:54:18.503ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.793Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -249,9 +278,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -274,15 +303,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestejukatflvi.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-06-30T18:54:18Z + string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:12Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:18 GMT + - Thu, 02 Jul 2020 05:59:11 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -314,9 +343,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:19 GMT + - Thu, 02 Jul 2020 05:59:12 GMT etag: - - '637291400575670000' + - '637292663512330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml index a8c7eac78ac7..90b6e4f93a2f 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:13Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:54:19Z2020-06-30T18:54:19Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:59:13Z2020-07-02T05:59:13Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:19.9Z2020-06-30T18:54:19.977ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:13.9Z2020-07-02T05:59:13.933ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:19 GMT + - Thu, 02 Jul 2020 05:59:14 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-06-30T18:54:20Z2020-06-30T18:54:20Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-07-02T05:59:14Z2020-07-02T05:59:14ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:20.4384195Z2020-06-30T18:54:20.4384195Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:14.4215758Z2020-07-02T05:59:14.4215758Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:19 GMT + - Thu, 02 Jul 2020 05:59:14 GMT etag: - - '637291400599770000' + - '637292663539330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -87,7 +116,7 @@ interactions: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:20.438419Z2020-06-30T18:54:20.438419Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:14.421575Z2020-07-02T05:59:14.421575Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -108,15 +137,15 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a7a0ad93-a5f4-48c0-a310-5b2146ecb684_B10, - SystemTracker:NoSystemTracker, Timestamp:2020-06-30T18:54:20 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:37515d8f-2ea6-41b6-bec9-5072e1d491dc_B1, + SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:59:14 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:20 GMT + - Thu, 02 Jul 2020 05:59:15 GMT etag: - - '637291400599770000' + - '637292663539330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -130,7 +159,7 @@ interactions: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:20.438419Z2020-06-30T18:54:20.438419Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:14.421575Z2020-07-02T05:59:14.421575Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -156,15 +185,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:eebe0ef8-6874-4163-b79a-2557a2e8348f_G1, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-06-30T18:54:21' + Actual value was 25.00:00:00. TrackingId:b54cb5d3-855b-4b94-9b6a-586e71dfaaae_G15, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-07-02T05:59:15' headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:21 GMT + - Thu, 02 Jul 2020 05:59:16 GMT etag: - - '637291400599770000' + - '637292663539330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -196,9 +225,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:22 GMT + - Thu, 02 Jul 2020 05:59:16 GMT etag: - - '637291400599770000' + - '637292663539330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -228,9 +257,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:22 GMT + - Thu, 02 Jul 2020 05:59:16 GMT etag: - - '637291400599770000' + - '637292663539330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml index 9a94ccf68dea..b834cb197645 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:17Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:16 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:54:23Z2020-06-30T18:54:23Zservicebustestejukatflvihttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:18Z2020-07-02T05:59:18Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:54:23.88Z2020-06-30T18:54:23.94ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:18.33Z2020-07-02T05:59:18.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:17 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -62,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:18ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-06-30T18:54:24.4011315Z2020-06-30T18:54:24.4011315Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:18.8141966Z2020-07-02T05:59:18.8141966Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -87,7 +116,7 @@ interactions: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.401131Z2020-06-30T18:54:24.401131Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:18.814196Z2020-07-02T05:59:18.814196Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -107,18 +136,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:19Z2020-07-02T05:59:19ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.6824391Z2020-06-30T18:54:24.6824391Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:19.1734923Z2020-07-02T05:59:19.1734923Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -143,19 +172,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24Zsb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:19ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-06-30T18:54:24.4093405Z2020-06-30T18:54:24.6905838Z2020-06-30T18:54:24.41ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:18.8184612Z2020-07-02T05:59:19.1777931Z2020-07-02T05:59:18.82Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -170,7 +199,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.40934Z2020-06-30T18:54:24.690583Z2020-06-30T18:54:24.410Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:18.818461Z2020-07-02T05:59:19.177793Z2020-07-02T05:59:18.820Z00000PT10MAvailable' headers: Accept: - application/xml @@ -179,7 +208,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1378' + - '1379' Content-Type: - application/atom+xml If-Match: @@ -190,18 +219,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24Zhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:19Z2020-07-02T05:59:19ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.82303Z2020-06-30T18:54:24.82303Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:19.2985057Z2020-07-02T05:59:19.2985057Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -226,19 +255,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestejukatflvi.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-06-30T18:54:24Z2020-06-30T18:54:24Zsb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:19ZPT12SfalsePT11Mtruetrue014trueActive2020-06-30T18:54:24.4093405Z2020-06-30T18:54:24.831258Z2020-06-30T18:54:24.41ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:18.8184612Z2020-07-02T05:59:19.30283Z2020-07-02T05:59:18.82Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -270,9 +299,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:24 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -302,9 +331,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:54:25 GMT + - Thu, 02 Jul 2020 05:59:19 GMT etag: - - '637291400639400000' + - '637292663583770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml index 0b9dd8838ab6..121a82b84c3d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:20Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-06-30T18:56:04Z2020-06-30T18:56:04Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:59:20Z2020-07-02T05:59:20Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:04.363Z2020-06-30T18:56:04.4ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:20.783Z2020-07-02T05:59:20.81ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:04 GMT + - Thu, 02 Jul 2020 05:59:21 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-06-30T18:56:04Z2020-06-30T18:56:04Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-07-02T05:59:20Z2020-07-02T05:59:20Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:04.363Z2020-06-30T18:56:04.4Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:20.783Z2020-07-02T05:59:20.81Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:04 GMT + - Thu, 02 Jul 2020 05:59:21 GMT etag: - - '637291401644000000' + - '637292663608100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:04 GMT + - Thu, 02 Jul 2020 05:59:21 GMT etag: - - '637291401644000000' + - '637292663608100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml index 599092254ae4..a18ac6449519 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:22Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:22 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-06-30T18:56:05Z2020-06-30T18:56:05Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:59:22Z2020-07-02T05:59:22Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:05.893Z2020-06-30T18:56:05.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:22.95Z2020-07-02T05:59:22.98ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:06 GMT + - Thu, 02 Jul 2020 05:59:23 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -64,15 +93,15 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:cf33b60a-1456-4723-ac8c-78b4eeba13af_G6, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-06-30T18:56:06 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:01a1f231-8b8c-41b2-a759-d4445fef69c5_G10, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-07-02T05:59:23 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:06 GMT + - Thu, 02 Jul 2020 05:59:23 GMT etag: - - '637291401659700000' + - '637292663629800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -104,9 +133,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:06 GMT + - Thu, 02 Jul 2020 05:59:23 GMT etag: - - '637291401659700000' + - '637292663629800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml index f49e6401388a..eb9375052b5c 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:24Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-06-30T18:56:07Z2020-06-30T18:56:07Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:59:25Z2020-07-02T05:59:25Zservicebustestshi5frbompPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T18:56:07.8Z2020-06-30T18:56:07.923ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T05:59:25.313Z2020-07-02T05:59:25.47ZfalsePT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:07 GMT + - Thu, 02 Jul 2020 05:59:25 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-06-30T18:56:07Z2020-06-30T18:56:07Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T05:59:25Z2020-07-02T05:59:25Zservicebustestshi5frbompPT11M356352falsePT12Mtrue0falsetrueActive2020-06-30T18:56:07.8Z2020-06-30T18:56:07.923Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T05:59:25.313Z2020-07-02T05:59:25.47Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:07 GMT + - Thu, 02 Jul 2020 05:59:25 GMT etag: - - '637291401679230000' + - '637292663654700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:08 GMT + - Thu, 02 Jul 2020 05:59:25 GMT etag: - - '637291401679230000' + - '637292663654700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml index 95b5f0041917..cec1f518c05e 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:27Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:26 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:09 GMT + - Thu, 02 Jul 2020 05:59:27 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:10Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:28Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:09 GMT + - Thu, 02 Jul 2020 05:59:27 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -97,16 +126,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:10 GMT + - Thu, 02 Jul 2020 05:59:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -131,25 +160,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:12Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:29Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:11 GMT + - Thu, 02 Jul 2020 05:59:29 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -172,19 +201,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T18:56:09Z2020-06-30T18:56:09Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:09.713Z2020-06-30T18:56:09.833Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:11 GMT + - Thu, 02 Jul 2020 05:59:29 GMT etag: - - '637291401698330000' + - '637292663676470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -216,9 +245,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:11 GMT + - Thu, 02 Jul 2020 05:59:29 GMT etag: - - '637291401698330000' + - '637292663676470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -241,19 +270,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:13Zhttps://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:31Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:12 GMT + - Thu, 02 Jul 2020 05:59:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -276,19 +305,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-06-30T18:56:11Z2020-06-30T18:56:11Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:11.29Z2020-06-30T18:56:11.357Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:12 GMT + - Thu, 02 Jul 2020 05:59:30 GMT etag: - - '637291401713570000' + - '637292663690030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -320,9 +349,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:12 GMT + - Thu, 02 Jul 2020 05:59:30 GMT etag: - - '637291401713570000' + - '637292663690030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -345,13 +374,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:14Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:32Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:13 GMT + - Thu, 02 Jul 2020 05:59:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml index fbb49c4dfa3a..13c58c751919 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:32Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:32 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:15Z2020-06-30T18:56:15Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:33Z2020-07-02T05:59:33Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:15.1Z2020-06-30T18:56:15.157ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:33.137Z2020-07-02T05:59:33.167ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:15 GMT + - Thu, 02 Jul 2020 05:59:33 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -55,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-06-30T18:56:15Z2020-06-30T18:56:15Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T05:59:33Z2020-07-02T05:59:33Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:15.1Z2020-06-30T18:56:15.157Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:33.137Z2020-07-02T05:59:33.167Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:15 GMT + - Thu, 02 Jul 2020 05:59:33 GMT etag: - - '637291401751570000' + - '637292663731670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -99,9 +128,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:16 GMT + - Thu, 02 Jul 2020 05:59:34 GMT etag: - - '637291401751570000' + - '637292663731670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml index 48d85e26f92e..8fa92be7e50d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml @@ -14,13 +14,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:16Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:34Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:16 GMT + - Thu, 02 Jul 2020 05:59:34 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:35Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:34 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T05:59:35Z2020-07-02T05:59:35Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.05Z2020-06-30T18:56:17.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:35.9Z2020-07-02T05:59:35.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:17 GMT + - Thu, 02 Jul 2020 05:59:35 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,16 +120,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T05:59:36Z2020-07-02T05:59:36Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.917Z2020-06-30T18:56:17.95ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:36.743Z2020-07-02T05:59:36.77ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:18 GMT + - Thu, 02 Jul 2020 05:59:36 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -125,25 +154,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:18Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:37Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T05:59:35Z2020-07-02T05:59:35Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.05Z2020-06-30T18:56:17.143Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:35.9Z2020-07-02T05:59:35.927Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestuom474eqek.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-06-30T18:56:17Z2020-06-30T18:56:17Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T05:59:36Z2020-07-02T05:59:36Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:17.917Z2020-06-30T18:56:17.95Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:36.743Z2020-07-02T05:59:36.77Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:18 GMT + - Thu, 02 Jul 2020 05:59:37 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,9 +202,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:19 GMT + - Thu, 02 Jul 2020 05:59:37 GMT etag: - - '637291401771430000' + - '637292663759270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -205,9 +234,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:19 GMT + - Thu, 02 Jul 2020 05:59:37 GMT etag: - - '637291401779500000' + - '637292663767700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -230,13 +259,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:20Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:20 GMT + - Thu, 02 Jul 2020 05:59:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml index 1d3c98896a14..8ae550ca2a35 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:21Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:20 GMT + - Thu, 02 Jul 2020 05:59:39 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,13 +43,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:21Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:20 GMT + - Thu, 02 Jul 2020 05:59:39 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:40Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -79,16 +108,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:21 GMT + - Thu, 02 Jul 2020 05:59:41 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -113,19 +142,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:22Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:41Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:21 GMT + - Thu, 02 Jul 2020 05:59:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -148,19 +177,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:23Zhttps://servicebustestuom474eqek.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-06-30T18:56:22Z2020-06-30T18:56:22Zservicebustestuom474eqekTopicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:42Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:22.007Z2020-06-30T18:56:22.097Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:22 GMT + - Thu, 02 Jul 2020 05:59:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -190,9 +219,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:22 GMT + - Thu, 02 Jul 2020 05:59:42 GMT etag: - - '637291401820970000' + - '637292663809270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -215,13 +244,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestuom474eqek.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-06-30T18:56:24Z + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:43Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:23 GMT + - Thu, 02 Jul 2020 05:59:43 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml index 3742eea0aef5..9e83f706ed9e 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:43Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-06-30T18:56:24Z2020-06-30T18:56:24Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:59:44Z2020-07-02T05:59:44Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:24.92Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:44.35Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:25 GMT + - Thu, 02 Jul 2020 05:59:44 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -45,7 +74,7 @@ interactions: P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:24.920Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T05:59:44.350Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -67,13 +96,13 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:e3119953-921c-44e8-a65b-a43649379a31_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-06-30T18:56:26 + . TrackingId:636a6425-774b-4cf2-b22a-91fc476bb1fd_G8, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-07-02T05:59:45 headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:25 GMT + - Thu, 02 Jul 2020 05:59:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -88,7 +117,7 @@ interactions: P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-06-30T18:56:24.920Z2020-06-30T18:56:24.963ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T05:59:44.350Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -113,15 +142,15 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:cac815a6-ca26-41fa-8364-5c5fde7d8f31_G3, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-06-30T18:56:26' + Actual value was 25.00:00:00. TrackingId:a66fd9fb-68e3-4720-8f04-53abc2706751_G8, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T05:59:45' headers: content-type: - application/xml; charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:25 GMT + - Thu, 02 Jul 2020 05:59:45 GMT etag: - - '637291401849630000' + - '637292663843970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -153,9 +182,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:26 GMT + - Thu, 02 Jul 2020 05:59:45 GMT etag: - - '637291401849630000' + - '637292663843970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml index 94a9c0727d20..b3f83a00ab13 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml @@ -1,4 +1,33 @@ interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:46Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Thu, 02 Jul 2020 05:59:46 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: ' @@ -21,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:27Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:47Zservicebustestshi5frbompP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:27 GMT + - Thu, 02 Jul 2020 05:59:47 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -45,7 +74,7 @@ interactions: PT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.320Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -65,18 +94,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:27Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:47Zservicebustestshi5frbompPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:27 GMT + - Thu, 02 Jul 2020 05:59:47 GMT etag: - - '637291401873970000' + - '637292663873730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -101,19 +130,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:27Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:47Zservicebustestshi5frbompPT2M1024falsePT10Mtrue0falsefalseActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:27 GMT + - Thu, 02 Jul 2020 05:59:47 GMT etag: - - '637291401878970000' + - '637292663878870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -129,7 +158,7 @@ interactions: PT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.320Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -149,19 +178,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-06-30T18:56:28Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:48Zservicebustestshi5frbompPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.32Z2020-06-30T18:56:27.897Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:28 GMT + - Thu, 02 Jul 2020 05:59:47 GMT etag: - - '637291401878970000' + - '637292663878870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -186,19 +215,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestuom474eqek.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-06-30T18:56:27Z2020-06-30T18:56:28Zservicebustestuom474eqekhttps://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:48Zservicebustestshi5frbompPT11M3072falsePT12Mtrue0falsetrueActive2020-06-30T18:56:27.32Z2020-06-30T18:56:28.03Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T05:59:47.347Z2020-07-02T05:59:48.113Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 30 Jun 2020 18:56:28 GMT + - Thu, 02 Jul 2020 05:59:47 GMT etag: - - '637291401880300000' + - '637292663881130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -230,9 +259,9 @@ interactions: content-length: - '0' date: - - Tue, 30 Jun 2020 18:56:28 GMT + - Thu, 02 Jul 2020 05:59:48 GMT etag: - - '637291401880300000' + - '637292663881130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py index 43b3f90aed98..38bef724f6c0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py @@ -27,7 +27,8 @@ MgmtQueueListTestHelper, MgmtQueueListRuntimeInfoTestHelper, run_test_mgmt_list_with_parameters, - run_test_mgmt_list_with_negative_parameters + run_test_mgmt_list_with_negative_parameters, + clear_queues ) _logger = get_logger(logging.DEBUG) @@ -38,6 +39,9 @@ class ServiceBusManagementClientQueueTests(AzureMgmtTestCase): def test_mgmt_queue_list_basic(self, servicebus_namespace_connection_string, servicebus_namespace, servicebus_namespace_key_name, servicebus_namespace_primary_key): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + + clear_queues(mgmt_service) + queues = list(mgmt_service.list_queues()) assert len(queues) == 0 mgmt_service.create_queue("test_queue") @@ -67,6 +71,7 @@ def test_mgmt_queue_list_with_special_chars(self, servicebus_namespace_connectio # Queue names can contain letters, numbers, periods (.), hyphens (-), underscores (_), and slashes (/), up to 260 characters. Queue names are also case-insensitive. queue_name = 'txt/.-_123' mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_queues(mgmt_service) queues = list(mgmt_service.list_queues()) assert len(queues) == 0 mgmt_service.create_queue(queue_name) @@ -125,6 +130,7 @@ def test_mgmt_queue_list_with_negative_parameters(self, servicebus_namespace_con @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_queues(mgmt_service) mgmt_service.create_queue("test_queue") queues = list(mgmt_service.list_queues()) assert len(queues) == 1 @@ -147,6 +153,7 @@ def test_mgmt_queue_delete_basic(self, servicebus_namespace_connection_string): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_one_and_check_not_existing(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_queues(mgmt_service) for i in range(10): mgmt_service.create_queue("queue{}".format(i)) @@ -166,6 +173,7 @@ def test_mgmt_queue_delete_one_and_check_not_existing(self, servicebus_namespace @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_queues(mgmt_service) mgmt_service.create_queue("test_queue") queues = list(mgmt_service.list_queues()) assert len(queues) == 1 @@ -186,13 +194,12 @@ def test_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string) with pytest.raises(ValueError): mgmt_service.delete_queue(queue=None) - @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) queue_name = "queue_testaddf" mgmt_service.create_queue(queue_name) created_at = utc_now() @@ -228,7 +235,7 @@ def test_mgmt_queue_create_with_invalid_name(self, servicebus_namespace_connecti @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) queue_name = "iweidk" #TODO: Why don't we have an input model (queueOptions? as superclass of QueueDescription?) and output model to not show these params? @@ -274,7 +281,7 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) queue_name = "rtofdk" mgmt_service.create_queue(queue_name) try: @@ -288,7 +295,7 @@ def test_mgmt_queue_create_duplicate(self, servicebus_namespace_connection_strin @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) queue_name = "fjrui" queue_description = mgmt_service.create_queue(queue_name) try: @@ -340,7 +347,7 @@ def test_mgmt_queue_update_success(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) queue_name = "dfjfj" queue_description = mgmt_service.create_queue(queue_name) try: @@ -382,6 +389,7 @@ def test_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_queues(mgmt_service) queues = list(mgmt_service.list_queues()) queues_infos = list(mgmt_service.list_queues_runtime_info()) @@ -432,7 +440,7 @@ def test_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_queues(mgmt_service) mgmt_service.create_queue("test_queue") try: queue_runtime_info = mgmt_service.get_queue_runtime_info("test_queue") diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py index 2a1c15a2d789..2c982cdfa768 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py @@ -17,6 +17,8 @@ ServiceBusNamespacePreparer ) +from mgmt_test_utilities import clear_topics + _logger = get_logger(logging.DEBUG) class ServiceBusManagementClientRuleTests(AzureMgmtTestCase): @@ -24,6 +26,7 @@ class ServiceBusManagementClientRuleTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_rule_create(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" rule_name_1 = 'test_rule_1' @@ -70,6 +73,7 @@ def test_mgmt_rule_create(self, servicebus_namespace_connection_string, **kwargs @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_rule_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "dqkodq" subscription_name = 'kkaqo' rule_name = 'rule' @@ -90,7 +94,7 @@ def test_mgmt_rule_create_duplicate(self, servicebus_namespace_connection_string @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_rule_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" rule_name = 'rule' @@ -128,7 +132,7 @@ def test_mgmt_rule_update_success(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" rule_name = 'rule' @@ -171,6 +175,7 @@ def test_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_rule_list_and_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" rule_name_1 = 'test_rule_1' diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py index 6c5dd89c1cf0..675a46ec7bd5 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py @@ -18,6 +18,8 @@ ServiceBusNamespacePreparer ) +from mgmt_test_utilities import clear_topics + _logger = get_logger(logging.DEBUG) @@ -26,6 +28,7 @@ class ServiceBusManagementClientSubscriptionTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "topic_testaddf" subscription_name = "sub_testkkk" @@ -44,6 +47,7 @@ def test_mgmt_subscription_create_by_name(self, servicebus_namespace_connection_ @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_create_with_subscription_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "iweidk" subscription_name = "kdosako" try: @@ -78,6 +82,7 @@ def test_mgmt_subscription_create_with_subscription_description(self, servicebus @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "dqkodq" subscription_name = 'kkaqo' try: @@ -93,7 +98,7 @@ def test_mgmt_subscription_create_duplicate(self, servicebus_namespace_connectio @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "fjrui" subscription_name = "eqkovc" @@ -134,7 +139,7 @@ def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_ @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "dfjfj" subscription_name = "kwqxc" try: @@ -174,6 +179,7 @@ def test_mgmt_subscription_update_invalid(self, servicebus_namespace_connection_ @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = 'test_topicgda' subscription_name_1 = 'test_sub1da' subscription_name_2 = 'test_sub2gcv' @@ -203,6 +209,7 @@ def test_mgmt_subscription_delete(self, servicebus_namespace_connection_string): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_list(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = 'lkoqxc' subscription_name_1 = 'testsub1' subscription_name_2 = 'testsub2' @@ -226,7 +233,7 @@ def test_mgmt_subscription_list(self, servicebus_namespace_connection_string, ** @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = 'dkoamv' subscription_name = 'cxqplc' mgmt_service.create_topic(topic_name) @@ -267,7 +274,7 @@ def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connecti @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = 'dcvxqa' subscription_name = 'xvazzag' diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py index d596b323f164..515bae56b09f 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py @@ -18,6 +18,8 @@ ServiceBusNamespacePreparer ) +from mgmt_test_utilities import clear_topics + _logger = get_logger(logging.DEBUG) @@ -26,6 +28,7 @@ class ServiceBusManagementClientTopicTests(AzureMgmtTestCase): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_create_by_name(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "topic_testaddf" try: @@ -41,6 +44,7 @@ def test_mgmt_topic_create_by_name(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "iweidk" try: mgmt_service.create_topic( @@ -75,6 +79,7 @@ def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_con @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_create_duplicate(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topic_name = "dqkodq" try: mgmt_service.create_topic(topic_name) @@ -87,7 +92,7 @@ def test_mgmt_topic_create_duplicate(self, servicebus_namespace_connection_strin @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_update_success(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "fjrui" try: @@ -133,7 +138,7 @@ def test_mgmt_topic_update_success(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) topic_name = "dfjfj" try: topic_description = mgmt_service.create_topic(topic_name) @@ -170,6 +175,7 @@ def test_mgmt_topic_update_invalid(self, servicebus_namespace_connection_string, @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_delete(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) mgmt_service.create_topic('test_topic') topics = list(mgmt_service.list_topics()) assert len(topics) == 1 @@ -194,6 +200,7 @@ def test_mgmt_topic_delete(self, servicebus_namespace_connection_string): @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topics = list(mgmt_service.list_topics()) assert len(topics) == 0 mgmt_service.create_topic("test_topic_1") @@ -211,6 +218,7 @@ def test_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs) @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) + clear_topics(mgmt_service) topics = list(mgmt_service.list_topics()) topics_infos = list(mgmt_service.list_topics_runtime_info()) @@ -246,7 +254,7 @@ def test_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_stri @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusManagementClient.from_connection_string(servicebus_namespace_connection_string) - + clear_topics(mgmt_service) mgmt_service.create_topic("test_topic") topic_runtime_info = mgmt_service.get_topic_runtime_info("test_topic")