From bdf8c479e14c5c9c7fc066b837c7db47a4a076d1 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Wed, 14 Apr 2021 08:51:23 -0700 Subject: [PATCH 1/7] validate iso8601 duration format in mgmt module --- .../management/_management_client_async.py | 30 ++++++++++----- .../management/_management_client.py | 30 ++++++++++----- .../mgmt_tests/test_mgmt_queues_async.py | 37 +++++++++++++++++- .../test_mgmt_subscriptions_async.py | 23 +++++++++++ .../mgmt_tests/test_mgmt_topics_async.py | 22 +++++++++++ .../tests/mgmt_tests/test_mgmt_queues.py | 38 +++++++++++++++++++ .../mgmt_tests/test_mgmt_subscriptions.py | 23 +++++++++++ .../tests/mgmt_tests/test_mgmt_topics.py | 23 +++++++++++ 8 files changed, 205 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 36e0acbe4cc5..26404e273bba 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 @@ -296,17 +296,20 @@ async def create_queue(self, queue_name: str, **kwargs) -> QueueProperties: :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type duplicate_detection_history_time_window: Union[~datetime.timedelta, str] :keyword enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool @@ -319,7 +322,8 @@ async def create_queue(self, queue_name: str, **kwargs) -> QueueProperties: :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type lock_duration: Union[~datetime.timedelta, str] :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 @@ -561,7 +565,8 @@ async def create_topic(self, topic_name: str, **kwargs) -> TopicProperties: :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 @@ -570,7 +575,8 @@ async def create_topic(self, topic_name: str, **kwargs) -> TopicProperties: :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type duplicate_detection_history_time_window: Union[~datetime.timedelta, str] :keyword enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool @@ -585,7 +591,8 @@ async def create_topic(self, topic_name: str, **kwargs) -> TopicProperties: :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :keyword enable_partitioning: A value that indicates whether the topic is to be partitioned across multiple message brokers. :type enable_partitioning: bool @@ -805,14 +812,16 @@ async def create_subscription( :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type lock_duration: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 @@ -836,7 +845,8 @@ async def create_subscription( :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :rtype: ~azure.servicebus.management.SubscriptionProperties """ _validate_entity_name_type(topic_name, display_name="topic_name") 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 d808fcfd1315..dd3d59cf93cd 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -288,17 +288,20 @@ def create_queue(self, queue_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type duplicate_detection_history_time_window: Union[~datetime.timedelta, str] :keyword enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool @@ -311,7 +314,8 @@ def create_queue(self, queue_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type lock_duration: Union[~datetime.timedelta, str] :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 @@ -553,7 +557,8 @@ def create_topic(self, topic_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 @@ -562,7 +567,8 @@ def create_topic(self, topic_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type duplicate_detection_history_time_window: Union[~datetime.timedelta, str] :keyword enable_batched_operations: Value that indicates whether server-side batched operations are enabled. :type enable_batched_operations: bool @@ -577,7 +583,8 @@ def create_topic(self, topic_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :keyword enable_partitioning: A value that indicates whether the topic is to be partitioned across multiple message brokers. :type enable_partitioning: bool @@ -804,14 +811,16 @@ def create_subscription(self, topic_name, subscription_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type lock_duration: Union[~datetime.timedelta, str] :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type default_message_time_to_live: Union[~datetime.timedelta, str] :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 @@ -835,7 +844,8 @@ def create_subscription(self, topic_name, subscription_name, **kwargs): :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 + Input value of either type ~datetime.timedelta or string in ISO 8601 duration format like "PT300S" is accepted. + :type auto_delete_on_idle: Union[~datetime.timedelta, str] :rtype: ~azure.servicebus.management.SubscriptionProperties """ _validate_entity_name_type(topic_name, display_name="topic_name") 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 dc4831b1b743..866450c7b024 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 @@ -223,6 +223,7 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_queues(mgmt_service) queue_name = "dkldf" + queue_name_2 = "vjiqjx" topic_name = "aghadh" await mgmt_service.create_topic(topic_name) await mgmt_service.create_queue( @@ -242,6 +243,23 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n #requires_duplicate_detection=True, requires_session=True ) + + await mgmt_service.create_queue( + queue_name_2, + auto_delete_on_idle="PT10M1S", + dead_lettering_on_message_expiration=True, + default_message_time_to_live="PT11M32S", + duplicate_detection_history_time_window="PT12M3S", + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + forward_dead_lettered_messages_to=topic_name, + forward_to=topic_name, + lock_duration="PT13S", + max_delivery_count=14, + max_size_in_megabytes=3072, + requires_session=True + ) try: queue = await mgmt_service.get_queue(queue_name) assert queue.name == queue_name @@ -259,10 +277,27 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n assert queue.max_size_in_megabytes % 3072 == 0 #assert queue.requires_duplicate_detection == True assert queue.requires_session == True + + queue2 = await mgmt_service.get_queue(queue_name_2) + assert queue2.name == queue_name_2 + assert queue2.auto_delete_on_idle == datetime.timedelta(minutes=10, seconds=1) + assert queue2.dead_lettering_on_message_expiration == True + assert queue2.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert queue2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) + assert queue2.enable_batched_operations == True + assert queue2.enable_express == True + assert queue2.enable_partitioning == True + assert queue2.forward_dead_lettered_messages_to.endswith(".servicebus.windows.net/{}".format(topic_name)) + assert queue2.forward_to.endswith(".servicebus.windows.net/{}".format(topic_name)) + assert queue2.lock_duration == datetime.timedelta(seconds=13) + assert queue2.max_delivery_count == 14 + assert queue2.max_size_in_megabytes % 3072 == 0 + assert queue2.requires_session == True finally: await mgmt_service.delete_queue(queue_name) + await mgmt_service.delete_queue(queue_name_2) await mgmt_service.delete_topic(topic_name) - mgmt_service.close() + await mgmt_service.close() @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') 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 16c0a25bda37..251d4260a851 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 @@ -51,6 +51,7 @@ async def test_async_mgmt_subscription_create_with_subscription_description(self await clear_topics(mgmt_service) topic_name = "iweidk" subscription_name = "kdosako" + subscription_name_2 = "owazmq" try: await mgmt_service.create_topic(topic_name) await mgmt_service.create_subscription( @@ -73,8 +74,30 @@ async def test_async_mgmt_subscription_create_with_subscription_description(self assert subscription.lock_duration == datetime.timedelta(seconds=13) assert subscription.max_delivery_count == 14 assert subscription.requires_session == True + + await mgmt_service.create_subscription( + topic_name, + subscription_name=subscription_name_2, + auto_delete_on_idle="PT10M", + dead_lettering_on_message_expiration=True, + default_message_time_to_live="PT11M", + enable_batched_operations=True, + lock_duration="PT13S", + max_delivery_count=14, + requires_session=True + ) + subscription_2 = await mgmt_service.get_subscription(topic_name, subscription_name_2) + assert subscription_2.name == subscription_name + assert subscription_2.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription_2.dead_lettering_on_message_expiration == True + assert subscription_2.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription_2.enable_batched_operations == True + assert subscription_2.lock_duration == datetime.timedelta(seconds=13) + assert subscription_2.max_delivery_count == 14 + assert subscription_2.requires_session == True finally: await mgmt_service.delete_subscription(topic_name, subscription_name) + await mgmt_service.delete_subscription(topic_name, subscription_name_2) await mgmt_service.delete_topic(topic_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') 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 3e5cd988ed39..da3468cadb47 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 @@ -47,6 +47,7 @@ async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_n mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_topics(mgmt_service) topic_name = "iweidk" + topic_name_2 = "dkozq" try: await mgmt_service.create_topic( topic_name=topic_name, @@ -67,8 +68,29 @@ async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_n assert topic.enable_express assert topic.enable_partitioning assert topic.max_size_in_megabytes % 3072 == 0 + + await mgmt_service.create_topic( + topic_name=topic_name_2, + auto_delete_on_idle="PT10M", + default_message_time_to_live="PT11M", + duplicate_detection_history_time_window="PT12M", + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + max_size_in_megabytes=3072 + ) + topic_2 = await mgmt_service.get_topic(topic_name_2) + assert topic_2.name == topic_name + assert topic_2.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic_2.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic_2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic_2.enable_batched_operations + assert topic_2.enable_express + assert topic_2.enable_partitioning + assert topic_2.max_size_in_megabytes % 3072 == 0 finally: await mgmt_service.delete_topic(topic_name) + await mgmt_service.delete_topic(topic_name_2) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') 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 56772c4f78c3..e881a372ad9c 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 @@ -233,6 +233,7 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_queues(mgmt_service) queue_name = "iweidk" + queue_name_2 = "vladsk" topic_name = "aghadh" #TODO: Why don't we have an input model (queueOptions? as superclass of QueueProperties?) and output model to not show these params? @@ -255,6 +256,24 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con #requires_duplicate_detection=True, requires_session=True ) + + mgmt_service.create_queue( + queue_name_2, + auto_delete_on_idle="PT10M1S", + dead_lettering_on_message_expiration=True, + default_message_time_to_live="PT11M32S", + duplicate_detection_history_time_window="PT12M3S", + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + forward_dead_lettered_messages_to=topic_name, + forward_to=topic_name, + lock_duration="PT13S", + max_delivery_count=14, + max_size_in_megabytes=3072, + requires_session=True + ) + try: queue = mgmt_service.get_queue(queue_name) assert queue.name == queue_name @@ -275,9 +294,28 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con # To know more visit https://aka.ms/sbResourceMgrExceptions. #assert queue.requires_duplicate_detection == True assert queue.requires_session == True + + queue2 = mgmt_service.get_queue(queue_name_2) + assert queue2.name == queue_name_2 + assert queue2.auto_delete_on_idle == datetime.timedelta(minutes=10, seconds=1) + assert queue2.dead_lettering_on_message_expiration == True + assert queue2.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert queue2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) + assert queue2.enable_batched_operations == True + assert queue2.enable_express == True + assert queue2.enable_partitioning == True + assert queue2.forward_dead_lettered_messages_to.endswith(".servicebus.windows.net/{}".format(topic_name)) + assert queue2.forward_to.endswith(".servicebus.windows.net/{}".format(topic_name)) + assert queue2.lock_duration == datetime.timedelta(seconds=13) + assert queue2.max_delivery_count == 14 + assert queue2.max_size_in_megabytes % 3072 == 0 + assert queue2.requires_session == True + finally: mgmt_service.delete_queue(queue_name) + mgmt_service.delete_queue(queue_name_2) mgmt_service.delete_topic(topic_name) + mgmt_service.close() @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') 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 319f36ba8254..bc9430bf71d8 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 @@ -50,6 +50,7 @@ def test_mgmt_subscription_create_with_subscription_description(self, servicebus clear_topics(mgmt_service) topic_name = "iweidk" subscription_name = "kdosako" + subscription_name_2 = "pfkxmq" try: mgmt_service.create_topic(topic_name) mgmt_service.create_subscription( @@ -72,8 +73,30 @@ def test_mgmt_subscription_create_with_subscription_description(self, servicebus assert subscription.lock_duration == datetime.timedelta(seconds=13) assert subscription.max_delivery_count == 14 assert subscription.requires_session == True + + mgmt_service.create_subscription( + topic_name, + subscription_name=subscription_name_2, + auto_delete_on_idle="PT10M", + dead_lettering_on_message_expiration=True, + default_message_time_to_live="PT11M", + enable_batched_operations=True, + lock_duration="PT13S", + max_delivery_count=14, + requires_session=True + ) + subscription_2 = mgmt_service.get_subscription(topic_name, subscription_name_2) + assert subscription_2.name == subscription_name + assert subscription_2.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert subscription_2.dead_lettering_on_message_expiration == True + assert subscription_2.default_message_time_to_live == datetime.timedelta(minutes=11) + assert subscription_2.enable_batched_operations == True + assert subscription_2.lock_duration == datetime.timedelta(seconds=13) + assert subscription_2.max_delivery_count == 14 + assert subscription_2.requires_session == True finally: mgmt_service.delete_subscription(topic_name, subscription_name) + mgmt_service.delete_subscription(topic_name, subscription_name_2) mgmt_service.delete_topic(topic_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') 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 ee001a94bd9d..a8e1a85529e6 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 @@ -46,6 +46,7 @@ def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_con mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_topics(mgmt_service) topic_name = "iweidk" + topic_name_2 = "djsadq" try: mgmt_service.create_topic( topic_name=topic_name, @@ -66,8 +67,30 @@ def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_con assert topic.enable_express assert topic.enable_partitioning assert topic.max_size_in_megabytes % 3072 == 0 + + mgmt_service.create_topic( + topic_name=topic_name_2, + auto_delete_on_idle="PT10M", + default_message_time_to_live="PT11M", + duplicate_detection_history_time_window="PT12M", + enable_batched_operations=True, + enable_express=True, + enable_partitioning=True, + max_size_in_megabytes=3072 + ) + topic_2 = mgmt_service.get_topic(topic_name_2) + assert topic_2.name == topic_name + assert topic_2.auto_delete_on_idle == datetime.timedelta(minutes=10) + assert topic_2.default_message_time_to_live == datetime.timedelta(minutes=11) + assert topic_2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) + assert topic_2.enable_batched_operations + assert topic_2.enable_express + assert topic_2.enable_partitioning + assert topic_2.max_size_in_megabytes % 3072 == 0 + finally: mgmt_service.delete_topic(topic_name) + mgmt_service.delete_topic(topic_name_2) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') From 45a7f638899185895efe32d1d003bbeebed76ac9 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 09:15:22 -0700 Subject: [PATCH 2/7] fix tests --- .../tests/async_tests/mgmt_tests/test_mgmt_queues_async.py | 2 +- .../async_tests/mgmt_tests/test_mgmt_subscriptions_async.py | 2 +- .../tests/async_tests/mgmt_tests/test_mgmt_topics_async.py | 2 +- .../azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py | 2 +- .../tests/mgmt_tests/test_mgmt_subscriptions.py | 2 +- .../azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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 866450c7b024..3cd1830380c2 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 @@ -248,7 +248,7 @@ async def test_async_mgmt_queue_create_with_queue_description(self, servicebus_n queue_name_2, auto_delete_on_idle="PT10M1S", dead_lettering_on_message_expiration=True, - default_message_time_to_live="PT11M32S", + default_message_time_to_live="PT11M2S", duplicate_detection_history_time_window="PT12M3S", enable_batched_operations=True, enable_express=True, 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 251d4260a851..d5deba1ed7ce 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 @@ -87,7 +87,7 @@ async def test_async_mgmt_subscription_create_with_subscription_description(self requires_session=True ) subscription_2 = await mgmt_service.get_subscription(topic_name, subscription_name_2) - assert subscription_2.name == subscription_name + assert subscription_2.name == subscription_name_2 assert subscription_2.auto_delete_on_idle == datetime.timedelta(minutes=10) assert subscription_2.dead_lettering_on_message_expiration == True assert subscription_2.default_message_time_to_live == datetime.timedelta(minutes=11) 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 da3468cadb47..9309a2c04715 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 @@ -80,7 +80,7 @@ async def test_async_mgmt_topic_create_with_topic_description(self, servicebus_n max_size_in_megabytes=3072 ) topic_2 = await mgmt_service.get_topic(topic_name_2) - assert topic_2.name == topic_name + assert topic_2.name == topic_name_2 assert topic_2.auto_delete_on_idle == datetime.timedelta(minutes=10) assert topic_2.default_message_time_to_live == datetime.timedelta(minutes=11) assert topic_2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) 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 e881a372ad9c..29e5bbb1a100 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 @@ -261,7 +261,7 @@ def test_mgmt_queue_create_with_queue_description(self, servicebus_namespace_con queue_name_2, auto_delete_on_idle="PT10M1S", dead_lettering_on_message_expiration=True, - default_message_time_to_live="PT11M32S", + default_message_time_to_live="PT11M2S", duplicate_detection_history_time_window="PT12M3S", enable_batched_operations=True, enable_express=True, 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 bc9430bf71d8..582541fe5276 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 @@ -86,7 +86,7 @@ def test_mgmt_subscription_create_with_subscription_description(self, servicebus requires_session=True ) subscription_2 = mgmt_service.get_subscription(topic_name, subscription_name_2) - assert subscription_2.name == subscription_name + assert subscription_2.name == subscription_name_2 assert subscription_2.auto_delete_on_idle == datetime.timedelta(minutes=10) assert subscription_2.dead_lettering_on_message_expiration == True assert subscription_2.default_message_time_to_live == datetime.timedelta(minutes=11) 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 a8e1a85529e6..035cec2cdf6d 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 @@ -79,7 +79,7 @@ def test_mgmt_topic_create_with_topic_description(self, servicebus_namespace_con max_size_in_megabytes=3072 ) topic_2 = mgmt_service.get_topic(topic_name_2) - assert topic_2.name == topic_name + assert topic_2.name == topic_name_2 assert topic_2.auto_delete_on_idle == datetime.timedelta(minutes=10) assert topic_2.default_message_time_to_live == datetime.timedelta(minutes=11) assert topic_2.duplicate_detection_history_time_window == datetime.timedelta(minutes=12) From e891577ebb236eed0846ec6ba20ab72e0e091140 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 09:15:49 -0700 Subject: [PATCH 3/7] upload test records --- ...t_queue_create_with_queue_description.yaml | 165 ++++++++++++---- ..._create_with_subscription_description.yaml | 156 +++++++++++---- ...t_topic_create_with_topic_description.yaml | 137 ++++++++++--- ...t_queue_create_with_queue_description.yaml | 180 ++++++++++++++---- ..._create_with_subscription_description.yaml | 172 ++++++++++++++--- ...t_topic_create_with_topic_description.yaml | 156 ++++++++++++--- 6 files changed, 778 insertions(+), 188 deletions(-) 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 2ebfdd9a7b81..c5d991097eee 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 @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestmieuq4tlia.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-03-19T22:13:06Z + string: Queueshttps://servicebustestxcs2frcdh7.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-04-15T16:02:44Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 19 Mar 2021 22:13:06 GMT + date: Thu, 15 Apr 2021 16:02:43 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestmieuq4tlia.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,31 +34,31 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/aghadh?api-version=2017-04 response: body: - string: https://servicebustestmieuq4tlia.servicebus.windows.net/aghadh?api-version=2017-04aghadh2021-03-19T22:13:07Z2021-03-19T22:13:07Zservicebustestmieuq4tliahttps://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh?api-version=2017-04aghadh2021-04-15T16:02:44Z2021-04-15T16:02:44Zservicebustestxcs2frcdh7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-19T22:13:07.337Z2021-03-19T22:13:07.373ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:02:44.943Z2021-04-15T16:02:44.977ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 19 Mar 2021 22:13:07 GMT + date: Thu, 15 Apr 2021 16:02:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestmieuq4tlia.servicebus.windows.net/aghadh?api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh?api-version=2017-04 - request: body: ' PT13S3072truePT11MtruePT12M14truePT10Mtruetruesb://servicebustestmieuq4tlia.servicebus.windows.net/aghadhsb://servicebustestmieuq4tlia.servicebus.windows.net/aghadh' + type="application/xml">PT13S3072truePT11MtruePT12M14truePT10Mtruetruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh' headers: Accept: - application/xml @@ -67,65 +67,130 @@ interactions: Content-Type: - application/atom+xml ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestmieuq4tlia.servicebus.windows.net%2Faghadh&sig=EWQCfx3burIlOG80mG%2fbGk8FnAQ1BF8pF0AlVhcpxzE%3d&se=1616195587&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxcs2frcdh7.servicebus.windows.net%2Faghadh&sig=WnSx7o9h5TDEmP9uRTd6Dh5jREIMWqDE8ZG53lI6NCk%3d&se=1618506165&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestmieuq4tlia.servicebus.windows.net%2Faghadh&sig=EWQCfx3burIlOG80mG%2fbGk8FnAQ1BF8pF0AlVhcpxzE%3d&se=1616195587&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxcs2frcdh7.servicebus.windows.net%2Faghadh&sig=WnSx7o9h5TDEmP9uRTd6Dh5jREIMWqDE8ZG53lI6NCk%3d&se=1618506165&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: body: - string: https://servicebustestmieuq4tlia.servicebus.windows.net/dkldf?api-version=2017-04dkldf2021-03-19T22:13:08Z2021-03-19T22:13:08Zservicebustestmieuq4tliahttps://servicebustestxcs2frcdh7.servicebus.windows.net/dkldf?api-version=2017-04dkldf2021-04-15T16:02:46Z2021-04-15T16:02:46Zservicebustestxcs2frcdh7PT13S49152falsetruePT11MtruePT12M14true00falseActive2021-03-19T22:13:08.337Z2021-03-19T22:13:08.47ZfalsePT10MtrueAvailabletruesb://servicebustestmieuq4tlia.servicebus.windows.net/aghadhsb://servicebustestmieuq4tlia.servicebus.windows.net/aghadh + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00falseActive2021-04-15T16:02:46.143Z2021-04-15T16:02:46.31ZfalsePT10MtrueAvailabletruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 19 Mar 2021 22:13:08 GMT + date: Thu, 15 Apr 2021 16:02:46 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestmieuq4tlia.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/dkldf?api-version=2017-04 +- request: + body: ' + + PT13S3072truePT11M2StruePT12M3S14truePT10M1Struetruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh' + headers: + Accept: + - application/xml + Content-Length: + - '1020' + Content-Type: + - application/atom+xml + ServiceBusDlqSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxcs2frcdh7.servicebus.windows.net%2Faghadh&sig=oFix%2bVTm63gjawaXkPgmmvvssHMIoNJ5HEyVRBr14mg%3d&se=1618506167&skn=RootManageSharedAccessKey + ServiceBusSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxcs2frcdh7.servicebus.windows.net%2Faghadh&sig=oFix%2bVTm63gjawaXkPgmmvvssHMIoNJ5HEyVRBr14mg%3d&se=1618506167&skn=RootManageSharedAccessKey + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/vjiqjx?api-version=2017-04 + response: + body: + string: https://servicebustestxcs2frcdh7.servicebus.windows.net/vjiqjx?api-version=2017-04vjiqjx2021-04-15T16:02:47Z2021-04-15T16:02:47Zservicebustestxcs2frcdh7PT13S49152falsetruePT11M2StruePT12M3S14true00falseActive2021-04-15T16:02:47.267Z2021-04-15T16:02:47.55ZfalsePT10M1StrueAvailabletruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:02:47 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/vjiqjx?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestmieuq4tlia.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2021-03-19T22:13:08Z2021-03-19T22:13:08Zservicebustestmieuq4tliahttps://servicebustestxcs2frcdh7.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2021-04-15T16:02:46Z2021-04-15T16:02:46Zservicebustestxcs2frcdh7PT13S49152falsetruePT11MtruePT12M14true00falseActive2021-04-15T16:02:46.143Z2021-04-15T16:02:46.31Z0001-01-01T00:00:00Zfalse00000PT10MtrueAvailabletruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:02:47 GMT + etag: '637540993663100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestxcs2frcdh7.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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/vjiqjx?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestxcs2frcdh7.servicebus.windows.net/vjiqjx?enrich=false&api-version=2017-04vjiqjx2021-04-15T16:02:47Z2021-04-15T16:02:47Zservicebustestxcs2frcdh7PT13S49152falsetruePT11MtruePT12M14true00falseActive2021-03-19T22:13:08.337Z2021-03-19T22:13:08.47Z0001-01-01T00:00:00Zfalse00000PT10MtrueAvailabletruesb://servicebustestmieuq4tlia.servicebus.windows.net/aghadhsb://servicebustestmieuq4tlia.servicebus.windows.net/aghadh + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11M2StruePT12M3S14true00falseActive2021-04-15T16:02:47.267Z2021-04-15T16:02:47.55Z0001-01-01T00:00:00Zfalse00000PT10M1StrueAvailabletruesb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadhsb://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 19 Mar 2021 22:13:08 GMT - etag: '637517887884700000' + date: Thu, 15 Apr 2021 16:02:47 GMT + etag: '637540993675500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestmieuq4tlia.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/vjiqjx?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: @@ -133,21 +198,43 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 19 Mar 2021 22:13:09 GMT - etag: '637517887884700000' + date: Thu, 15 Apr 2021 16:02:48 GMT + etag: '637540993663100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestxcs2frcdh7.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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/vjiqjx?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 15 Apr 2021 16:02:49 GMT + etag: '637540993675500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestmieuq4tlia.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/vjiqjx?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/aghadh?api-version=2017-04 response: @@ -155,12 +242,12 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 19 Mar 2021 22:13:09 GMT - etag: '637517887873730000' + date: Thu, 15 Apr 2021 16:02:50 GMT + etag: '637540993649770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestmieuq4tlia.servicebus.windows.net/aghadh?api-version=2017-04 + url: https://servicebustestxcs2frcdh7.servicebus.windows.net/aghadh?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 86120ba8fa6b..2132f18ae683 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 @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:53Z + string: Topicshttps://servicebustestnxl3g6jvwp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:13:34Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 29 Sep 2020 08:33:52 GMT + date: Thu, 15 Apr 2021 16:13:33 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:33:53Z2020-09-29T08:33:53Zservicebustestrm7a5oi5hkhttps://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-04-15T16:13:34Z2021-04-15T16:13:34Zservicebustestnxl3g6jvwpP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:53.573Z2020-09-29T08:33:53.607ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:13:34.743Z2021-04-15T16:13:34.793ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 29 Sep 2020 08:33:53 GMT + date: Thu, 15 Apr 2021 16:13:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: ' @@ -67,62 +67,124 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-09-29T08:33:54Z2020-09-29T08:33:54Zhttps://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2021-04-15T16:13:35Z2021-04-15T16:13:35ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:33:54.2234305Z2020-09-29T08:33:54.2234305Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2021-04-15T16:13:35.4324249Z2021-04-15T16:13:35.4324249Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 29 Sep 2020 08:33:54 GMT - etag: '637369652336070000' + date: Thu, 15 Apr 2021 16:13:35 GMT + etag: '637541000147930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.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.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-09-29T08:33:54Z2020-09-29T08:33:54Zsb://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2021-04-15T16:13:35Z2021-04-15T16:13:35ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:33:54.2120622Z2020-09-29T08:33:54.2120622Z2020-09-29T08:33:54.213ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:13:35.4356834Z2021-04-15T16:13:35.4356834Z2021-04-15T16:13:35.437Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 29 Sep 2020 08:33:54 GMT - etag: '637369652336070000' + date: Thu, 15 Apr 2021 16:13:35 GMT + etag: '637541000147930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&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.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/owazmq?api-version=2017-04 + response: + body: + string: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/owazmq?api-version=2017-04owazmq2021-04-15T16:13:36Z2021-04-15T16:13:36ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:13:36.026523Z2021-04-15T16:13:36.026523Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:13:35 GMT + etag: '637541000147930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/owazmq?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/owazmq?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/owazmq?enrich=false&api-version=2017-04owazmq2021-04-15T16:13:36Z2021-04-15T16:13:36ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:13:36.0295109Z2021-04-15T16:13:36.0295109Z2021-04-15T16:13:36.0295109Z00000PT10MAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:13:35 GMT + etag: '637541000147930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/owazmq?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: @@ -130,21 +192,43 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 29 Sep 2020 08:33:54 GMT - etag: '637369652336070000' + date: Thu, 15 Apr 2021 16:13:36 GMT + etag: '637541000147930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestnxl3g6jvwp.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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/owazmq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 15 Apr 2021 16:13:36 GMT + etag: '637541000147930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.servicebus.windows.net/iweidk/subscriptions/owazmq?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -152,12 +236,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 29 Sep 2020 08:33:54 GMT - etag: '637369652336070000' + date: Thu, 15 Apr 2021 16:13:37 GMT + etag: '637541000147930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestnxl3g6jvwp.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_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 4c93ab4f916c..e49b0ba035e0 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 @@ -5,90 +5,151 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:21Z + string: Topicshttps://servicebustestifpshnuf7z.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:10:59Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 29 Sep 2020 08:34:20 GMT + date: Thu, 15 Apr 2021 16:10:58 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestifpshnuf7z.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' PT11M3072PT12MtruetruePT10Mtruetruetrue' + type="application/xml">PT11M3072PT12MtruePT10Mtruetrue' headers: Accept: - application/xml Content-Length: - - '745' + - '625' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:34:22Z2020-09-29T08:34:22Zservicebustestrm7a5oi5hkhttps://servicebustestifpshnuf7z.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-04-15T16:10:59Z2021-04-15T16:11:00Zservicebustestifpshnuf7zPT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:34:22.27Z2020-09-29T08:34:22.48ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:10:59.67Z2021-04-15T16:11:00.473ZfalsePT10MtrueAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 29 Sep 2020 08:34:21 GMT + date: Thu, 15 Apr 2021 16:11:00 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestifpshnuf7z.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-09-29T08:34:22Z2020-09-29T08:34:22Zservicebustestrm7a5oi5hkhttps://servicebustestifpshnuf7z.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2021-04-15T16:10:59Z2021-04-15T16:11:00Zservicebustestifpshnuf7zPT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:34:22.27Z2020-09-29T08:34:22.48Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:10:59.67Z2021-04-15T16:11:00.473Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 29 Sep 2020 08:34:22 GMT - etag: '637369652624800000' + date: Thu, 15 Apr 2021 16:11:00 GMT + etag: '637540998604730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + url: https://servicebustestifpshnuf7z.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 +- request: + body: ' + + PT11M3072PT12MtruePT10Mtruetrue' + headers: + Accept: + - application/xml + Content-Length: + - '625' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkozq?api-version=2017-04 + response: + body: + string: https://servicebustestifpshnuf7z.servicebus.windows.net/dkozq?api-version=2017-04dkozq2021-04-15T16:11:01Z2021-04-15T16:11:02Zservicebustestifpshnuf7zPT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:11:01.717Z2021-04-15T16:11:02.163ZfalsePT10MtrueAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:11:01 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestifpshnuf7z.servicebus.windows.net/dkozq?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkozq?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestifpshnuf7z.servicebus.windows.net/dkozq?enrich=false&api-version=2017-04dkozq2021-04-15T16:11:01Z2021-04-15T16:11:02Zservicebustestifpshnuf7zPT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:11:01.717Z2021-04-15T16:11:02.163Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:11:02 GMT + etag: '637540998621630000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestifpshnuf7z.servicebus.windows.net/dkozq?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -96,12 +157,34 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 29 Sep 2020 08:34:22 GMT - etag: '637369652624800000' + date: Thu, 15 Apr 2021 16:11:03 GMT + etag: '637540998604730000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestifpshnuf7z.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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkozq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 15 Apr 2021 16:11:04 GMT + etag: '637540998621630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestifpshnuf7z.servicebus.windows.net/dkozq?api-version=2017-04 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 6adf062dbe6a..64cc958bfdda 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestqdvps3htka.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-03-19T22:11:03Z + string: Queueshttps://servicebustestv5jvbzlsfo.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-04-15T16:04:52Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 19 Mar 2021 22:11:02 GMT + - Thu, 15 Apr 2021 16:04:51 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/aghadh?api-version=2017-04 response: body: - string: https://servicebustestqdvps3htka.servicebus.windows.net/aghadh?api-version=2017-04aghadh2021-03-19T22:11:03Z2021-03-19T22:11:03Zservicebustestqdvps3htkahttps://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh?api-version=2017-04aghadh2021-04-15T16:04:52Z2021-04-15T16:04:52Zservicebustestv5jvbzlsfoP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-19T22:11:03.477Z2021-03-19T22:11:03.52ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:04:52.757Z2021-04-15T16:04:52.823ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 19 Mar 2021 22:11:03 GMT + - Thu, 15 Apr 2021 16:04:52 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -73,7 +73,7 @@ interactions: body: ' PT13S3072truePT11MtruePT12M14truePT10Mtruetruesb://servicebustestqdvps3htka.servicebus.windows.net/aghadhsb://servicebustestqdvps3htka.servicebus.windows.net/aghadh' + type="application/xml">PT13S3072truePT11MtruePT12M14truePT10Mtruetruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh' headers: Accept: - application/xml @@ -86,25 +86,70 @@ interactions: Content-Type: - application/atom+xml ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestqdvps3htka.servicebus.windows.net%2Faghadh&sig=YUAZ0VqgyzR%2fw21YvGJw7Da8vdd2TZEAF%2foAy9ZjeLg%3d&se=1616195464&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestv5jvbzlsfo.servicebus.windows.net%2Faghadh&sig=oHclIRG18cqdqnsupNiZNZYCjG6pIa8smm1AV7YsMBs%3d&se=1618506293&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestqdvps3htka.servicebus.windows.net%2Faghadh&sig=YUAZ0VqgyzR%2fw21YvGJw7Da8vdd2TZEAF%2foAy9ZjeLg%3d&se=1616195464&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestv5jvbzlsfo.servicebus.windows.net%2Faghadh&sig=oHclIRG18cqdqnsupNiZNZYCjG6pIa8smm1AV7YsMBs%3d&se=1618506293&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestqdvps3htka.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-03-19T22:11:04Z2021-03-19T22:11:04Zservicebustestqdvps3htkahttps://servicebustestv5jvbzlsfo.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-04-15T16:04:53Z2021-04-15T16:04:54Zservicebustestv5jvbzlsfoPT13S49152falsetruePT11MtruePT12M14true00falseActive2021-03-19T22:11:04.63Z2021-03-19T22:11:04.77ZfalsePT10MtrueAvailabletruesb://servicebustestqdvps3htka.servicebus.windows.net/aghadhsb://servicebustestqdvps3htka.servicebus.windows.net/aghadh + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00falseActive2021-04-15T16:04:53.867Z2021-04-15T16:04:54.013ZfalsePT10MtrueAvailabletruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 19 Mar 2021 22:11:05 GMT + - Thu, 15 Apr 2021 16:04:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + PT13S3072truePT11M2StruePT12M3S14truePT10M1Struetruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1020' + Content-Type: + - application/atom+xml + ServiceBusDlqSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestv5jvbzlsfo.servicebus.windows.net%2Faghadh&sig=vgcPY6G5H3ivZDa%2bwzh%2fJgu0gEZVVMEyttf0MkUA%2fq8%3d&se=1618506294&skn=RootManageSharedAccessKey + ServiceBusSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestv5jvbzlsfo.servicebus.windows.net%2Faghadh&sig=vgcPY6G5H3ivZDa%2bwzh%2fJgu0gEZVVMEyttf0MkUA%2fq8%3d&se=1618506294&skn=RootManageSharedAccessKey + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/vladsk?api-version=2017-04 + response: + body: + string: https://servicebustestv5jvbzlsfo.servicebus.windows.net/vladsk?api-version=2017-04vladsk2021-04-15T16:04:54Z2021-04-15T16:04:55Zservicebustestv5jvbzlsfoPT13S49152falsetruePT11M2StruePT12M3S14true00falseActive2021-04-15T16:04:54.977Z2021-04-15T16:04:55.92ZfalsePT10M1StrueAvailabletruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:04:55 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -124,24 +169,61 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestqdvps3htka.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2021-03-19T22:11:04Z2021-03-19T22:11:04Zservicebustestqdvps3htkahttps://servicebustestv5jvbzlsfo.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2021-04-15T16:04:53Z2021-04-15T16:04:54Zservicebustestv5jvbzlsfoPT13S49152falsetruePT11MtruePT12M14true00falseActive2021-04-15T16:04:53.867Z2021-04-15T16:04:54.013Z0001-01-01T00:00:00Zfalse00000PT10MtrueAvailabletruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:04:56 GMT + etag: + - '637540994940130000' + 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/vladsk?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestv5jvbzlsfo.servicebus.windows.net/vladsk?enrich=false&api-version=2017-04vladsk2021-04-15T16:04:54Z2021-04-15T16:04:55Zservicebustestv5jvbzlsfoPT13S49152falsetruePT11MtruePT12M14true00falseActive2021-03-19T22:11:04.63Z2021-03-19T22:11:04.77Z0001-01-01T00:00:00Zfalse00000PT10MtrueAvailabletruesb://servicebustestqdvps3htka.servicebus.windows.net/aghadhsb://servicebustestqdvps3htka.servicebus.windows.net/aghadh + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11M2StruePT12M3S14true00falseActive2021-04-15T16:04:54.977Z2021-04-15T16:04:55.92Z0001-01-01T00:00:00Zfalse00000PT10M1StrueAvailabletruesb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadhsb://servicebustestv5jvbzlsfo.servicebus.windows.net/aghadh headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 19 Mar 2021 22:11:05 GMT + - Thu, 15 Apr 2021 16:04:56 GMT etag: - - '637517886647700000' + - '637540994959200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -163,7 +245,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -173,9 +255,41 @@ interactions: content-length: - '0' date: - - Fri, 19 Mar 2021 22:11:05 GMT + - Thu, 15 Apr 2021 16:04:57 GMT + etag: + - '637540994940130000' + 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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/vladsk?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 15 Apr 2021 16:04:57 GMT etag: - - '637517886647700000' + - '637540994959200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -195,7 +309,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/aghadh?api-version=2017-04 response: @@ -205,9 +319,9 @@ interactions: content-length: - '0' date: - - Fri, 19 Mar 2021 22:11:06 GMT + - Thu, 15 Apr 2021 16:04:58 GMT etag: - - '637517886635200000' + - '637540994928230000' 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 84d13561c325..153ec2be368e 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:32Z + string: Topicshttps://servicebustestxi2l2ghys7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:11:22Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 29 Sep 2020 08:36:32 GMT + - Thu, 15 Apr 2021 16:11:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:36:33Z2020-09-29T08:36:33Zservicebustestrm7a5oi5hkhttps://servicebustestxi2l2ghys7.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-04-15T16:11:23Z2021-04-15T16:11:23Zservicebustestxi2l2ghys7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:33.007Z2020-09-29T08:36:33.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:11:23.527Z2021-04-15T16:11:23.57ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 29 Sep 2020 08:36:33 GMT + - Thu, 15 Apr 2021 16:11:23 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-09-29T08:36:33Z2020-09-29T08:36:33Zhttps://servicebustestxi2l2ghys7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2021-04-15T16:11:24Z2021-04-15T16:11:24ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:36:33.5597485Z2020-09-29T08:36:33.5597485Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2021-04-15T16:11:24.2964145Z2021-04-15T16:11:24.2964145Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 29 Sep 2020 08:36:33 GMT + - Thu, 15 Apr 2021 16:11:23 GMT etag: - - '637369653930400000' + - '637540998835700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,24 +122,104 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-09-29T08:36:33Z2020-09-29T08:36:33Zsb://servicebustestxi2l2ghys7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2021-04-15T16:11:24Z2021-04-15T16:11:24ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:36:33.5649693Z2020-09-29T08:36:33.5649693Z2020-09-29T08:36:33.5649693ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:11:24.3006566Z2021-04-15T16:11:24.3006566Z2021-04-15T16:11:24.3006566Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 29 Sep 2020 08:36:33 GMT + - Thu, 15 Apr 2021 16:11:24 GMT etag: - - '637369653930400000' + - '637540998835700000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- 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.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/pfkxmq?api-version=2017-04 + response: + body: + string: https://servicebustestxi2l2ghys7.servicebus.windows.net/iweidk/subscriptions/pfkxmq?api-version=2017-04pfkxmq2021-04-15T16:11:25Z2021-04-15T16:11:25ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:11:25.0054126Z2021-04-15T16:11:25.0054126Z0001-01-01T00:00:00PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:11:24 GMT + etag: + - '637540998835700000' + 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/pfkxmq?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestxi2l2ghys7.servicebus.windows.net/iweidk/subscriptions/pfkxmq?enrich=false&api-version=2017-04pfkxmq2021-04-15T16:11:25Z2021-04-15T16:11:25ZPT13StruePT11Mtruetrue014trueActive2021-04-15T16:11:25.019399Z2021-04-15T16:11:25.019399Z2021-04-15T16:11:25.019399Z00000PT10MAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:11:24 GMT + etag: + - '637540998835700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -161,7 +241,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: @@ -171,9 +251,41 @@ interactions: content-length: - '0' date: - - Tue, 29 Sep 2020 08:36:33 GMT + - Thu, 15 Apr 2021 16:11:25 GMT + etag: + - '637540998835700000' + 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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/pfkxmq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 15 Apr 2021 16:11:25 GMT etag: - - '637369653930400000' + - '637540998835700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -193,7 +305,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -203,9 +315,9 @@ interactions: content-length: - '0' date: - - Tue, 29 Sep 2020 08:36:34 GMT + - Thu, 15 Apr 2021 16:11:26 GMT etag: - - '637369653930400000' + - '637540998835700000' 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 6553859f3b22..5f61f96d31c1 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:05Z + string: Topicshttps://servicebustestkuzkhxoacd.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:05:50Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 29 Sep 2020 08:37:05 GMT + - Thu, 15 Apr 2021 16:05:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -32,7 +32,7 @@ interactions: body: ' PT11M3072PT12MtruetruePT10Mtruetruetrue' + type="application/xml">PT11M3072PT12MtruePT10Mtruetrue' headers: Accept: - application/xml @@ -41,25 +41,25 @@ interactions: Connection: - keep-alive Content-Length: - - '745' + - '625' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:37:05Z2020-09-29T08:37:05Zservicebustestrm7a5oi5hkhttps://servicebustestkuzkhxoacd.servicebus.windows.net/iweidk?api-version=2017-04iweidk2021-04-15T16:05:50Z2021-04-15T16:05:51ZservicebustestkuzkhxoacdPT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:37:05.683Z2020-09-29T08:37:05.85ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:05:50.94Z2021-04-15T16:05:51.077ZfalsePT10MtrueAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 29 Sep 2020 08:37:06 GMT + - Thu, 15 Apr 2021 16:05:51 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,102 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-09-29T08:37:05Z2020-09-29T08:37:05Zservicebustestrm7a5oi5hkhttps://servicebustestkuzkhxoacd.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2021-04-15T16:05:50Z2021-04-15T16:05:51ZservicebustestkuzkhxoacdPT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:37:05.683Z2020-09-29T08:37:05.85Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:05:50.94Z2021-04-15T16:05:51.077Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 29 Sep 2020 08:37:06 GMT + - Thu, 15 Apr 2021 16:05:51 GMT etag: - - '637369654258500000' + - '637540995510770000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT11M3072PT12MtruePT10Mtruetrue' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '625' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/djsadq?api-version=2017-04 + response: + body: + string: https://servicebustestkuzkhxoacd.servicebus.windows.net/djsadq?api-version=2017-04djsadq2021-04-15T16:05:52Z2021-04-15T16:05:54ZservicebustestkuzkhxoacdPT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:05:52.377Z2021-04-15T16:05:54.913ZfalsePT10MtrueAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:05:55 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/djsadq?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestkuzkhxoacd.servicebus.windows.net/djsadq?enrich=false&api-version=2017-04djsadq2021-04-15T16:05:52Z2021-04-15T16:05:54ZservicebustestkuzkhxoacdPT11M49152falsePT12Mtrue0falsefalseActive2021-04-15T16:05:52.377Z2021-04-15T16:05:54.913Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:05:55 GMT + etag: + - '637540995549130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +196,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -128,9 +206,41 @@ interactions: content-length: - '0' date: - - Tue, 29 Sep 2020 08:37:07 GMT + - Thu, 15 Apr 2021 16:05:56 GMT + etag: + - '637540995510770000' + 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.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/djsadq?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 15 Apr 2021 16:05:57 GMT etag: - - '637369654258500000' + - '637540995549130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: From ece7ed03f85a34282efc4ac95fb87b290a639e6d Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 09:52:22 -0700 Subject: [PATCH 4/7] add update_* test and bug fix --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 6 + .../management/_model_workaround.py | 13 +- ....test_async_mgmt_queue_update_success.yaml | 277 +++++++++------ ...sync_mgmt_subscription_update_success.yaml | 333 +++++++++++------- ....test_async_mgmt_topic_update_success.yaml | 167 ++++++--- .../mgmt_tests/test_mgmt_queues_async.py | 12 + .../test_mgmt_subscriptions_async.py | 9 + .../mgmt_tests/test_mgmt_topics_async.py | 11 + ...queues.test_mgmt_queue_update_success.yaml | 269 +++++++++----- ...test_mgmt_subscription_update_success.yaml | 309 ++++++++++------ ...topics.test_mgmt_topic_update_success.yaml | 171 ++++++--- .../tests/mgmt_tests/test_mgmt_queues.py | 11 + .../mgmt_tests/test_mgmt_subscriptions.py | 9 + .../tests/mgmt_tests/test_mgmt_topics.py | 11 + 14 files changed, 1071 insertions(+), 537 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index 7234eb51c79f..0b23ef7e7b2a 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -2,6 +2,12 @@ ## 7.1.2 (Unreleased) +**Bug Fixes** + +* Fixed bug that `ServiceBusAdministrationClient.update_*` throwing `AttributeError` when updating timespan +related properties(`auto_delete_on_idle`, `default_message_time_to_live`, +`duplicate_detection_history_time_window` and `lock_duration`) with string in ISO 8601 duration format. + ## 7.1.1 (2021-04-07) 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 6fb12d5716ab..b45aa371b1c5 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -239,16 +239,21 @@ def avoid_timedelta_overflow(td): - # type: (Optional[timedelta]) -> Optional[timedelta] + # type: (Optional[timedelta, str]) -> Optional[timedelta, str] """Service Bus REST API uses "P10675199DT2H48M5.4775807S" as default value for some properties, which are of type datetime.timedelta. When they are deserialized, Python round the milliseconds from 4775807 to 477581. When we get an entity (for instance, QueueDescription) and update this entity, this default value is deserialized to "P10675199DT2H48M5.477581S". Service Bus doesn't accept this value probably because it's too large. The workaround is to deduct the milliseconds by 0.000001. """ - result = td - if td is not None and td.days == 10675199 and td.microseconds >= 477581: - result = timedelta(seconds=td.total_seconds() - 0.000001) + try: + result = td + if td is not None and td.days == 10675199 and td.microseconds >= 477581: + result = timedelta(seconds=td.total_seconds() - 0.000001) + except AttributeError: + # td is expected to be an ISO 8601 time span string + # in this case we don't do client validation and let the service handle the string + pass return result 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 fdd230066a6d..4edfa600bfad 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 @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestns67ngx6fw.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-03-23T16:24:05Z + string: Queueshttps://servicebustestq3qyl22c5l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-04-15T16:30:11Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:05 GMT + date: Thu, 15 Apr 2021 16:30:11 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-03-23T16:24:06Z2021-03-23T16:24:06Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:12Zservicebustestq3qyl22c5lPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:06.46ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:12.327ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:06 GMT + date: Thu, 15 Apr 2021 16:30:12 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: ' @@ -67,32 +67,32 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkfjaks?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks?api-version=2017-04dkfjaks2021-03-23T16:24:07Z2021-03-23T16:24:07Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks?api-version=2017-04dkfjaks2021-04-15T16:30:13Z2021-04-15T16:30:13Zservicebustestq3qyl22c5lP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-23T16:24:07.327Z2021-03-23T16:24:07.383ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:30:13.42Z2021-04-15T16:30:13.467ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT + date: Thu, 15 Apr 2021 16:30:13 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks?api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.390Z2021-03-23T16:24:06.460ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2021-04-15T16:30:12.280Z2021-04-15T16:30:12.327ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -103,62 +103,62 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:14Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:06.46ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:12.327ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134464600000' + date: Thu, 15 Apr 2021 16:30:13 GMT + etag: '637541010123270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-03-23T16:24:06Z2021-03-23T16:24:07Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:14Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:07.983Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:14.17Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134479830000' + date: Thu, 15 Apr 2021 16:30:13 GMT + etag: '637541010141700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.390Z2021-03-23T16:24:07.983Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjakssb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks' + />Active2021-04-15T16:30:12.280Z2021-04-15T16:30:14.170Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjakssb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks' headers: Accept: - application/xml @@ -169,67 +169,67 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestns67ngx6fw.servicebus.windows.net%2Fdkfjaks&sig=wqJS3TYPT0e%2bu45wTBGEhMDfJLeA0Mky6DRssrom34U%3d&se=1616520248&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fdkfjaks&sig=4gYpBZfuBIPY2%2b68%2bQWuc4iJOTxd7DlgwY3FPDizMSo%3d&se=1618507814&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestns67ngx6fw.servicebus.windows.net%2Fdkfjaks&sig=wqJS3TYPT0e%2bu45wTBGEhMDfJLeA0Mky6DRssrom34U%3d&se=1616520248&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fdkfjaks&sig=4gYpBZfuBIPY2%2b68%2bQWuc4iJOTxd7DlgwY3FPDizMSo%3d&se=1618507814&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:14Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:07.983Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjakssb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:14.17Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjakssb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134479830000' + date: Thu, 15 Apr 2021 16:30:14 GMT + etag: '637541010141700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-03-23T16:24:06Z2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:14Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:08.32Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjakssb://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjakssb://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134483200000' + date: Thu, 15 Apr 2021 16:30:14 GMT + etag: '637541010147070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.390Z2021-03-23T16:24:08.320Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2021-04-15T16:30:12.280Z2021-04-15T16:30:14.707Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -240,63 +240,63 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:15Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:08.32Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:14.707Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134483200000' + date: Thu, 15 Apr 2021 16:30:14 GMT + etag: '637541010147070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-03-23T16:24:06Z2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:15Zservicebustestq3qyl22c5lPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:08.553Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:15.227Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:07 GMT - etag: '637521134485530000' + date: Thu, 15 Apr 2021 16:30:15 GMT + etag: '637541010152270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:24:06.390Z2021-03-23T16:24:08.553Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletruesb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfjsb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj' + />Active2021-04-15T16:30:12.280Z2021-04-15T16:30:15.227Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj' headers: Accept: - application/xml @@ -307,67 +307,138 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestns67ngx6fw.servicebus.windows.net%2Fewuidfj&sig=cyEoBQCr89L%2b7lionkEYJ0dL4E6354fx5VHmAdiGaV4%3d&se=1616520248&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fewuidfj&sig=b29LBuPs0hhiWgZi42PK9gAPsk47wtDQ9Zry3nXL9jw%3d&se=1618507815&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestns67ngx6fw.servicebus.windows.net%2Fewuidfj&sig=cyEoBQCr89L%2b7lionkEYJ0dL4E6354fx5VHmAdiGaV4%3d&se=1616520248&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fewuidfj&sig=b29LBuPs0hhiWgZi42PK9gAPsk47wtDQ9Zry3nXL9jw%3d&se=1618507815&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:15Zservicebustestq3qyl22c5lPT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:08.553Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfjsb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:15.227Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:08 GMT - etag: '637521134485530000' + date: Thu, 15 Apr 2021 16:30:15 GMT + etag: '637541010152270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-03-23T16:24:06Z2021-03-23T16:24:08Zservicebustestns67ngx6fwhttps://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:15Zservicebustestq3qyl22c5lPT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:24:06.39Z2021-03-23T16:24:08.773Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfjsb://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:15.897Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:24:08 GMT - etag: '637521134487730000' + date: Thu, 15 Apr 2021 16:30:15 GMT + etag: '637541010158970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 +- request: + body: ' + + PT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:12.280Z2021-04-15T16:30:15.897Z0001-01-01T00:00:00.000Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj' + headers: + Accept: + - application/xml + Content-Length: + - '1889' + Content-Type: + - application/atom+xml + If-Match: + - '*' + ServiceBusDlqSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fewuidfj&sig=lKToFt%2f5hbWp9y1AK2civmfsjNBLIqJt5PcIfeXNkqs%3d&se=1618507816&skn=RootManageSharedAccessKey + ServiceBusSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestq3qyl22c5l.servicebus.windows.net%2Fewuidfj&sig=lKToFt%2f5hbWp9y1AK2civmfsjNBLIqJt5PcIfeXNkqs%3d&se=1618507816&skn=RootManageSharedAccessKey + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 + response: + body: + string: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2021-04-15T16:30:16Zservicebustestq3qyl22c5lPT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:15.897Z0001-01-01T00:00:00Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:30:15 GMT + etag: '637541010158970000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestq3qyl22c5l.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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2021-04-15T16:30:12Z2021-04-15T16:30:16Zservicebustestq3qyl22c5lPT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:12.28Z2021-04-15T16:30:16.44Z0001-01-01T00:00:00Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfjsb://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:30:16 GMT + etag: '637541010164400000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestq3qyl22c5l.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: @@ -375,21 +446,21 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 23 Mar 2021 16:24:08 GMT - etag: '637521134487730000' + date: Thu, 15 Apr 2021 16:30:16 GMT + etag: '637541010164400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkfjaks?api-version=2017-04 response: @@ -397,12 +468,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 23 Mar 2021 16:24:09 GMT - etag: '637521134473830000' + date: Thu, 15 Apr 2021 16:30:17 GMT + etag: '637541010134670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestns67ngx6fw.servicebus.windows.net/dkfjaks?api-version=2017-04 + url: https://servicebustestq3qyl22c5l.servicebus.windows.net/dkfjaks?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 44ac55b5892c..8935cfad5ec7 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 @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestjqgfxq2r66.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-03-23T16:25:21Z + string: Topicshttps://servicebustestswvfnnppi6.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:43:30Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:21 GMT + date: Thu, 15 Apr 2021 16:43:30 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfkla?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla?api-version=2017-04dfkla2021-03-23T16:25:22Z2021-03-23T16:25:22Zservicebustestjqgfxq2r66https://servicebustestswvfnnppi6.servicebus.windows.net/dfkla?api-version=2017-04dfkla2021-04-15T16:43:31Z2021-04-15T16:43:31Zservicebustestswvfnnppi6PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-03-23T16:25:22.093Z2021-03-23T16:25:22.15ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-04-15T16:43:31.15Z2021-04-15T16:43:31.217ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:22 GMT + date: Thu, 15 Apr 2021 16:43:31 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla?api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/dfkla?api-version=2017-04 - request: body: ' @@ -67,26 +67,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:25:22Z2021-03-23T16:25:23Zservicebustestjqgfxq2r66https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:43:32Z2021-04-15T16:43:32Zservicebustestswvfnnppi6P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-23T16:25:22.933Z2021-03-23T16:25:23.023ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:43:32.24Z2021-04-15T16:43:32.277ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:22 GMT + date: Thu, 15 Apr 2021 16:43:32 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -100,32 +100,32 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:23Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:33ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2021-03-23T16:25:23.5828134Z2021-03-23T16:25:23.5828134Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2021-04-15T16:43:33.0970392Z2021-04-15T16:43:33.0970392Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:32 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:25:23.582813Z2021-03-23T16:25:23.582813Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:33.097039Z2021-04-15T16:43:33.097039Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -136,330 +136,395 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:23Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:33ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:25:23.954591Z2021-03-23T16:25:23.954591Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:33.534537Z2021-04-15T16:43:33.534537Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:33 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:23Zsb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:33ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:25:23.5898176Z2021-03-23T16:25:23.9647838Z2021-03-23T16:25:23.59ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:33.0949859Z2021-04-15T16:43:33.5481101Z2021-04-15T16:43:33.0949859Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:33 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:23.589817Z2021-03-23T16:25:23.964783Z2021-03-23T16:25:23.590Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:33.094985Z2021-04-15T16:43:33.54811Z2021-04-15T16:43:33.094985Z00000PT10MAvailable' headers: Accept: - application/xml Content-Length: - - '1379' + - '1381' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:24Z2021-03-23T16:25:24Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:34Z2021-04-15T16:43:34ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:24.1739466Z2021-03-23T16:25:24.1739466Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:34.1439126Z2021-04-15T16:43:34.1439126Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:33 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:24Zsb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:34ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:23.5898176Z2021-03-23T16:25:24.1835937Z2021-03-23T16:25:23.59ZPT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:33.0949859Z2021-04-15T16:43:34.1418378Z2021-04-15T16:43:33.0949859Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:33 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui2021-03-23T16:25:23.589817Z2021-03-23T16:25:24.183593Z2021-03-23T16:25:23.590Z00000sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjruiPT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui2021-04-15T16:43:33.094985Z2021-04-15T16:43:34.141837Z2021-04-15T16:43:33.094985Z00000sb://servicebustestswvfnnppi6.servicebus.windows.net/fjruiPT10MAvailable' headers: Accept: - application/xml Content-Length: - - '1581' + - '1584' Content-Type: - application/atom+xml If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjqgfxq2r66.servicebus.windows.net%2Ffjrui&sig=kr9UZngxMaBgY0WfPTXbkmnkQrOeE98Z1mlAnDDNa2o%3d&se=1616520324&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestswvfnnppi6.servicebus.windows.net%2Ffjrui&sig=V8smbdk6u3FbBke2m90osKUhBkTkhdt546U4qNge%2baE%3d&se=1618508614&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjqgfxq2r66.servicebus.windows.net%2Ffjrui&sig=kr9UZngxMaBgY0WfPTXbkmnkQrOeE98Z1mlAnDDNa2o%3d&se=1616520324&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestswvfnnppi6.servicebus.windows.net%2Ffjrui&sig=V8smbdk6u3FbBke2m90osKUhBkTkhdt546U4qNge%2baE%3d&se=1618508614&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:24Z2021-03-23T16:25:24Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:34Z2021-04-15T16:43:34ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui2021-03-23T16:25:24.4093722Z2021-03-23T16:25:24.4093722Z0001-01-01T00:00:00sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui2021-04-15T16:43:34.6595438Z2021-04-15T16:43:34.6595438Z0001-01-01T00:00:00sb://servicebustestswvfnnppi6.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:34 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:24Zsb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:34ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui2021-03-23T16:25:23.5898176Z2021-03-23T16:25:24.4335698Z2021-03-23T16:25:23.59Z00000sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui2021-04-15T16:43:33.0949859Z2021-04-15T16:43:34.6731388Z2021-04-15T16:43:33.0949859Z00000sb://servicebustestswvfnnppi6.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:23 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:34 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla2021-03-23T16:25:23.589817Z2021-03-23T16:25:24.433569Z2021-03-23T16:25:23.590Z00000sb://servicebustestjqgfxq2r66.servicebus.windows.net/dfklaP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/dfkla2021-04-15T16:43:33.094985Z2021-04-15T16:43:34.673138Z2021-04-15T16:43:33.094985Z00000sb://servicebustestswvfnnppi6.servicebus.windows.net/dfklaP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1601' + - '1604' Content-Type: - application/atom+xml If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjqgfxq2r66.servicebus.windows.net%2Fdfkla&sig=tvwXpCOtwRMiForr7jwNF3lXXFrRxLnDyRVVeO7BVO0%3d&se=1616520324&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestswvfnnppi6.servicebus.windows.net%2Fdfkla&sig=MGqOfhG2FCJhMl%2bQXgPzfo7UyHVU415xrGZiOJExbfY%3d&se=1618508615&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjqgfxq2r66.servicebus.windows.net%2Fdfkla&sig=tvwXpCOtwRMiForr7jwNF3lXXFrRxLnDyRVVeO7BVO0%3d&se=1616520324&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestswvfnnppi6.servicebus.windows.net%2Fdfkla&sig=MGqOfhG2FCJhMl%2bQXgPzfo7UyHVU415xrGZiOJExbfY%3d&se=1618508615&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:24Z2021-03-23T16:25:24Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:35Z2021-04-15T16:43:35ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla2021-03-23T16:25:24.628147Z2021-03-23T16:25:24.628147Z0001-01-01T00:00:00sb://servicebustestjqgfxq2r66.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/dfkla2021-04-15T16:43:35.2064415Z2021-04-15T16:43:35.2064415Z0001-01-01T00:00:00sb://servicebustestswvfnnppi6.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:24 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:34 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:24Zsb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:35ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla2021-03-23T16:25:23.5898176Z2021-03-23T16:25:24.6373773Z2021-03-23T16:25:23.59Z00000sb://servicebustestjqgfxq2r66.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestswvfnnppi6.servicebus.windows.net/dfkla2021-04-15T16:43:33.0949859Z2021-04-15T16:43:35.2355795Z2021-04-15T16:43:33.0949859Z00000sb://servicebustestswvfnnppi6.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:24 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:35 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:23.589817Z2021-03-23T16:25:24.637377Z2021-03-23T16:25:23.590Z00000P10675199DT2H48M5.477539SAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:33.094985Z2021-04-15T16:43:35.235579Z2021-04-15T16:43:33.094985Z00000P10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1399' + - '1402' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:25:24Z2021-03-23T16:25:24Zhttps://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:35Z2021-04-15T16:43:35ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:24.878149Z2021-03-23T16:25:24.878149Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:35.7609078Z2021-04-15T16:43:35.7609078Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:24 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:35 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:25:23Z2021-03-23T16:25:24Zsb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:35ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:25:23.5898176Z2021-03-23T16:25:24.9029681Z2021-03-23T16:25:23.59ZPT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:33.0949859Z2021-04-15T16:43:35.7668494Z2021-04-15T16:43:33.0949859Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Tue, 23 Mar 2021 16:25:24 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:35 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 +- request: + body: ' + + PT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:33.094985Z2021-04-15T16:43:35.766849Z2021-04-15T16:43:33.094985Z00000PT10M1SAvailable' + headers: + Accept: + - application/xml + Content-Length: + - '1387' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:36Z2021-04-15T16:43:36ZPT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:36.323318Z2021-04-15T16:43:36.323318Z0001-01-01T00:00:00PT10M1SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:43:35 GMT + etag: '637541018122770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestswvfnnppi6.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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustestswvfnnppi6.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:33Z2021-04-15T16:43:36ZPT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:33.0949859Z2021-04-15T16:43:36.4699559Z2021-04-15T16:43:33.0949859Z00000PT10M1SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:43:36 GMT + etag: '637541018122770000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -467,21 +532,21 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 23 Mar 2021 16:25:24 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:36 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestswvfnnppi6.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.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -489,21 +554,21 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 23 Mar 2021 16:25:25 GMT - etag: '637521135230230000' + date: Thu, 15 Apr 2021 16:43:37 GMT + etag: '637541018122770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfkla?api-version=2017-04 response: @@ -511,12 +576,12 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 23 Mar 2021 16:25:25 GMT - etag: '637521135221500000' + date: Thu, 15 Apr 2021 16:43:37 GMT + etag: '637541018112170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestjqgfxq2r66.servicebus.windows.net/dfkla?api-version=2017-04 + url: https://servicebustestswvfnnppi6.servicebus.windows.net/dfkla?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 6218157bee9b..dd507608d348 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 @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestafjalzt3of.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-12-03T18:23:27Z + string: Topicshttps://servicebustestjzwiw5amtb.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:38:23Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:27 GMT + date: Thu, 15 Apr 2021 16:38:22 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,32 +34,32 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:28Z2020-12-03T18:23:28Zservicebustestafjalzt3ofhttps://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:24Zservicebustestjzwiw5amtbP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.427ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:24.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:28 GMT + date: Thu, 15 Apr 2021 16:38:24 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' PT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.427ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2021-04-15T16:38:24.113Z2021-04-15T16:38:24.210ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -70,62 +70,62 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:28Zservicebustestafjalzt3ofhttps://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:24Zservicebustestjzwiw5amtbPT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.427ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:24.21ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:28 GMT - etag: '637426166084270000' + date: Thu, 15 Apr 2021 16:38:24 GMT + etag: '637541015042100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-12-03T18:23:28Z2020-12-03T18:23:28Zservicebustestafjalzt3ofhttps://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:24Zservicebustestjzwiw5amtbPT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.903Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:24.917Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:28 GMT - etag: '637426166089030000' + date: Thu, 15 Apr 2021 16:38:24 GMT + etag: '637541015049170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: ' PT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.903Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2021-04-15T16:38:24.113Z2021-04-15T16:38:24.917Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -136,63 +136,130 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:29Zservicebustestafjalzt3ofhttps://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:25Zservicebustestjzwiw5amtbPT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:28.903Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:24.917Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:28 GMT - etag: '637426166089030000' + date: Thu, 15 Apr 2021 16:38:24 GMT + etag: '637541015049170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-12-03T18:23:28Z2020-12-03T18:23:29Zservicebustestafjalzt3ofhttps://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:25Zservicebustestjzwiw5amtbPT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:28.283Z2020-12-03T18:23:29.023Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:25.493Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 03 Dec 2020 18:23:28 GMT - etag: '637426166090230000' + date: Thu, 15 Apr 2021 16:38:25 GMT + etag: '637541015054930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 +- request: + body: ' + + PT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:25.493Z0001-01-01T00:00:00.000Ztrue000000PT10M1SfalseAvailablefalsetrue' + headers: + Accept: + - application/xml + Content-Length: + - '1653' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:26Zservicebustestjzwiw5amtbPT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:25.493Z0001-01-01T00:00:00Ztrue000000PT10M1SfalseAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:38:25 GMT + etag: '637541015054930000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestjzwiw5amtb.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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestjzwiw5amtb.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:26Zservicebustestjzwiw5amtbPT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.113Z2021-04-15T16:38:26.007Z0001-01-01T00:00:00Ztrue000000PT10M1SfalseAvailablefalsetrue + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Thu, 15 Apr 2021 16:38:25 GMT + etag: '637541015060070000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestjzwiw5amtb.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.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -200,12 +267,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 03 Dec 2020 18:23:29 GMT - etag: '637426166090230000' + date: Thu, 15 Apr 2021 16:38:26 GMT + etag: '637541015060070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestjzwiw5amtb.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 3cd1830380c2..75f439a714b5 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 @@ -381,6 +381,18 @@ async def test_async_mgmt_queue_update_success(self, servicebus_namespace_connec assert queue_description.forward_dead_lettered_messages_to.endswith(".servicebus.windows.net/{}".format(queue_name)) #assert queue_description.requires_duplicate_detection == True #assert queue_description.requires_session == True + + queue_description.auto_delete_on_idle = "PT10M1S" + queue_description.default_message_time_to_live = "PT11M2S" + queue_description.duplicate_detection_history_time_window = "PT12M3S" + + 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, seconds=1) + assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) + finally: await mgmt_service.delete_queue(queue_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 index d5deba1ed7ce..ac6f623272e8 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 @@ -212,6 +212,15 @@ async def test_async_mgmt_subscription_update_success(self, servicebus_namespace assert subscription_description.forward_to is None assert subscription_description.forward_dead_lettered_messages_to is None + subscription_description.auto_delete_on_idle = "PT10M1S" + subscription_description.default_message_time_to_live = "PT11M2S" + subscription_description.lock_duration = "PT3M3S" + await mgmt_service.update_subscription(topic_description.name, subscription_description) + subscription_description = await mgmt_service.get_subscription(topic_description.name, subscription_name) + assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10, seconds=1) + assert subscription_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert subscription_description.lock_duration == datetime.timedelta(minutes=3, seconds=3) + 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_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py index 9309a2c04715..8549961af74e 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 @@ -145,6 +145,17 @@ async def test_async_mgmt_topic_update_success(self, servicebus_namespace_connec # assert topic_description.requires_duplicate_detection == True # assert topic_description.requires_session == True assert topic_description.support_ordering == True + + topic_description.auto_delete_on_idle = "PT10M1S" + topic_description.default_message_time_to_live = "PT11M2S" + topic_description.duplicate_detection_history_time_window = "PT12M3S" + 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, seconds=1) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert topic_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) + finally: await mgmt_service.delete_topic(topic_name) 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 0feffaa49201..4079ac5a0109 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestjutao6do74.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-03-23T16:20:01Z + string: Queueshttps://servicebustestzn7vefvebu.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042021-04-15T16:30:05Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:00 GMT + - Thu, 15 Apr 2021 16:30:05 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:20:01Z2021-03-23T16:20:01Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:06Zservicebustestzn7vefvebuPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:01.78ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:06.713ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:01 GMT + - Thu, 15 Apr 2021 16:30:07 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,21 +86,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/sagho?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/sagho?api-version=2017-04sagho2021-03-23T16:20:02Z2021-03-23T16:20:02Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/sagho?api-version=2017-04sagho2021-04-15T16:30:07Z2021-04-15T16:30:07Zservicebustestzn7vefvebuP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-23T16:20:02.85Z2021-03-23T16:20:02.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:30:07.84Z2021-04-15T16:30:07.88ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:02 GMT + - Thu, 15 Apr 2021 16:30:08 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -115,7 +115,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.690Z2021-03-23T16:20:01.780ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2021-04-15T16:30:06.650Z2021-04-15T16:30:06.713ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -130,23 +130,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:20:03Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:08Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:01.78ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:06.713ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:02 GMT + - Thu, 15 Apr 2021 16:30:08 GMT etag: - - '637521132017800000' + - '637541010067130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -166,24 +166,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-03-23T16:20:01Z2021-03-23T16:20:03Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:08Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:03.48Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:08.6Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:03 GMT + - Thu, 15 Apr 2021 16:30:08 GMT etag: - - '637521132034800000' + - '637541010086000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -199,7 +199,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.690Z2021-03-23T16:20:03.480Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestjutao6do74.servicebus.windows.net/saghosb://servicebustestjutao6do74.servicebus.windows.net/sagho' + />Active2021-04-15T16:30:06.650Z2021-04-15T16:30:08.600Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestzn7vefvebu.servicebus.windows.net/saghosb://servicebustestzn7vefvebu.servicebus.windows.net/sagho' headers: Accept: - application/xml @@ -214,28 +214,28 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjutao6do74.servicebus.windows.net%2Fsagho&sig=rdECz06qcAksX0RxxKAFpKBGVCdq7FYgHJZDUBEmUaE%3d&se=1616520004&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Fsagho&sig=ZpvkNV2qeRLw7tfVsreyS%2bJ2Yzq%2fCzdaxkiMBDziaQ8%3d&se=1618507809&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjutao6do74.servicebus.windows.net%2Fsagho&sig=rdECz06qcAksX0RxxKAFpKBGVCdq7FYgHJZDUBEmUaE%3d&se=1616520004&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Fsagho&sig=ZpvkNV2qeRLw7tfVsreyS%2bJ2Yzq%2fCzdaxkiMBDziaQ8%3d&se=1618507809&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:20:03Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:09Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:03.48Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestjutao6do74.servicebus.windows.net/saghosb://servicebustestjutao6do74.servicebus.windows.net/sagho + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:08.6Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestzn7vefvebu.servicebus.windows.net/saghosb://servicebustestzn7vefvebu.servicebus.windows.net/sagho headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:03 GMT + - Thu, 15 Apr 2021 16:30:09 GMT etag: - - '637521132034800000' + - '637541010086000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -255,24 +255,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-03-23T16:20:01Z2021-03-23T16:20:03Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:09Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:03.963Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestjutao6do74.servicebus.windows.net/saghosb://servicebustestjutao6do74.servicebus.windows.net/sagho + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:09.133Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalsesb://servicebustestzn7vefvebu.servicebus.windows.net/saghosb://servicebustestzn7vefvebu.servicebus.windows.net/sagho headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:03 GMT + - Thu, 15 Apr 2021 16:30:09 GMT etag: - - '637521132039630000' + - '637541010091330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -288,7 +288,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.690Z2021-03-23T16:20:03.963Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2021-04-15T16:30:06.650Z2021-04-15T16:30:09.133Z0001-01-01T00:00:00.000Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -303,24 +303,24 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:20:04Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:09Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:03.963Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:09.133Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:03 GMT + - Thu, 15 Apr 2021 16:30:09 GMT etag: - - '637521132039630000' + - '637541010091330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -340,24 +340,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-03-23T16:20:01Z2021-03-23T16:20:04Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:09Zservicebustestzn7vefvebuPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:04.453Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:09.903Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:04 GMT + - Thu, 15 Apr 2021 16:30:10 GMT etag: - - '637521132044530000' + - '637541010099030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -373,7 +373,7 @@ interactions: PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:20:01.690Z2021-03-23T16:20:04.453Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletruesb://servicebustestjutao6do74.servicebus.windows.net/fjruisb://servicebustestjutao6do74.servicebus.windows.net/fjrui' + />Active2021-04-15T16:30:06.650Z2021-04-15T16:30:09.903Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui' headers: Accept: - application/xml @@ -388,28 +388,28 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjutao6do74.servicebus.windows.net%2Ffjrui&sig=9XenxmcIJsP8yZPs86jzwJIOozTdBDG5ki22cjQ6oSE%3d&se=1616520004&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Ffjrui&sig=1QUkVR%2bolvgr7ObBzQzU2uxrOm3fiAzcIqxN08Pqq7Y%3d&se=1618507810&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestjutao6do74.servicebus.windows.net%2Ffjrui&sig=9XenxmcIJsP8yZPs86jzwJIOozTdBDG5ki22cjQ6oSE%3d&se=1616520004&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Ffjrui&sig=1QUkVR%2bolvgr7ObBzQzU2uxrOm3fiAzcIqxN08Pqq7Y%3d&se=1618507810&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:20:04Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:10Zservicebustestzn7vefvebuPT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:04.453Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestjutao6do74.servicebus.windows.net/fjruisb://servicebustestjutao6do74.servicebus.windows.net/fjrui + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:09.903Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:04 GMT + - Thu, 15 Apr 2021 16:30:10 GMT etag: - - '637521132044530000' + - '637541010099030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -429,24 +429,113 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestjutao6do74.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-03-23T16:20:01Z2021-03-23T16:20:04Zservicebustestjutao6do74https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:10Zservicebustestzn7vefvebuPT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-03-23T16:20:01.69Z2021-03-23T16:20:04.913Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestjutao6do74.servicebus.windows.net/fjruisb://servicebustestjutao6do74.servicebus.windows.net/fjrui + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S3072falsefalsePT11MtruePT12M14true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:10.433Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:20:04 GMT + - Thu, 15 Apr 2021 16:30:10 GMT etag: - - '637521132049130000' + - '637541010104330000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:06.650Z2021-04-15T16:30:10.433Z0001-01-01T00:00:00.000Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1885' + Content-Type: + - application/atom+xml + If-Match: + - '*' + ServiceBusDlqSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Ffjrui&sig=8NFF8zhl49a3Ty6bEyK4cB6Z9nwW1FMfVQJRPA%2fQnrc%3d&se=1618507811&skn=RootManageSharedAccessKey + ServiceBusSupplementaryAuthorization: + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestzn7vefvebu.servicebus.windows.net%2Ffjrui&sig=8NFF8zhl49a3Ty6bEyK4cB6Z9nwW1FMfVQJRPA%2fQnrc%3d&se=1618507811&skn=RootManageSharedAccessKey + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:30:10Zservicebustestzn7vefvebuPT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:10.433Z0001-01-01T00:00:00Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:30:10 GMT + etag: + - '637541010104330000' + 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestzn7vefvebu.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:30:06Z2021-04-15T16:30:10Zservicebustestzn7vefvebuPT13S3072falsefalsePT11M2StruePT12M3S14true00falseActive2021-04-15T16:30:06.65Z2021-04-15T16:30:10.963Z0001-01-01T00:00:00Ztrue00000PT10M1SfalseAvailabletruesb://servicebustestzn7vefvebu.servicebus.windows.net/fjruisb://servicebustestzn7vefvebu.servicebus.windows.net/fjrui + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:30:11 GMT + etag: + - '637541010109630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -468,7 +557,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -478,9 +567,9 @@ interactions: content-length: - '0' date: - - Tue, 23 Mar 2021 16:20:05 GMT + - Thu, 15 Apr 2021 16:30:11 GMT etag: - - '637521132049130000' + - '637541010109630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -500,7 +589,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/sagho?api-version=2017-04 response: @@ -510,9 +599,9 @@ interactions: content-length: - '0' date: - - Tue, 23 Mar 2021 16:20:05 GMT + - Thu, 15 Apr 2021 16:30:12 GMT etag: - - '637521132029100000' + - '637541010078800000' 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 584adcce3c6b..a54a97bea0a3 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestxup36qkv6u.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-03-23T16:22:12Z + string: Topicshttps://servicebustest7eewws4lfm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:43:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:11 GMT + - Thu, 15 Apr 2021 16:43:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfkla?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/dfkla?api-version=2017-04dfkla2021-03-23T16:22:12Z2021-03-23T16:22:12Zservicebustestxup36qkv6uhttps://servicebustest7eewws4lfm.servicebus.windows.net/dfkla?api-version=2017-04dfkla2021-04-15T16:43:24Z2021-04-15T16:43:24Zservicebustest7eewws4lfmPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-03-23T16:22:12.897Z2021-03-23T16:22:12.99ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2021-04-15T16:43:24.613Z2021-04-15T16:43:24.66ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:12 GMT + - Thu, 15 Apr 2021 16:43:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,21 +86,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-03-23T16:22:14Z2021-03-23T16:22:14Zservicebustestxup36qkv6uhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:43:25Z2021-04-15T16:43:25Zservicebustest7eewws4lfmP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-03-23T16:22:14.033Z2021-03-23T16:22:14.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:43:25.79Z2021-04-15T16:43:25.84ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:13 GMT + - Thu, 15 Apr 2021 16:43:25 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,23 +127,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:14Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2021-03-23T16:22:14.6144729Z2021-03-23T16:22:14.6144729Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2021-04-15T16:43:26.4995414Z2021-04-15T16:43:26.4995414Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:26 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -157,7 +157,7 @@ interactions: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:22:14.614472Z2021-03-23T16:22:14.614472Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:26.499541Z2021-04-15T16:43:26.499541Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -172,23 +172,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:14Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:26ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:22:14.802043Z2021-03-23T16:22:14.802043Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:26.9683085Z2021-04-15T16:43:26.9683085Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:26 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -208,24 +208,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:14Zsb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:26ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-03-23T16:22:14.6178716Z2021-03-23T16:22:14.836587Z2021-03-23T16:22:14.6178716ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2021-04-15T16:43:26.4945316Z2021-04-15T16:43:26.9944691Z2021-04-15T16:43:26.4945316Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:27 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -240,7 +240,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:14.617871Z2021-03-23T16:22:14.836587Z2021-03-23T16:22:14.617871Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:26.494531Z2021-04-15T16:43:26.994469Z2021-04-15T16:43:26.494531Z00000PT10MAvailable' headers: Accept: - application/xml @@ -255,23 +255,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:15Z2021-03-23T16:22:15Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:27Z2021-04-15T16:43:27ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:15.0993373Z2021-03-23T16:22:15.0993373Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:27.5776655Z2021-04-15T16:43:27.5776655Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:27 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -291,24 +291,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:15Zsb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:27ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:14.6178716Z2021-03-23T16:22:15.1022061Z2021-03-23T16:22:14.6178716ZPT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:26.4945316Z2021-04-15T16:43:27.5937263Z2021-04-15T16:43:26.4945316Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:27 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -323,7 +323,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui2021-03-23T16:22:14.617871Z2021-03-23T16:22:15.102206Z2021-03-23T16:22:14.617871Z00000sb://servicebustestxup36qkv6u.servicebus.windows.net/fjruiPT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui2021-04-15T16:43:26.494531Z2021-04-15T16:43:27.593726Z2021-04-15T16:43:26.494531Z00000sb://servicebustest7eewws4lfm.servicebus.windows.net/fjruiPT10MAvailable' headers: Accept: - application/xml @@ -338,27 +338,27 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxup36qkv6u.servicebus.windows.net%2Ffjrui&sig=I4moPk3b7Mp4Y9cx5WT1b%2bkjBt4AL0pP%2fHIjpm7WnBg%3d&se=1616520135&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustest7eewws4lfm.servicebus.windows.net%2Ffjrui&sig=VYyDru7TdwzzfjgvSV%2fV1nFqsCid36ntnnVBMEXRb4o%3d&se=1618508608&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxup36qkv6u.servicebus.windows.net%2Ffjrui&sig=I4moPk3b7Mp4Y9cx5WT1b%2bkjBt4AL0pP%2fHIjpm7WnBg%3d&se=1616520135&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustest7eewws4lfm.servicebus.windows.net%2Ffjrui&sig=VYyDru7TdwzzfjgvSV%2fV1nFqsCid36ntnnVBMEXRb4o%3d&se=1618508608&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:15Z2021-03-23T16:22:15Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:28Z2021-04-15T16:43:28ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui2021-03-23T16:22:15.3962257Z2021-03-23T16:22:15.3962257Z0001-01-01T00:00:00sb://servicebustestxup36qkv6u.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui2021-04-15T16:43:28.1401685Z2021-04-15T16:43:28.1401685Z0001-01-01T00:00:00sb://servicebustest7eewws4lfm.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:27 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -378,24 +378,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:15Zsb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:28ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui2021-03-23T16:22:14.6178716Z2021-03-23T16:22:15.3990924Z2021-03-23T16:22:14.6178716Z00000sb://servicebustestxup36qkv6u.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui2021-04-15T16:43:26.4945316Z2021-04-15T16:43:28.157193Z2021-04-15T16:43:26.4945316Z00000sb://servicebustest7eewws4lfm.servicebus.windows.net/fjruiP10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:14 GMT + - Thu, 15 Apr 2021 16:43:28 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -410,7 +410,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/dfkla2021-03-23T16:22:14.617871Z2021-03-23T16:22:15.399092Z2021-03-23T16:22:14.617871Z00000sb://servicebustestxup36qkv6u.servicebus.windows.net/dfklaP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/dfkla2021-04-15T16:43:26.494531Z2021-04-15T16:43:28.157193Z2021-04-15T16:43:26.494531Z00000sb://servicebustest7eewws4lfm.servicebus.windows.net/dfklaP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -425,27 +425,27 @@ interactions: If-Match: - '*' ServiceBusDlqSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxup36qkv6u.servicebus.windows.net%2Fdfkla&sig=u7ycAoBbyuvH5zCZYn9SwoXbsIdxxrVpyDgR47nyij0%3d&se=1616520135&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustest7eewws4lfm.servicebus.windows.net%2Fdfkla&sig=ZoBhAFc3r0vcl%2fsyse52IEjyfriZbHReZU1NhDpKjYo%3d&se=1618508608&skn=RootManageSharedAccessKey ServiceBusSupplementaryAuthorization: - - SharedAccessSignature sr=sb%3A%2F%2Fservicebustestxup36qkv6u.servicebus.windows.net%2Fdfkla&sig=u7ycAoBbyuvH5zCZYn9SwoXbsIdxxrVpyDgR47nyij0%3d&se=1616520135&skn=RootManageSharedAccessKey + - SharedAccessSignature sr=sb%3A%2F%2Fservicebustest7eewws4lfm.servicebus.windows.net%2Fdfkla&sig=ZoBhAFc3r0vcl%2fsyse52IEjyfriZbHReZU1NhDpKjYo%3d&se=1618508608&skn=RootManageSharedAccessKey User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:15Z2021-03-23T16:22:15Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:28Z2021-04-15T16:43:28ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/dfkla2021-03-23T16:22:15.6462704Z2021-03-23T16:22:15.6462704Z0001-01-01T00:00:00sb://servicebustestxup36qkv6u.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/dfkla2021-04-15T16:43:28.6870418Z2021-04-15T16:43:28.6870418Z0001-01-01T00:00:00sb://servicebustest7eewws4lfm.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:15 GMT + - Thu, 15 Apr 2021 16:43:28 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -465,24 +465,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:15Zsb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:28ZPT12SfalsePT11Mtruetrue014trueActivesb://servicebustestxup36qkv6u.servicebus.windows.net/dfkla2021-03-23T16:22:14.6178716Z2021-03-23T16:22:15.6647144Z2021-03-23T16:22:14.6178716Z00000sb://servicebustestxup36qkv6u.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActivesb://servicebustest7eewws4lfm.servicebus.windows.net/dfkla2021-04-15T16:43:26.4945316Z2021-04-15T16:43:28.6944192Z2021-04-15T16:43:26.4945316Z00000sb://servicebustest7eewws4lfm.servicebus.windows.net/dfklaP10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:15 GMT + - Thu, 15 Apr 2021 16:43:28 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -497,7 +497,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:14.617871Z2021-03-23T16:22:15.664714Z2021-03-23T16:22:14.617871Z00000P10675199DT2H48M5.477539SAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:26.494531Z2021-04-15T16:43:28.694419Z2021-04-15T16:43:26.494531Z00000P10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -512,23 +512,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-03-23T16:22:15Z2021-03-23T16:22:15Zhttps://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:29Z2021-04-15T16:43:29ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:15.8805936Z2021-03-23T16:22:15.8805936Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:29.2182957Z2021-04-15T16:43:29.2182957Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:15 GMT + - Thu, 15 Apr 2021 16:43:28 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -548,24 +548,107 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestxup36qkv6u.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-03-23T16:22:14Z2021-03-23T16:22:15Zsb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:29ZPT12SfalsePT11Mtruetrue014trueActive2021-03-23T16:22:14.6178716Z2021-03-23T16:22:15.9147121Z2021-03-23T16:22:14.6178716ZPT12SfalsePT11Mtruetrue014trueActive2021-04-15T16:43:26.4945316Z2021-04-15T16:43:29.225702Z2021-04-15T16:43:26.4945316Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Tue, 23 Mar 2021 16:22:15 GMT + - Thu, 15 Apr 2021 16:43:29 GMT etag: - - '637521133340900000' + - '637541018058400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:26.494531Z2021-04-15T16:43:29.225702Z2021-04-15T16:43:26.494531Z00000PT10M1SAvailable' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1387' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + response: + body: + string: https://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2021-04-15T16:43:29Z2021-04-15T16:43:29ZPT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:29.7808002Z2021-04-15T16:43:29.7808002Z0001-01-01T00:00:00PT10M1SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:43:29 GMT + etag: + - '637541018058400000' + 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustest7eewws4lfm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2021-04-15T16:43:26Z2021-04-15T16:43:29ZPT3M3SfalsePT11M2Struetrue014trueActive2021-04-15T16:43:26.4945316Z2021-04-15T16:43:29.788181Z2021-04-15T16:43:26.4945316Z00000PT10M1SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:43:29 GMT + etag: + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -587,7 +670,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -597,9 +680,9 @@ interactions: content-length: - '0' date: - - Tue, 23 Mar 2021 16:22:15 GMT + - Thu, 15 Apr 2021 16:43:29 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -619,7 +702,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -629,9 +712,9 @@ interactions: content-length: - '0' date: - - Tue, 23 Mar 2021 16:22:16 GMT + - Thu, 15 Apr 2021 16:43:30 GMT etag: - - '637521133340900000' + - '637541018058400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -651,7 +734,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfkla?api-version=2017-04 response: @@ -661,9 +744,9 @@ interactions: content-length: - '0' date: - - Tue, 23 Mar 2021 16:22:16 GMT + - Thu, 15 Apr 2021 16:43:31 GMT etag: - - '637521133329900000' + - '637541018046600000' 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 263ab2a084a5..0b4b083c5848 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 @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestafjalzt3of.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-12-03T18:23:39Z + string: Topicshttps://servicebustestbyp6d4w4js.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042021-04-15T16:38:24Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:38 GMT + - Thu, 15 Apr 2021 16:38:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:39Z2020-12-03T18:23:39Zservicebustestafjalzt3ofhttps://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:24Zservicebustestbyp6d4w4jsP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:39.52Z2020-12-03T18:23:39.62ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:24.937ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:39 GMT + - Thu, 15 Apr 2021 16:38:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:39.520Z2020-12-03T18:23:39.620ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2021-04-15T16:38:24.813Z2021-04-15T16:38:24.937ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -89,23 +89,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:40Zservicebustestafjalzt3ofhttps://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:25Zservicebustestbyp6d4w4jsPT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:39.52Z2020-12-03T18:23:39.62ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:24.937ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:40 GMT + - Thu, 15 Apr 2021 16:38:25 GMT etag: - - '637426166196200000' + - '637541015049370000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -125,24 +125,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-12-03T18:23:39Z2020-12-03T18:23:40Zservicebustestafjalzt3ofhttps://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:25Zservicebustestbyp6d4w4jsPT2M1024falsePT10Mtrue0falsefalseActive2020-12-03T18:23:39.52Z2020-12-03T18:23:40.17Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:25.67Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:40 GMT + - Thu, 15 Apr 2021 16:38:25 GMT etag: - - '637426166201700000' + - '637541015056700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -158,7 +158,7 @@ interactions: PT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:39.520Z2020-12-03T18:23:40.170Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2021-04-15T16:38:24.813Z2021-04-15T16:38:25.670Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -173,24 +173,24 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-12-03T18:23:40Zservicebustestafjalzt3ofhttps://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:26Zservicebustestbyp6d4w4jsPT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:39.52Z2020-12-03T18:23:40.17Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:25.67Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:40 GMT + - Thu, 15 Apr 2021 16:38:25 GMT etag: - - '637426166201700000' + - '637541015056700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -210,24 +210,109 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestafjalzt3of.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-12-03T18:23:39Z2020-12-03T18:23:40Zservicebustestafjalzt3ofhttps://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:26Zservicebustestbyp6d4w4jsPT11M3072falsePT12Mtrue0falsefalseActive2020-12-03T18:23:39.52Z2020-12-03T18:23:40.543Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:26.23Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 03 Dec 2020 18:23:40 GMT + - Thu, 15 Apr 2021 16:38:26 GMT etag: - - '637426166205430000' + - '637541015062300000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + PT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:26.230Z0001-01-01T00:00:00.000Ztrue000000PT10M1SfalseAvailablefalsetrue' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1653' + Content-Type: + - application/atom+xml + If-Match: + - '*' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 + response: + body: + string: https://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?api-version=2017-04fjrui2021-04-15T16:38:26Zservicebustestbyp6d4w4jsPT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:26.23Z0001-01-01T00:00:00Ztrue000000PT10M1SfalseAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:38:26 GMT + etag: + - '637541015062300000' + 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.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustestbyp6d4w4js.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2021-04-15T16:38:24Z2021-04-15T16:38:26Zservicebustestbyp6d4w4jsPT11M2S3072falsePT12M3Strue0falsefalseActive2021-04-15T16:38:24.813Z2021-04-15T16:38:26.76Z0001-01-01T00:00:00Ztrue000000PT10M1SfalseAvailablefalsetrue + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Thu, 15 Apr 2021 16:38:26 GMT + etag: + - '637541015067600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -249,7 +334,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -259,9 +344,9 @@ interactions: content-length: - '0' date: - - Thu, 03 Dec 2020 18:23:41 GMT + - Thu, 15 Apr 2021 16:38:27 GMT etag: - - '637426166205430000' + - '637541015067600000' 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 29e5bbb1a100..d22b15ac62e5 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 @@ -401,6 +401,17 @@ def test_mgmt_queue_update_success(self, servicebus_namespace_connection_string, assert queue_description.forward_dead_lettered_messages_to.endswith(".servicebus.windows.net/{}".format(queue_name)) #assert queue_description.requires_duplicate_detection == True #assert queue_description.requires_session == True + + queue_description.auto_delete_on_idle = "PT10M1S" + queue_description.default_message_time_to_live = "PT11M2S" + queue_description.duplicate_detection_history_time_window = "PT12M3S" + + 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, seconds=1) + assert queue_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert queue_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) finally: mgmt_service.delete_queue(queue_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 index 582541fe5276..1c1e7bab5b7c 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 @@ -211,6 +211,15 @@ def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_ assert subscription_description.forward_to is None assert subscription_description.forward_dead_lettered_messages_to is None + subscription_description.auto_delete_on_idle = "PT10M1S" + subscription_description.default_message_time_to_live = "PT11M2S" + subscription_description.lock_duration = "PT3M3S" + mgmt_service.update_subscription(topic_description.name, subscription_description) + subscription_description = mgmt_service.get_subscription(topic_description.name, subscription_name) + assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10, seconds=1) + assert subscription_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert subscription_description.lock_duration == datetime.timedelta(minutes=3, seconds=3) + 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_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py index 035cec2cdf6d..6d85e8674591 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 @@ -146,6 +146,17 @@ def test_mgmt_topic_update_success(self, servicebus_namespace_connection_string, # assert topic_description.requires_duplicate_detection == True # assert topic_description.requires_session == True assert topic_description.support_ordering == True + + topic_description.auto_delete_on_idle = "PT10M1S" + topic_description.default_message_time_to_live = "PT11M2S" + topic_description.duplicate_detection_history_time_window = "PT12M3S" + 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, seconds=1) + assert topic_description.default_message_time_to_live == datetime.timedelta(minutes=11, seconds=2) + assert topic_description.duplicate_detection_history_time_window == datetime.timedelta(minutes=12, seconds=3) + finally: mgmt_service.delete_topic(topic_name) From 9230e289d0b48aab6a462f9cf7176744bd31911f Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 10:31:16 -0700 Subject: [PATCH 5/7] fix mypy --- .../azure/servicebus/management/_model_workaround.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b45aa371b1c5..52a6a572a2f7 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -239,7 +239,7 @@ def avoid_timedelta_overflow(td): - # type: (Optional[timedelta, str]) -> Optional[timedelta, str] + # type: (Optional[Union[timedelta, str]]) -> Optional[Union[timedelta, str]] """Service Bus REST API uses "P10675199DT2H48M5.4775807S" as default value for some properties, which are of type datetime.timedelta. When they are deserialized, Python round the milliseconds from 4775807 to 477581. When we get an entity (for instance, QueueDescription) and update this entity, this default value is From 1450db230eeb7595e39f9d5b680cbc23469d6fbd Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 10:56:25 -0700 Subject: [PATCH 6/7] more mypy fix --- .../azure/servicebus/management/_model_workaround.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 52a6a572a2f7..2b65e51d35a3 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -2,7 +2,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 Dict, Iterable, Any, Optional, Tuple, Type +from typing import Dict, Iterable, Any, Optional, Tuple, Type, Union from collections import OrderedDict from datetime import timedelta from msrest.serialization import Model From e4e9a5f3daced78484bf6cb2290a658c87cefdd5 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Thu, 15 Apr 2021 11:43:40 -0700 Subject: [PATCH 7/7] mypy fix --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 5 ----- .../servicebus/aio/management/_management_client_async.py | 8 ++++---- .../azure/servicebus/management/_management_client.py | 8 ++++---- .../azure/servicebus/management/_model_workaround.py | 4 ++-- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index 0b23ef7e7b2a..687784764630 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -2,11 +2,6 @@ ## 7.1.2 (Unreleased) -**Bug Fixes** - -* Fixed bug that `ServiceBusAdministrationClient.update_*` throwing `AttributeError` when updating timespan -related properties(`auto_delete_on_idle`, `default_message_time_to_live`, -`duplicate_detection_history_time_window` and `lock_duration`) with string in ISO 8601 duration format. ## 7.1.1 (2021-04-07) 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 26404e273bba..f66e533a780d 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 @@ -670,10 +670,10 @@ async def update_topic( topic = create_properties_from_dict_if_needed(topic, TopicProperties) to_update = topic._to_internal_entity() - to_update.default_message_time_to_live = avoid_timedelta_overflow( + to_update.default_message_time_to_live = avoid_timedelta_overflow( # type: ignore to_update.default_message_time_to_live ) - to_update.auto_delete_on_idle = avoid_timedelta_overflow( + to_update.auto_delete_on_idle = avoid_timedelta_overflow( # type: ignore to_update.auto_delete_on_idle ) @@ -942,10 +942,10 @@ async def update_subscription( ) to_update = subscription._to_internal_entity() - to_update.default_message_time_to_live = avoid_timedelta_overflow( + to_update.default_message_time_to_live = avoid_timedelta_overflow( # type: ignore to_update.default_message_time_to_live ) - to_update.auto_delete_on_idle = avoid_timedelta_overflow( + to_update.auto_delete_on_idle = avoid_timedelta_overflow( # type: ignore to_update.auto_delete_on_idle ) 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 dd3d59cf93cd..09dfebd66180 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -669,10 +669,10 @@ def update_topic(self, topic, **kwargs): or topic.duplicate_detection_history_time_window ) - to_update.default_message_time_to_live = avoid_timedelta_overflow( + to_update.default_message_time_to_live = avoid_timedelta_overflow( # type: ignore to_update.default_message_time_to_live ) - to_update.auto_delete_on_idle = avoid_timedelta_overflow( + to_update.auto_delete_on_idle = avoid_timedelta_overflow( # type: ignore to_update.auto_delete_on_idle ) @@ -934,10 +934,10 @@ def update_subscription(self, topic_name, subscription, **kwargs): ) to_update = subscription._to_internal_entity() - to_update.default_message_time_to_live = avoid_timedelta_overflow( + to_update.default_message_time_to_live = avoid_timedelta_overflow( # type: ignore to_update.default_message_time_to_live ) - to_update.auto_delete_on_idle = avoid_timedelta_overflow( + to_update.auto_delete_on_idle = avoid_timedelta_overflow( # type: ignore to_update.auto_delete_on_idle ) create_entity_body = CreateSubscriptionBody( 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 2b65e51d35a3..6d34fec88df7 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_model_workaround.py @@ -248,8 +248,8 @@ def avoid_timedelta_overflow(td): """ try: result = td - if td is not None and td.days == 10675199 and td.microseconds >= 477581: - result = timedelta(seconds=td.total_seconds() - 0.000001) + if td is not None and td.days == 10675199 and td.microseconds >= 477581: # type: ignore + result = timedelta(seconds=td.total_seconds() - 0.000001) # type: ignore except AttributeError: # td is expected to be an ISO 8601 time span string # in this case we don't do client validation and let the service handle the string