From 6a5c1230c3bfad0013b5eedb630e06647c5aa25c Mon Sep 17 00:00:00 2001 From: KieranBrantnerMagee Date: Wed, 9 Sep 2020 16:20:52 -0700 Subject: [PATCH] [ServiceBus] Consistency review changes as detailed in issue #12415. (#13160) * Consistency review changes as detailed in issue #12415. * significant amount of renames, parameter removal, mgmt shim class building, and a few added capabilities in terms of renew_lock retval and receive_deferred param acceptance. * Update mgmt test recordings Co-authored-by: Adam Ling (MSFT) --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 14 + sdk/servicebus/azure-servicebus/README.md | 10 +- .../azure/servicebus/__init__.py | 8 +- .../azure/servicebus/_common/constants.py | 8 +- .../azure/servicebus/_common/message.py | 53 +-- .../azure/servicebus/_common/mgmt_handlers.py | 10 +- .../servicebus/_common/receiver_mixins.py | 18 +- .../azure/servicebus/_servicebus_client.py | 104 ++--- .../azure/servicebus/_servicebus_receiver.py | 96 ++--- .../azure/servicebus/_servicebus_sender.py | 4 - .../azure/servicebus/_servicebus_session.py | 30 +- .../_servicebus_session_receiver.py | 24 +- .../azure/servicebus/aio/_async_message.py | 25 +- .../aio/_servicebus_client_async.py | 97 ++--- .../aio/_servicebus_receiver_async.py | 92 ++--- .../aio/_servicebus_sender_async.py | 4 - .../aio/_servicebus_session_async.py | 23 +- .../aio/_servicebus_session_receiver_async.py | 24 +- .../management/_management_client_async.py | 26 +- .../azure/servicebus/management/__init__.py | 6 +- .../management/_management_client.py | 25 +- .../azure/servicebus/management/_models.py | 198 ++++++++-- .../azure-servicebus/migration_guide.md | 6 +- .../async_samples/auto_lock_renew_async.py | 6 +- .../receive_deadlettered_messages_async.py | 2 +- .../async_samples/receive_peek_async.py | 2 +- .../sample_code_servicebus_async.py | 4 +- .../session_pool_receive_async.py | 4 +- .../session_send_receive_async.py | 8 +- .../samples/sync_samples/auto_lock_renew.py | 6 +- .../samples/sync_samples/receive_peek.py | 2 +- .../sync_samples/sample_code_servicebus.py | 4 +- .../sync_samples/session_pool_receive.py | 4 +- .../sync_samples/session_send_receive.py | 8 +- ...t_async_mgmt_namespace_get_properties.yaml | 27 ++ ....test_async_mgmt_queue_create_by_name.yaml | 48 +-- ...est_async_mgmt_queue_create_duplicate.yaml | 44 +-- ...t_queue_create_with_queue_description.yaml | 48 +-- ...nc.test_async_mgmt_queue_delete_basic.yaml | 118 +++--- ....test_async_mgmt_queue_delete_negtive.yaml | 78 ++-- ...eue_delete_one_and_check_not_existing.yaml | 304 +++++++-------- ...mt_queue_get_runtime_properties_basic.yaml | 107 ++++++ ...queue_get_runtime_properties_negative.yaml | 27 ++ ...sync.test_async_mgmt_queue_list_basic.yaml | 126 +++---- ...t_queue_list_runtime_properties_basic.yaml | 201 ++++++++++ ...t_queue_list_with_negative_credential.yaml | 20 +- ...nc_mgmt_queue_list_with_special_chars.yaml | 68 ++-- ....test_async_mgmt_queue_update_invalid.yaml | 72 ++-- ....test_async_mgmt_queue_update_success.yaml | 100 ++--- ...les_async.test_async_mgmt_rule_create.yaml | 192 +++++----- ...test_async_mgmt_rule_create_duplicate.yaml | 100 ++--- ....test_async_mgmt_rule_list_and_delete.yaml | 242 ++++++------ ...c.test_async_mgmt_rule_update_invalid.yaml | 118 +++--- ...c.test_async_mgmt_rule_update_success.yaml | 136 +++---- ...sync_mgmt_subscription_create_by_name.yaml | 72 ++-- ...nc_mgmt_subscription_create_duplicate.yaml | 68 ++-- ..._create_with_subscription_description.yaml | 72 ++-- ...c.test_async_mgmt_subscription_delete.yaml | 168 ++++----- ...cription_get_runtime_properties_basic.yaml | 163 ++++++++ ...ync.test_async_mgmt_subscription_list.yaml | 128 +++---- ..._subscription_list_runtime_properties.yaml | 267 +++++++++++++ ...sync_mgmt_subscription_update_invalid.yaml | 88 ++--- ...sync_mgmt_subscription_update_success.yaml | 124 +++--- ....test_async_mgmt_topic_create_by_name.yaml | 48 +-- ...est_async_mgmt_topic_create_duplicate.yaml | 44 +-- ...t_topic_create_with_topic_description.yaml | 48 +-- ...cs_async.test_async_mgmt_topic_delete.yaml | 150 ++++---- ...mt_topic_get_runtime_properties_basic.yaml | 107 ++++++ ...pics_async.test_async_mgmt_topic_list.yaml | 96 ++--- ...nc_mgmt_topic_list_runtime_properties.yaml | 201 ++++++++++ ....test_async_mgmt_topic_update_invalid.yaml | 58 +-- ....test_async_mgmt_topic_update_success.yaml | 100 ++--- .../mgmt_tests/test_mgmt_namespaces_async.py | 25 ++ .../mgmt_tests/test_mgmt_queues_async.py | 60 +-- .../test_mgmt_subscriptions_async.py | 40 +- .../mgmt_tests/test_mgmt_topics_async.py | 34 +- .../tests/async_tests/test_queues_async.py | 86 ++--- .../tests/async_tests/test_sessions_async.py | 42 +-- .../async_tests/test_subscriptions_async.py | 12 +- ...es.test_mgmt_namespace_get_properties.yaml | 34 ++ ...queues.test_mgmt_queue_create_by_name.yaml | 40 +- ...eues.test_mgmt_queue_create_duplicate.yaml | 36 +- ...t_queue_create_with_queue_description.yaml | 40 +- ...t_queues.test_mgmt_queue_delete_basic.yaml | 100 ++--- ...queues.test_mgmt_queue_delete_negtive.yaml | 64 ++-- ...eue_delete_one_and_check_not_existing.yaml | 258 ++++++------- ...mt_queue_get_runtime_properties_basic.yaml | 141 +++++++ ...queue_get_runtime_properties_negative.yaml | 35 ++ ...gmt_queues.test_mgmt_queue_list_basic.yaml | 104 ++--- ...t_queue_list_runtime_properties_basic.yaml | 261 +++++++++++++ ...t_queue_list_with_negative_credential.yaml | 16 +- ...st_mgmt_queue_list_with_special_chars.yaml | 56 +-- ...queues.test_mgmt_queue_update_invalid.yaml | 60 +-- ...queues.test_mgmt_queue_update_success.yaml | 86 ++--- ...test_mgmt_rules.test_mgmt_rule_create.yaml | 164 ++++---- ...rules.test_mgmt_rule_create_duplicate.yaml | 84 ++--- ..._rules.test_mgmt_rule_list_and_delete.yaml | 212 +++++------ ...t_rules.test_mgmt_rule_update_invalid.yaml | 100 ++--- ...t_rules.test_mgmt_rule_update_success.yaml | 116 +++--- ...test_mgmt_subscription_create_by_name.yaml | 60 +-- ...st_mgmt_subscription_create_duplicate.yaml | 56 +-- ..._create_with_subscription_description.yaml | 60 +-- ...iptions.test_mgmt_subscription_delete.yaml | 144 +++---- ...cription_get_runtime_properties_basic.yaml | 216 +++++++++++ ...criptions.test_mgmt_subscription_list.yaml | 108 +++--- ..._subscription_list_runtime_properties.yaml | 356 ++++++++++++++++++ ...test_mgmt_subscription_update_invalid.yaml | 70 ++-- ...test_mgmt_subscription_update_success.yaml | 106 +++--- ...topics.test_mgmt_topic_create_by_name.yaml | 40 +- ...pics.test_mgmt_topic_create_duplicate.yaml | 36 +- ...t_topic_create_with_topic_description.yaml | 40 +- ...st_mgmt_topics.test_mgmt_topic_delete.yaml | 128 +++---- ...mt_topic_get_runtime_properties_basic.yaml | 141 +++++++ ...test_mgmt_topics.test_mgmt_topic_list.yaml | 80 ++-- ...st_mgmt_topic_list_runtime_properties.yaml | 261 +++++++++++++ ...topics.test_mgmt_topic_update_invalid.yaml | 48 +-- ...topics.test_mgmt_topic_update_success.yaml | 86 ++--- .../tests/mgmt_tests/test_mgmt_namespaces.py | 25 ++ .../tests/mgmt_tests/test_mgmt_queues.py | 60 +-- .../mgmt_tests/test_mgmt_subscriptions.py | 38 +- .../tests/mgmt_tests/test_mgmt_topics.py | 34 +- .../tests/stress_tests/stress_test_base.py | 81 ++-- .../tests/stress_tests/test_stress_queues.py | 8 +- .../azure-servicebus/tests/test_queues.py | 80 ++-- .../azure-servicebus/tests/test_sb_client.py | 7 +- .../azure-servicebus/tests/test_sessions.py | 48 +-- .../tests/test_subscriptions.py | 12 +- 127 files changed, 6324 insertions(+), 3544 deletions(-) create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_namespaces_async.test_async_mgmt_namespace_get_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_negative.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_namespaces_async.py create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_namespaces.test_mgmt_namespace_get_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_negative.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_properties_basic.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_properties.yaml create mode 100644 sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_namespaces.py diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index 0a051e2a9f77..cd1d87c13cc8 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -3,11 +3,25 @@ ## 7.0.0b6 (Unreleased) **New Features** + +* `renew_lock()` now returns the UTC datetime that the lock is set to expire at. +* `receive_deferred_messages()` can now take a single sequence number as well as a list of sequence numbers. * Messages can now be sent twice in succession. * Internal AMQP message properties (header, footer, annotations, properties, etc) are now exposed via `Message.amqp_message` **Breaking Changes** +* Renamed `prefetch` to `prefetch_count`. +* Renamed `ReceiveSettleMode` enum to `ReceiveMode`, and respectively the `mode` parameter to `receive_mode`. +* `retry_total`, `retry_backoff_factor` and `retry_backoff_max` are now defined at the `ServiceBusClient` level and inherited by senders and receivers created from it. +* No longer export `NEXT_AVAILABLE` in `azure.servicebus` module. A null `session_id` will suffice. +* Renamed parameter `message_count` to `max_message_count` as fewer messages may be present for method `peek_messages()` and `receive_messages()`. +* Renamed `PeekMessage` to `PeekedMessage`. +* Renamed `get_session_state()` and `set_session_state()` to `get_state()` and `set_state()` accordingly. +* Renamed parameter `description` to `error_description` for method `dead_letter()`. +* Renamed properties `created_time` and `modified_time` to `created_at_utc` and `modified_at_utc` within `AuthorizationRule` and `NamespaceProperties`. +* Removed parameter `requires_preprocessing` from `SqlRuleFilter` and `SqlRuleAction`. +* Removed property `namespace_type` from `NamespaceProperties`. * Rename `ServiceBusManagementClient` to `ServiceBusAdministrationClient` * Attempting to call `send_messages` on something not a `Message`, `BatchMessage`, or list of `Message`s, will now throw a `TypeError` instead of `ValueError` * Sending a message twice will no longer result in a MessageAlreadySettled exception. diff --git a/sdk/servicebus/azure-servicebus/README.md b/sdk/servicebus/azure-servicebus/README.md index 3a2bded25653..26a366a86631 100644 --- a/sdk/servicebus/azure-servicebus/README.md +++ b/sdk/servicebus/azure-servicebus/README.md @@ -171,13 +171,13 @@ with ServiceBusClient.from_connection_string(connstr) as client: if received_message_array: print(str(received_message_array[0])) - with client.get_queue_receiver(queue_name, prefetch=5) as receiver: - received_message_array = receiver.receive_messages(max_batch_size=5, max_wait_time=10) # try to receive maximum 5 messages in a batch within 10 seconds + with client.get_queue_receiver(queue_name) as receiver: + received_message_array = receiver.receive_messages(max_message_count=5, max_wait_time=10) # try to receive maximum 5 messages in a batch within 10 seconds for message in received_message_array: print(str(message)) ``` -In this example, max_batch_size (and prefetch, as required by max_batch_size) declares the maximum number of messages to attempt receiving before hitting a max_wait_time as specified in seconds. +In this example, max_message_count declares the maximum number of messages to attempt receiving before hitting a max_wait_time as specified in seconds. > **NOTE:** It should also be noted that `ServiceBusReceiver.peek_messages()` is subtly different than receiving, as it does not lock the messages being peeked, and thus they cannot be settled. @@ -235,8 +235,8 @@ with ServiceBusClient.from_connection_string(connstr) as client: When receiving from a queue, you have multiple actions you can take on the messages you receive. -> **NOTE**: You can only settle `ReceivedMessage` objects which are received in `ReceiveSettleMode.PeekLock` mode (this is the default). -> `ReceiveSettleMode.ReceiveAndDelete` mode removes the message from the queue on receipt. `PeekMessage` messages +> **NOTE**: You can only settle `ReceivedMessage` objects which are received in `ReceiveMode.PeekLock` mode (this is the default). +> `ReceiveMode.ReceiveAndDelete` mode removes the message from the queue on receipt. `PeekedMessage` messages > returned from `peek()` cannot be settled, as the message lock is not taken like it is in the aforementioned receive methods. Sessionful messages have a similar limitation. If the message has a lock as mentioned above, settlement will fail if the message lock has expired. diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/__init__.py index 3b9ec8358e35..5ee9a06b6b01 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/__init__.py @@ -14,8 +14,8 @@ from ._servicebus_session_receiver import ServiceBusSessionReceiver from ._servicebus_session import ServiceBusSession from ._base_handler import ServiceBusSharedKeyCredential -from ._common.message import Message, BatchMessage, PeekMessage, ReceivedMessage -from ._common.constants import ReceiveSettleMode, SubQueue +from ._common.message import Message, BatchMessage, PeekedMessage, ReceivedMessage +from ._common.constants import ReceiveMode, SubQueue from ._common.auto_lock_renewer import AutoLockRenew TransportType = constants.TransportType @@ -23,10 +23,10 @@ __all__ = [ 'Message', 'BatchMessage', - 'PeekMessage', + 'PeekedMessage', 'ReceivedMessage', - 'ReceiveSettleMode', 'SubQueue', + 'ReceiveMode', 'ServiceBusClient', 'ServiceBusReceiver', 'ServiceBusSessionReceiver', diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/constants.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/constants.py index 4e1185b0c4d2..83efc95f32c0 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/constants.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/constants.py @@ -62,16 +62,16 @@ MGMT_REQUEST_SEQUENCE_NUMBERS = 'sequence-numbers' MGMT_REQUEST_RECEIVER_SETTLE_MODE = 'receiver-settle-mode' MGMT_REQUEST_FROM_SEQUENCE_NUMBER = 'from-sequence-number' -MGMT_REQUEST_MESSAGE_COUNT = 'message-count' +MGMT_REQUEST_MAX_MESSAGE_COUNT = 'message-count' MGMT_REQUEST_MESSAGE = 'message' MGMT_REQUEST_MESSAGES = 'messages' MGMT_REQUEST_MESSAGE_ID = 'message-id' MGMT_REQUEST_PARTITION_KEY = 'partition-key' MGMT_REQUEST_VIA_PARTITION_KEY = 'via-partition-key' MGMT_REQUEST_DEAD_LETTER_REASON = 'deadletter-reason' -MGMT_REQUEST_DEAD_LETTER_DESCRIPTION = 'deadletter-description' +MGMT_REQUEST_DEAD_LETTER_ERROR_DESCRIPTION = 'deadletter-description' RECEIVER_LINK_DEAD_LETTER_REASON = 'DeadLetterReason' -RECEIVER_LINK_DEAD_LETTER_DESCRIPTION = 'DeadLetterErrorDescription' +RECEIVER_LINK_DEAD_LETTER_ERROR_DESCRIPTION = 'DeadLetterErrorDescription' MGMT_REQUEST_OP_TYPE_ENTITY_MGMT = b"entity-mgmt" MESSAGE_COMPLETE = 'complete' @@ -106,7 +106,7 @@ TRANSFER_DEAD_LETTER_QUEUE_SUFFIX = '/$Transfer' + DEAD_LETTER_QUEUE_SUFFIX -class ReceiveSettleMode(Enum): +class ReceiveMode(Enum): PeekLock = constants.ReceiverSettleMode.PeekLock ReceiveAndDelete = constants.ReceiverSettleMode.ReceiveAndDelete diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py index 050828f2bb06..856bd31638fe 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py @@ -20,7 +20,7 @@ SETTLEMENT_COMPLETE, SETTLEMENT_DEFER, SETTLEMENT_DEADLETTER, - ReceiveSettleMode, + ReceiveMode, _X_OPT_ENQUEUED_TIME, _X_OPT_SEQUENCE_NUMBER, _X_OPT_ENQUEUE_SEQUENCE_NUMBER, @@ -32,9 +32,9 @@ _X_OPT_DEAD_LETTER_SOURCE, MGMT_RESPONSE_MESSAGE_EXPIRATION, MGMT_REQUEST_DEAD_LETTER_REASON, - MGMT_REQUEST_DEAD_LETTER_DESCRIPTION, + MGMT_REQUEST_DEAD_LETTER_ERROR_DESCRIPTION, RECEIVER_LINK_DEAD_LETTER_REASON, - RECEIVER_LINK_DEAD_LETTER_DESCRIPTION, + RECEIVER_LINK_DEAD_LETTER_ERROR_DESCRIPTION, MESSAGE_COMPLETE, MESSAGE_DEAD_LETTER, MESSAGE_ABANDON, @@ -577,7 +577,7 @@ def add(self, message): self._messages.append(message) -class PeekMessage(Message): +class PeekedMessage(Message): """A preview message. This message is still on the queue, and unlocked. @@ -587,7 +587,7 @@ class PeekMessage(Message): def __init__(self, message): # type: (uamqp.message.Message) -> None - super(PeekMessage, self).__init__(None, message=message) # type: ignore + super(PeekedMessage, self).__init__(None, message=message) # type: ignore def _to_outgoing_message(self): # type: () -> Message @@ -736,7 +736,7 @@ def sequence_number(self): return None -class ReceivedMessageBase(PeekMessage): +class ReceivedMessageBase(PeekedMessage): """ A Service Bus Message received from service side. @@ -753,10 +753,10 @@ class ReceivedMessageBase(PeekMessage): :caption: Checking the properties on a received message. """ - def __init__(self, message, mode=ReceiveSettleMode.PeekLock, **kwargs): - # type: (uamqp.message.Message, ReceiveSettleMode, Any) -> None + def __init__(self, message, receive_mode=ReceiveMode.PeekLock, **kwargs): + # type: (uamqp.message.Message, ReceiveMode, Any) -> None super(ReceivedMessageBase, self).__init__(message=message) - self._settled = (mode == ReceiveSettleMode.ReceiveAndDelete) + self._settled = (receive_mode == ReceiveMode.ReceiveAndDelete) self._received_timestamp_utc = utc_now() self._is_deferred_message = kwargs.get("is_deferred_message", False) self.auto_renew_error = None # type: Optional[Exception] @@ -765,7 +765,7 @@ def __init__(self, message, mode=ReceiveSettleMode.PeekLock, **kwargs): except KeyError: raise TypeError("ReceivedMessage requires a receiver to be initialized. This class should never be" + \ "initialized by a user; the Message class should be utilized instead.") - self._expiry = None + self._expiry = None # type: Optional[datetime.datetime] def _check_live(self, action): # pylint: disable=no-member @@ -784,7 +784,7 @@ def _check_live(self, action): except AttributeError: pass - def _settle_via_mgmt_link(self, settle_operation, dead_letter_reason=None, dead_letter_description=None): + def _settle_via_mgmt_link(self, settle_operation, dead_letter_reason=None, dead_letter_error_description=None): # type: (str, Optional[str], Optional[str]) -> Callable # pylint: disable=protected-access @@ -807,7 +807,7 @@ def _settle_via_mgmt_link(self, settle_operation, dead_letter_reason=None, dead_ [self.lock_token], dead_letter_details={ MGMT_REQUEST_DEAD_LETTER_REASON: dead_letter_reason or "", - MGMT_REQUEST_DEAD_LETTER_DESCRIPTION: dead_letter_description or "" + MGMT_REQUEST_DEAD_LETTER_ERROR_DESCRIPTION: dead_letter_error_description or "" } ) if settle_operation == MESSAGE_DEFER: @@ -818,7 +818,7 @@ def _settle_via_mgmt_link(self, settle_operation, dead_letter_reason=None, dead_ ) raise ValueError("Unsupported settle operation type: {}".format(settle_operation)) - def _settle_via_receiver_link(self, settle_operation, dead_letter_reason=None, dead_letter_description=None): + def _settle_via_receiver_link(self, settle_operation, dead_letter_reason=None, dead_letter_error_description=None): # type: (str, Optional[str], Optional[str]) -> Callable if settle_operation == MESSAGE_COMPLETE: return functools.partial(self.message.accept) @@ -828,10 +828,10 @@ def _settle_via_receiver_link(self, settle_operation, dead_letter_reason=None, d return functools.partial( self.message.reject, condition=DEADLETTERNAME, - description=dead_letter_description, + description=dead_letter_error_description, info={ RECEIVER_LINK_DEAD_LETTER_REASON: dead_letter_reason, - RECEIVER_LINK_DEAD_LETTER_DESCRIPTION: dead_letter_description + RECEIVER_LINK_DEAD_LETTER_ERROR_DESCRIPTION: dead_letter_error_description } ) if settle_operation == MESSAGE_DEFER: @@ -905,7 +905,7 @@ def _settle_message( self, settle_operation, dead_letter_reason=None, - dead_letter_description=None, + dead_letter_error_description=None, ): # type: (str, Optional[str], Optional[str]) -> None try: @@ -913,7 +913,7 @@ def _settle_message( try: self._settle_via_receiver_link(settle_operation, dead_letter_reason=dead_letter_reason, - dead_letter_description=dead_letter_description)() + dead_letter_error_description=dead_letter_error_description)() return except RuntimeError as exception: _LOGGER.info( @@ -924,7 +924,7 @@ def _settle_message( ) self._settle_via_mgmt_link(settle_operation, dead_letter_reason=dead_letter_reason, - dead_letter_description=dead_letter_description)() + dead_letter_error_description=dead_letter_error_description)() except Exception as e: raise MessageSettleFailed(settle_operation, e) @@ -955,7 +955,7 @@ def complete(self): self._settle_message(MESSAGE_COMPLETE) self._settled = True - def dead_letter(self, reason=None, description=None): + def dead_letter(self, reason=None, error_description=None): # type: (Optional[str], Optional[str]) -> None """Move the message to the Dead Letter queue. @@ -964,7 +964,7 @@ def dead_letter(self, reason=None, description=None): or processing. The queue can also be configured to send expired messages to the Dead Letter queue. :param str reason: The reason for dead-lettering the message. - :param str description: The detailed description for dead-lettering the message. + :param str error_description: The detailed error description for dead-lettering the message. :rtype: None :raises: ~azure.servicebus.exceptions.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.exceptions.MessageLockExpired if message lock has already expired. @@ -983,7 +983,9 @@ def dead_letter(self, reason=None, description=None): """ # pylint: disable=protected-access self._check_live(MESSAGE_DEAD_LETTER) - self._settle_message(MESSAGE_DEAD_LETTER, dead_letter_reason=reason, dead_letter_description=description) + self._settle_message(MESSAGE_DEAD_LETTER, + dead_letter_reason=reason, + dead_letter_error_description=error_description) self._settled = True def abandon(self): @@ -1041,7 +1043,7 @@ def defer(self): self._settled = True def renew_lock(self): - # type: () -> None + # type: () -> datetime.datetime # pylint: disable=protected-access,no-member """Renew the message lock. @@ -1057,7 +1059,8 @@ def renew_lock(self): Lock renewal can be performed as a background task by registering the message with an `azure.servicebus.AutoLockRenew` instance. - :rtype: None + :returns: The utc datetime the lock is set to expire at. + :rtype: datetime.datetime :raises: TypeError if the message is sessionful. :raises: ~azure.servicebus.exceptions.MessageLockExpired is message lock has already expired. :raises: ~azure.servicebus.exceptions.MessageAlreadySettled is message has already been settled. @@ -1073,7 +1076,9 @@ def renew_lock(self): raise ValueError("Unable to renew lock - no lock token found.") expiry = self._receiver._renew_locks(token) # type: ignore - self._expiry = utc_from_timestamp(expiry[MGMT_RESPONSE_MESSAGE_EXPIRATION][0]/1000.0) + self._expiry = utc_from_timestamp(expiry[MGMT_RESPONSE_MESSAGE_EXPIRATION][0]/1000.0) # type: datetime.datetime + + return self._expiry class AMQPMessage(object): diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/mgmt_handlers.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/mgmt_handlers.py index c2cfa70a5e5a..7e114ccd4845 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/mgmt_handlers.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/mgmt_handlers.py @@ -6,9 +6,9 @@ import uamqp -from .message import PeekMessage, ReceivedMessage +from .message import PeekedMessage, ReceivedMessage from ..exceptions import ServiceBusError, MessageLockExpired -from .constants import ReceiveSettleMode +from .constants import ReceiveMode def default(status_code, message, description): @@ -34,7 +34,7 @@ def peek_op(status_code, message, description): parsed = [] for m in message.get_data()[b'messages']: wrapped = uamqp.Message.decode_from_bytes(bytearray(m[b'message'])) - parsed.append(PeekMessage(wrapped)) + parsed.append(PeekedMessage(wrapped)) return parsed if status_code in [202, 204]: return [] @@ -63,14 +63,14 @@ def deferred_message_op( message, description, receiver, - mode=ReceiveSettleMode.PeekLock, + receive_mode=ReceiveMode.PeekLock, message_type=ReceivedMessage ): if status_code == 200: parsed = [] for m in message.get_data()[b'messages']: wrapped = uamqp.Message.decode_from_bytes(bytearray(m[b'message'])) - parsed.append(message_type(wrapped, mode, is_deferred_message=True, receiver=receiver)) + parsed.append(message_type(wrapped, receive_mode, is_deferred_message=True, receiver=receiver)) return parsed if status_code in [202, 204]: return [] diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/receiver_mixins.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/receiver_mixins.py index 2a767e4795a6..5987bf449b3b 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/receiver_mixins.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/receiver_mixins.py @@ -12,7 +12,7 @@ SESSION_LOCKED_UNTIL, DATETIMEOFFSET_EPOCH, MGMT_REQUEST_SESSION_ID, - ReceiveSettleMode + ReceiveMode ) from ..exceptions import ( _ServiceBusErrorPolicy, @@ -32,7 +32,7 @@ def _populate_attributes(self, **kwargs): self._auth_uri = "sb://{}/{}".format(self.fully_qualified_namespace, self.entity_path) self._entity_uri = "amqps://{}/{}".format(self.fully_qualified_namespace, self.entity_path) - self._mode = kwargs.get("mode", ReceiveSettleMode.PeekLock) + self._receive_mode = kwargs.get("receive_mode", ReceiveMode.PeekLock) self._error_policy = _ServiceBusErrorPolicy( max_retries=self._config.retry_total ) @@ -40,18 +40,18 @@ def _populate_attributes(self, **kwargs): self._last_received_sequenced_number = None self._message_iter = None self._connection = kwargs.get("connection") - prefetch = kwargs.get("prefetch", 0) - if int(prefetch) < 0 or int(prefetch) > 50000: - raise ValueError("Prefetch must be an integer between 0 and 50000 inclusive.") - self._prefetch = prefetch + 1 + prefetch_count = kwargs.get("prefetch_count", 0) + if int(prefetch_count) < 0 or int(prefetch_count) > 50000: + raise ValueError("prefetch_count must be an integer between 0 and 50000 inclusive.") + self._prefetch_count = prefetch_count + 1 # The relationship between the amount can be received and the time interval is linear: amount ~= perf * interval - # In large max_batch_size case, like 5000, the pull receive would always return hundreds of messages limited by - # the perf and time. + # In large max_message_count case, like 5000, the pull receive would always return hundreds of messages limited + # by the perf and time. self._further_pull_receive_timeout_ms = 200 self._max_wait_time = kwargs.get("max_wait_time", None) def _build_message(self, received, message_type=ReceivedMessage): - message = message_type(message=received, mode=self._mode, receiver=self) + message = message_type(message=received, receive_mode=self._receive_mode, receiver=self) self._last_received_sequenced_number = message.sequence_number return message diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_client.py index 0f90b3f15aea..7e9d727ada70 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_client.py @@ -35,8 +35,6 @@ class ServiceBusClient(object): implements a particular interface for getting tokens. It accepts :class:`ServiceBusSharedKeyCredential`, or credential objects generated by the azure-identity library and objects that implement the `get_token(self, *scopes)` method. - :keyword str entity_name: Optional entity name, this can be the name of Queue or Topic. - It must be specified if the credential is for specific Queue or Topic. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. @@ -45,6 +43,11 @@ class ServiceBusClient(object): keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. + :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. + Default value is 3. + :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. + Default value is 0.8. + :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. .. admonition:: Example: @@ -67,6 +70,7 @@ def __init__( self._credential = credential self._config = Configuration(**kwargs) self._connection = None + # Optional entity name, can be the name of Queue or Topic. Intentionally not advertised, typically be needed. self._entity_name = kwargs.get("entity_name") self._auth_uri = "sb://{}".format(self.fully_qualified_namespace) if self._entity_name: @@ -124,8 +128,6 @@ def from_connection_string( Create a ServiceBusClient from a connection string. :param str conn_str: The connection string of a Service Bus. - :keyword str entity_name: Optional entity name, this can be the name of Queue or Topic. - It must be specified if the credential is for specific Queue or Topic. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. @@ -134,6 +136,11 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. + :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. + Default value is 3. + :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. + Default value is 0.8. + :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. :rtype: ~azure.servicebus.ServiceBusClient .. admonition:: Example: @@ -159,8 +166,6 @@ def get_queue_sender(self, queue_name, **kwargs): """Get ServiceBusSender for the specific queue. :param str queue_name: The path of specific Service Bus Queue the client connects to. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :rtype: ~azure.servicebus.ServiceBusSender .. admonition:: Example: @@ -183,6 +188,9 @@ def get_queue_sender(self, queue_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -196,23 +204,21 @@ def get_queue_receiver(self, queue_name, **kwargs): :keyword Optional[SubQueue] sub_queue: If specified, the subqueue this receiver will connect to. This includes the DeadLetter and TransferDeadLetter queues, holds messages that can't be delivered to any receiver or messages that can't be processed. The default is None, meaning connect to the primary queue. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The receive_mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently rejected or re-received if - the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + the client fails to process the message. The default receive_mode is PeekLock. + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusReceiver .. admonition:: Example: @@ -242,6 +248,9 @@ def get_queue_receiver(self, queue_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -252,11 +261,6 @@ def get_topic_sender(self, topic_name, **kwargs): """Get ServiceBusSender for the specific topic. :param str topic_name: The path of specific Service Bus Topic the client connects to. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. :rtype: ~azure.servicebus.ServiceBusSender .. admonition:: Example: @@ -278,6 +282,9 @@ def get_topic_sender(self, topic_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -293,26 +300,21 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): :keyword Optional[SubQueue] sub_queue: If specified, the subqueue this receiver will connect to. This includes the DeadLetter and TransferDeadLetter queues, holds messages that can't be delivered to any receiver or messages that can't be processed. The default is None, meaning connect to the primary queue. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The receive_mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the subscription. Messages received with ReceiveAndDelete will be immediately removed from the subscription, and cannot be subsequently rejected or re-received if - the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + the client fails to process the message. The default receive_mode is PeekLock. + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusReceiver .. admonition:: Example: @@ -343,6 +345,9 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) else: @@ -356,6 +361,9 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -371,26 +379,21 @@ def get_subscription_session_receiver(self, topic_name, subscription_name, sessi :param str session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The receive_mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the subscription. Messages received with ReceiveAndDelete will be immediately removed from the subscription, and cannot be subsequently rejected or re-received if - the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + the client fails to process the message. The default receive_mode is PeekLock. + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusSessionReceiver .. admonition:: Example: @@ -416,6 +419,9 @@ def get_subscription_session_receiver(self, topic_name, subscription_name, sessi connection=self._connection, session_id=session_id, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -429,23 +435,22 @@ def get_queue_session_receiver(self, queue_name, session_id=None, **kwargs): :param str session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The receive_mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently rejected or re-received if - the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + the client fails to process the message. The default receive_mode is PeekLock. + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. Default value is 3. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusSessionReceiver .. admonition:: Example: @@ -470,6 +475,9 @@ def get_queue_session_receiver(self, queue_name, session_id=None, **kwargs): transport_type=self._config.transport_type, http_proxy=self._config.http_proxy, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_receiver.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_receiver.py index 883a291581c3..aefd25af3fe5 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_receiver.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_receiver.py @@ -5,7 +5,9 @@ import time import logging import functools -from typing import Any, List, TYPE_CHECKING, Optional, Dict, Iterator +from typing import Any, List, TYPE_CHECKING, Optional, Dict, Iterator, Union + +import six from uamqp import ReceiveClient, types, Message from uamqp.constants import SenderSettleMode @@ -13,19 +15,19 @@ from ._base_handler import BaseHandler, ServiceBusSharedKeyCredential, _convert_connection_string_to_kwargs from ._common.utils import create_authentication -from ._common.message import PeekMessage, ReceivedMessage +from ._common.message import PeekedMessage, ReceivedMessage from ._common.constants import ( REQUEST_RESPONSE_RECEIVE_BY_SEQUENCE_NUMBER, REQUEST_RESPONSE_UPDATE_DISPOSTION_OPERATION, REQUEST_RESPONSE_RENEWLOCK_OPERATION, REQUEST_RESPONSE_PEEK_OPERATION, - ReceiveSettleMode, + ReceiveMode, MGMT_REQUEST_DISPOSITION_STATUS, MGMT_REQUEST_LOCK_TOKENS, MGMT_REQUEST_SEQUENCE_NUMBERS, MGMT_REQUEST_RECEIVER_SETTLE_MODE, MGMT_REQUEST_FROM_SEQUENCE_NUMBER, - MGMT_REQUEST_MESSAGE_COUNT + MGMT_REQUEST_MAX_MESSAGE_COUNT ) from ._common import mgmt_handlers @@ -63,16 +65,14 @@ class ServiceBusReceiver(BaseHandler, ReceiverMixin): # pylint: disable=too-man specified Topic the client connects to. :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -80,13 +80,13 @@ class ServiceBusReceiver(BaseHandler, ReceiverMixin): # pylint: disable=too-man keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. .. admonition:: Example: @@ -184,10 +184,10 @@ def _create_handler(self, auth): on_attach=self._on_attach, auto_complete=False, encoding=self._config.encoding, - receive_settle_mode=self._mode.value, - send_settle_mode=SenderSettleMode.Settled if self._mode == ReceiveSettleMode.ReceiveAndDelete else None, + receive_settle_mode=self._receive_mode.value, + send_settle_mode=SenderSettleMode.Settled if self._receive_mode == ReceiveMode.ReceiveAndDelete else None, timeout=self._max_wait_time * 1000 if self._max_wait_time else 0, - prefetch=self._prefetch, + prefetch=self._prefetch_count, keep_alive_interval=self._config.keep_alive, shutdown_after_timeout=False ) @@ -215,33 +215,33 @@ def close(self): super(ServiceBusReceiver, self).close() self._message_iter = None # pylint: disable=attribute-defined-outside-init - def _receive(self, max_batch_size=None, timeout=None): + def _receive(self, max_message_count=None, timeout=None): # type: (Optional[int], Optional[float]) -> List[ReceivedMessage] # pylint: disable=protected-access self._open() amqp_receive_client = self._handler received_messages_queue = amqp_receive_client._received_messages - max_batch_size = max_batch_size or self._prefetch + max_message_count = max_message_count or self._prefetch_count timeout_ms = 1000 * (timeout or self._max_wait_time) if (timeout or self._max_wait_time) else 0 abs_timeout_ms = amqp_receive_client._counter.get_current_ms() + timeout_ms if timeout_ms else 0 batch = [] # type: List[Message] - while not received_messages_queue.empty() and len(batch) < max_batch_size: + while not received_messages_queue.empty() and len(batch) < max_message_count: batch.append(received_messages_queue.get()) received_messages_queue.task_done() - if len(batch) >= max_batch_size: + if len(batch) >= max_message_count: return [self._build_message(message) for message in batch] - # Dynamically issue link credit if max_batch_size > 1 when the prefetch is the default value 1 - if max_batch_size and self._prefetch == 1 and max_batch_size > 1: - link_credit_needed = max_batch_size - len(batch) + # Dynamically issue link credit if max_message_count > 1 when the prefetch_count is the default value 1 + if max_message_count and self._prefetch_count == 1 and max_message_count > 1: + link_credit_needed = max_message_count - len(batch) amqp_receive_client.message_handler.reset_link_credit(link_credit_needed) first_message_received = expired = False receiving = True - while receiving and not expired and len(batch) < max_batch_size: - while receiving and received_messages_queue.qsize() < max_batch_size: + while receiving and not expired and len(batch) < max_message_count: + while receiving and received_messages_queue.qsize() < max_message_count: if abs_timeout_ms and amqp_receive_client._counter.get_current_ms() > abs_timeout_ms: expired = True break @@ -253,7 +253,7 @@ def _receive(self, max_batch_size=None, timeout=None): first_message_received = True abs_timeout_ms = amqp_receive_client._counter.get_current_ms() + \ self._further_pull_receive_timeout_ms - while not received_messages_queue.empty() and len(batch) < max_batch_size: + while not received_messages_queue.empty() and len(batch) < max_message_count: batch.append(received_messages_queue.get()) received_messages_queue.task_done() @@ -324,18 +324,16 @@ def from_connection_string( the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -343,13 +341,13 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusReceiver :raises ~azure.servicebus.ServiceBusAuthenticationError: Indicates an issue in token/identity validity. @@ -377,7 +375,7 @@ def from_connection_string( raise ValueError("Subscription name is missing for the topic. Please specify subscription_name.") return cls(**constructor_args) - def receive_messages(self, max_batch_size=None, max_wait_time=None): + def receive_messages(self, max_message_count=None, max_wait_time=None): # type: (int, float) -> List[ReceivedMessage] """Receive a batch of messages at once. @@ -385,15 +383,15 @@ def receive_messages(self, max_batch_size=None, max_wait_time=None): perform an ad-hoc receive as a single call. Note that the number of messages retrieved in a single batch will be dependent on - whether `prefetch` was set for the receiver. If `prefetch` is not set for the receiver, the receiver would - try to cache max_batch_size (if provided) messages within the request to the service. + whether `prefetch_count` was set for the receiver. If `prefetch_count` is not set for the receiver, + the receiver would try to cache max_message_count (if provided) messages within the request to the service. This call will prioritize returning quickly over meeting a specified batch size, and so will return as soon as at least one message is received and there is a gap in incoming messages regardless of the specified batch size. - :param int max_batch_size: Maximum number of messages in the batch. Actual number - returned will depend on prefetch size and incoming stream rate. + :param int max_message_count: Maximum number of messages in the batch. Actual number + returned will depend on prefetch_count and incoming stream rate. :param float max_wait_time: Maximum time to wait in seconds for the first message to arrive. If no messages arrive, and no timeout is specified, this call will not return until the connection is closed. If specified, an no messages arrive within the @@ -414,19 +412,19 @@ def receive_messages(self, max_batch_size=None, max_wait_time=None): self._check_live() return self._do_retryable_operation( self._receive, - max_batch_size=max_batch_size, + max_message_count=max_message_count, timeout=max_wait_time, require_timeout=True ) def receive_deferred_messages(self, sequence_numbers): - # type: (List[int]) -> List[ReceivedMessage] + # type: (Union[int,List[int]]) -> List[ReceivedMessage] """Receive messages that have previously been deferred. When receiving deferred messages from a partitioned entity, all of the supplied sequence numbers must be messages from the same partition. - :param List[int] sequence_numbers: A list of the sequence numbers of messages that have been + :param Union[int,List[int]] sequence_numbers: A list of the sequence numbers of messages that have been deferred. :rtype: List[~azure.servicebus.ReceivedMessage] @@ -441,13 +439,15 @@ def receive_deferred_messages(self, sequence_numbers): """ self._check_live() + if isinstance(sequence_numbers, six.integer_types): + sequence_numbers = [sequence_numbers] if not sequence_numbers: raise ValueError("At least one sequence number must be specified.") self._open() try: - receive_mode = self._mode.value.value + receive_mode = self._receive_mode.value.value except AttributeError: - receive_mode = int(self._mode) + receive_mode = int(self._receive_mode) message = { MGMT_REQUEST_SEQUENCE_NUMBERS: types.AMQPArray([types.AMQPLong(s) for s in sequence_numbers]), MGMT_REQUEST_RECEIVER_SETTLE_MODE: types.AMQPuInt(receive_mode) @@ -455,7 +455,7 @@ def receive_deferred_messages(self, sequence_numbers): self._populate_message_properties(message) - handler = functools.partial(mgmt_handlers.deferred_message_op, mode=self._mode, receiver=self) + handler = functools.partial(mgmt_handlers.deferred_message_op, receive_mode=self._receive_mode, receiver=self) messages = self._mgmt_request_response_with_retry( REQUEST_RESPONSE_RECEIVE_BY_SEQUENCE_NUMBER, message, @@ -463,18 +463,18 @@ def receive_deferred_messages(self, sequence_numbers): ) return messages - def peek_messages(self, message_count=1, sequence_number=None): - # type: (int, Optional[int]) -> List[PeekMessage] + def peek_messages(self, max_message_count=1, sequence_number=None): + # type: (int, Optional[int]) -> List[PeekedMessage] """Browse messages currently pending in the queue. Peeked messages are not removed from queue, nor are they locked. They cannot be completed, deferred or dead-lettered. - :param int message_count: The maximum number of messages to try and peek. The default + :param int max_message_count: The maximum number of messages to try and peek. The default value is 1. :param int sequence_number: A message sequence number from which to start browsing messages. - :rtype: List[~azure.servicebus.PeekMessage] + :rtype: List[~azure.servicebus.PeekedMessage] .. admonition:: Example: @@ -489,7 +489,7 @@ def peek_messages(self, message_count=1, sequence_number=None): self._check_live() if not sequence_number: sequence_number = self._last_received_sequenced_number or 1 - if int(message_count) < 1: + if int(max_message_count) < 1: raise ValueError("count must be 1 or greater.") if int(sequence_number) < 1: raise ValueError("start_from must be 1 or greater.") @@ -497,7 +497,7 @@ def peek_messages(self, message_count=1, sequence_number=None): self._open() message = { MGMT_REQUEST_FROM_SEQUENCE_NUMBER: types.AMQPLong(sequence_number), - MGMT_REQUEST_MESSAGE_COUNT: message_count + MGMT_REQUEST_MAX_MESSAGE_COUNT: max_message_count } self._populate_message_properties(message) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_sender.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_sender.py index a1c20ba6f942..f2e099d712c1 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_sender.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_sender.py @@ -102,8 +102,6 @@ class ServiceBusSender(BaseHandler, SenderMixin): :keyword str queue_name: The path of specific Service Bus Queue the client connects to. :keyword str topic_name: The path of specific Service Bus Topic the client connects to. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -272,8 +270,6 @@ def from_connection_string( :keyword str topic_name: The path of specific Service Bus Topic the client connects to. Only one of queue_name or topic_name can be provided. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session.py index 1e991efcb85b..76a1e0948062 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- import logging +import datetime from typing import TYPE_CHECKING, Union, Optional import six @@ -20,7 +21,6 @@ from ._common import mgmt_handlers if TYPE_CHECKING: - import datetime from ._servicebus_session_receiver import ServiceBusSessionReceiver from .aio._servicebus_session_receiver_async import ServiceBusSessionReceiver as ServiceBusSessionReceiverAsync @@ -30,7 +30,7 @@ class BaseSession(object): def __init__(self, session_id, receiver, encoding="UTF-8"): # type: (str, Union[ServiceBusSessionReceiver, ServiceBusSessionReceiverAsync], str) -> None - self._session_id = session_id + self._id = session_id self._receiver = receiver self._encoding = encoding self._session_start = None @@ -58,7 +58,7 @@ def session_id(self): :rtype: str """ - return self._session_id + return self._id @property def locked_until_utc(self): @@ -90,7 +90,7 @@ class ServiceBusSession(BaseSession): :caption: Get session from a receiver """ - def get_session_state(self): + def get_state(self): # type: () -> str """Get the session state. @@ -110,20 +110,20 @@ def get_session_state(self): self._check_live() response = self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_GET_SESSION_STATE_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id}, + {MGMT_REQUEST_SESSION_ID: self._id}, mgmt_handlers.default ) session_state = response.get(MGMT_RESPONSE_SESSION_STATE) if isinstance(session_state, six.binary_type): - session_state = session_state.decode('UTF-8') + session_state = session_state.decode(self._encoding) return session_state - def set_session_state(self, state): + def set_state(self, state): # type: (Union[str, bytes, bytearray]) -> None """Set the session state. :param state: The state value. - :type state: str, bytes or bytearray + :type state: Union[str, bytes, bytearray] .. admonition:: Example: @@ -138,12 +138,12 @@ def set_session_state(self, state): state = state.encode(self._encoding) if isinstance(state, six.text_type) else state return self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_SET_SESSION_STATE_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id, MGMT_REQUEST_SESSION_STATE: bytearray(state)}, + {MGMT_REQUEST_SESSION_ID: self._id, MGMT_REQUEST_SESSION_STATE: bytearray(state)}, mgmt_handlers.default ) def renew_lock(self): - # type: () -> None + # type: () -> datetime.datetime """Renew the session lock. This operation must be performed periodically in order to retain a lock on the @@ -154,6 +154,9 @@ def renew_lock(self): This operation can also be performed as a threaded background task by registering the session with an `azure.servicebus.AutoLockRenew` instance. + :returns: The utc datetime the lock is set to expire at. + :rtype: datetime.datetime + .. admonition:: Example: .. literalinclude:: ../samples/sync_samples/sample_code_servicebus.py @@ -166,7 +169,10 @@ def renew_lock(self): self._check_live() expiry = self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_RENEW_SESSION_LOCK_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id}, + {MGMT_REQUEST_SESSION_ID: self._id}, mgmt_handlers.default ) - self._locked_until_utc = utc_from_timestamp(expiry[MGMT_RESPONSE_RECEIVER_EXPIRATION]/1000.0) + expiry_timestamp = expiry[MGMT_RESPONSE_RECEIVER_EXPIRATION]/1000.0 + self._locked_until_utc = utc_from_timestamp(expiry_timestamp) # type: datetime.datetime + + return self._locked_until_utc diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session_receiver.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session_receiver.py index c6a6bcc33d35..0393b487c098 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session_receiver.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session_receiver.py @@ -42,20 +42,18 @@ class ServiceBusSessionReceiver(ServiceBusReceiver, SessionReceiverMixin): specified Topic the client connects to. :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. :paramtype session_id: str :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -63,13 +61,13 @@ class ServiceBusSessionReceiver(ServiceBusReceiver, SessionReceiverMixin): keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. .. admonition:: Example: @@ -122,13 +120,13 @@ def from_connection_string( the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. @@ -136,8 +134,6 @@ def from_connection_string( :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -145,13 +141,13 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.ServiceBusSessionReceiver :raises ~azure.servicebus.ServiceBusAuthenticationError: Indicates an issue in token/identity validity. diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_async_message.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_async_message.py index 2e6a66e5559a..b5a25f44cf4d 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_async_message.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_async_message.py @@ -4,6 +4,7 @@ # license information. # ------------------------------------------------------------------------- import logging +import datetime from typing import Optional from .._common import message as sync_message @@ -30,7 +31,7 @@ async def _settle_message( # type: ignore self, settle_operation, dead_letter_reason=None, - dead_letter_description=None, + dead_letter_error_description=None, ): try: if not self._is_deferred_message: @@ -40,7 +41,7 @@ async def _settle_message( # type: ignore self._settle_via_receiver_link( settle_operation, dead_letter_reason=dead_letter_reason, - dead_letter_description=dead_letter_description + dead_letter_error_description=dead_letter_error_description ) ) return @@ -53,7 +54,7 @@ async def _settle_message( # type: ignore ) await self._settle_via_mgmt_link(settle_operation, dead_letter_reason=dead_letter_reason, - dead_letter_description=dead_letter_description)() + dead_letter_error_description=dead_letter_error_description)() except Exception as e: raise MessageSettleFailed(settle_operation, e) @@ -74,7 +75,8 @@ async def complete(self) -> None: # type: ignore self._settled = True async def dead_letter( # type: ignore - self, reason: Optional[str] = None, description: Optional[str] = None + self, reason: Optional[str] = None, + error_description: Optional[str] = None ) -> None: # pylint: disable=unused-argument """Move the message to the Dead Letter queue. @@ -83,7 +85,7 @@ async def dead_letter( # type: ignore or processing. The queue can also be configured to send expired messages to the Dead Letter queue. :param str reason: The reason for dead-lettering the message. - :param str description: The detailed description for dead-lettering the message. + :param str error_description: The detailed error description for dead-lettering the message. :rtype: None :raises: ~azure.servicebus.exceptions.MessageAlreadySettled if the message has been settled. :raises: ~azure.servicebus.exceptions.MessageLockExpired if message lock has already expired. @@ -91,7 +93,9 @@ async def dead_letter( # type: ignore """ # pylint: disable=protected-access self._check_live(MESSAGE_DEAD_LETTER) - await self._settle_message(MESSAGE_DEAD_LETTER, dead_letter_reason=reason, dead_letter_description=description) + await self._settle_message(MESSAGE_DEAD_LETTER, + dead_letter_reason=reason, + dead_letter_error_description=error_description) self._settled = True async def abandon(self) -> None: # type: ignore @@ -125,7 +129,7 @@ async def defer(self) -> None: # type: ignore await self._settle_message(MESSAGE_DEFER) self._settled = True - async def renew_lock(self) -> None: + async def renew_lock(self) -> datetime.datetime: # pylint: disable=protected-access """Renew the message lock. @@ -136,7 +140,8 @@ async def renew_lock(self) -> None: background task by registering the message with an `azure.servicebus.aio.AutoLockRenew` instance. This operation is only available for non-sessionful messages. - :rtype: None + :returns: The utc datetime the lock is set to expire at. + :rtype: datetime.datetime :raises: TypeError if the message is sessionful. :raises: ~azure.servicebus.exceptions.MessageLockExpired is message lock has already expired. :raises: ~azure.servicebus.exceptions.SessionLockExpired if session lock has already expired. @@ -153,4 +158,6 @@ async def renew_lock(self) -> None: raise ValueError("Unable to renew lock - no lock token found.") expiry = await self._receiver._renew_locks(token) # type: ignore - self._expiry = utc_from_timestamp(expiry[MGMT_RESPONSE_MESSAGE_EXPIRATION][0]/1000.0) + self._expiry = utc_from_timestamp(expiry[MGMT_RESPONSE_MESSAGE_EXPIRATION][0]/1000.0) # type: datetime.datetime + + return self._expiry diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_client_async.py index 33fa2775c52c..dc291e08f91a 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_client_async.py @@ -37,8 +37,6 @@ class ServiceBusClient(object): implements a particular interface for getting tokens. It accepts :class:`ServiceBusSharedKeyCredential`, or credential objects generated by the azure-identity library and objects that implement the `get_token(self, *scopes)` method. - :keyword str entity_name: Optional entity name, this can be the name of Queue or Topic. - It must be specified if the credential is for specific Queue or Topic. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. @@ -47,6 +45,11 @@ class ServiceBusClient(object): keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. + :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. + Default value is 3. + :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. + Default value is 0.8. + :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. .. admonition:: Example: @@ -69,6 +72,7 @@ def __init__( self._credential = credential self._config = Configuration(**kwargs) self._connection = None + # Optional entity name, can be the name of Queue or Topic. Intentionally not advertised, typically be needed. self._entity_name = kwargs.get("entity_name") self._auth_uri = "sb://{}".format(self.fully_qualified_namespace) if self._entity_name: @@ -104,8 +108,6 @@ def from_connection_string( Create a ServiceBusClient from a connection string. :param str conn_str: The connection string of a Service Bus. - :keyword str entity_name: Optional entity name, this can be the name of Queue or Topic. - It must be specified if the credential is for specific Queue or Topic. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. @@ -114,6 +116,11 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. + :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. + Default value is 3. + :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. + Default value is 0.8. + :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. :rtype: ~azure.servicebus.aio.ServiceBusClient .. admonition:: Example: @@ -161,8 +168,6 @@ def get_queue_sender(self, queue_name, **kwargs): """Get ServiceBusSender for the specific queue. :param str queue_name: The path of specific Service Bus Queue the client connects to. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :rtype: ~azure.servicebus.aio.ServiceBusSender .. admonition:: Example: @@ -185,6 +190,9 @@ def get_queue_sender(self, queue_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -198,23 +206,21 @@ def get_queue_receiver(self, queue_name, **kwargs): :keyword Optional[SubQueue] sub_queue: If specified, the subqueue this receiver will connect to. This includes the DeadLetter and TransferDeadLetter queues, holds messages that can't be delivered to any receiver or messages that can't be processed. The default is None, meaning connect to the primary queue. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently rejected or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusReceiver .. admonition:: Example: @@ -243,6 +249,9 @@ def get_queue_receiver(self, queue_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -253,11 +262,6 @@ def get_topic_sender(self, topic_name, **kwargs): """Get ServiceBusSender for the specific topic. :param str topic_name: The path of specific Service Bus Topic the client connects to. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. :rtype: ~azure.servicebus.aio.ServiceBusSender .. admonition:: Example: @@ -279,6 +283,9 @@ def get_topic_sender(self, topic_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -294,26 +301,21 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): :keyword Optional[SubQueue] sub_queue: If specified, the subqueue this receiver will connect to. This includes the DeadLetter and TransferDeadLetter queues, holds messages that can't be delivered to any receiver or messages that can't be processed. The default is None, meaning connect to the primary queue. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the subscription. Messages received with ReceiveAndDelete will be immediately removed from the subscription, and cannot be subsequently rejected or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusReceiver .. admonition:: Example: @@ -344,6 +346,9 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) else: @@ -357,6 +362,9 @@ def get_subscription_receiver(self, topic_name, subscription_name, **kwargs): http_proxy=self._config.http_proxy, connection=self._connection, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -372,26 +380,21 @@ def get_subscription_session_receiver(self, topic_name, subscription_name, sessi :param str session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the subscription. Messages received with ReceiveAndDelete will be immediately removed from the subscription, and cannot be subsequently rejected or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword float retry_backoff_factor: Delta back-off internal in the unit of second between retries. - Default value is 0.8. - :keyword float retry_backoff_max: Maximum back-off interval in the unit of second. Default value is 120. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusSessionReceiver .. admonition:: Example: @@ -417,6 +420,9 @@ def get_subscription_session_receiver(self, topic_name, subscription_name, sessi connection=self._connection, session_id=session_id, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) @@ -430,23 +436,21 @@ def get_queue_session_receiver(self, queue_name, session_id=None, **kwargs): :param str session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently rejected or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically stop receiving. The default value is 0, meaning no timeout. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusSessionReceiver .. admonition:: Example: @@ -470,6 +474,9 @@ def get_queue_session_receiver(self, queue_name, session_id=None, **kwargs): transport_type=self._config.transport_type, http_proxy=self._config.http_proxy, user_agent=self._config.user_agent, + retry_total=self._config.retry_total, + retry_backoff_factor=self._config.retry_backoff_factor, + retry_backoff_max=self._config.retry_backoff_max, **kwargs ) self._handlers.append(handler) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_receiver_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_receiver_async.py index da6c4b6e72e5..9ca36042b814 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_receiver_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_receiver_async.py @@ -6,7 +6,9 @@ import collections import functools import logging -from typing import Any, TYPE_CHECKING, List, Optional, AsyncIterator +from typing import Any, TYPE_CHECKING, List, Optional, AsyncIterator, Union + +import six from uamqp import ReceiveClientAsync, types, Message from uamqp.constants import SenderSettleMode @@ -20,13 +22,13 @@ REQUEST_RESPONSE_PEEK_OPERATION, REQUEST_RESPONSE_RECEIVE_BY_SEQUENCE_NUMBER, REQUEST_RESPONSE_RENEWLOCK_OPERATION, - ReceiveSettleMode, + ReceiveMode, MGMT_REQUEST_DISPOSITION_STATUS, MGMT_REQUEST_LOCK_TOKENS, MGMT_REQUEST_SEQUENCE_NUMBERS, MGMT_REQUEST_RECEIVER_SETTLE_MODE, MGMT_REQUEST_FROM_SEQUENCE_NUMBER, - MGMT_REQUEST_MESSAGE_COUNT + MGMT_REQUEST_MAX_MESSAGE_COUNT ) from .._common import mgmt_handlers from ._async_utils import create_authentication @@ -61,18 +63,16 @@ class ServiceBusReceiver(collections.abc.AsyncIterator, BaseHandler, ReceiverMix the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -80,13 +80,13 @@ class ServiceBusReceiver(collections.abc.AsyncIterator, BaseHandler, ReceiverMix keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. .. admonition:: Example: @@ -184,10 +184,10 @@ def _create_handler(self, auth): on_attach=self._on_attach, auto_complete=False, encoding=self._config.encoding, - receive_settle_mode=self._mode.value, - send_settle_mode=SenderSettleMode.Settled if self._mode == ReceiveSettleMode.ReceiveAndDelete else None, + receive_settle_mode=self._receive_mode.value, + send_settle_mode=SenderSettleMode.Settled if self._receive_mode == ReceiveMode.ReceiveAndDelete else None, timeout=self._max_wait_time * 1000 if self._max_wait_time else 0, - prefetch=self._prefetch, + prefetch=self._prefetch_count, keep_alive_interval=self._config.keep_alive, shutdown_after_timeout=False ) @@ -216,33 +216,33 @@ async def close(self): self._message_iter = None - async def _receive(self, max_batch_size=None, timeout=None): + async def _receive(self, max_message_count=None, timeout=None): # type: (Optional[int], Optional[float]) -> List[ReceivedMessage] # pylint: disable=protected-access await self._open() amqp_receive_client = self._handler received_messages_queue = amqp_receive_client._received_messages - max_batch_size = max_batch_size or self._prefetch + max_message_count = max_message_count or self._prefetch_count timeout_ms = 1000 * (timeout or self._max_wait_time) if (timeout or self._max_wait_time) else 0 abs_timeout_ms = amqp_receive_client._counter.get_current_ms() + timeout_ms if timeout_ms else 0 batch = [] # type: List[Message] - while not received_messages_queue.empty() and len(batch) < max_batch_size: + while not received_messages_queue.empty() and len(batch) < max_message_count: batch.append(received_messages_queue.get()) received_messages_queue.task_done() - if len(batch) >= max_batch_size: + if len(batch) >= max_message_count: return [self._build_message(message) for message in batch] - # Dynamically issue link credit if max_batch_size > 1 when the prefetch is the default value 1 - if max_batch_size and self._prefetch == 1 and max_batch_size > 1: - link_credit_needed = max_batch_size - len(batch) + # Dynamically issue link credit if max_message_count > 1 when the prefetch_count is the default value 1 + if max_message_count and self._prefetch_count == 1 and max_message_count > 1: + link_credit_needed = max_message_count - len(batch) await amqp_receive_client.message_handler.reset_link_credit_async(link_credit_needed) first_message_received = expired = False receiving = True - while receiving and not expired and len(batch) < max_batch_size: - while receiving and received_messages_queue.qsize() < max_batch_size: + while receiving and not expired and len(batch) < max_message_count: + while receiving and received_messages_queue.qsize() < max_message_count: if abs_timeout_ms and amqp_receive_client._counter.get_current_ms() > abs_timeout_ms: expired = True break @@ -254,7 +254,7 @@ async def _receive(self, max_batch_size=None, timeout=None): first_message_received = True abs_timeout_ms = amqp_receive_client._counter.get_current_ms() + \ self._further_pull_receive_timeout_ms - while not received_messages_queue.empty() and len(batch) < max_batch_size: + while not received_messages_queue.empty() and len(batch) < max_message_count: batch.append(received_messages_queue.get()) received_messages_queue.task_done() @@ -319,18 +319,16 @@ def from_connection_string( the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -338,13 +336,13 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusReceiver :raises ~azure.servicebus.ServiceBusAuthenticationError: Indicates an issue in token/identity validity. @@ -372,7 +370,7 @@ def from_connection_string( raise ValueError("Subscription name is missing for the topic. Please specify subscription_name.") return cls(**constructor_args) - async def receive_messages(self, max_batch_size=None, max_wait_time=None): + async def receive_messages(self, max_message_count=None, max_wait_time=None): # type: (int, float) -> List[ReceivedMessage] """Receive a batch of messages at once. @@ -380,15 +378,15 @@ async def receive_messages(self, max_batch_size=None, max_wait_time=None): perform an ad-hoc receive as a single call. Note that the number of messages retrieved in a single batch will be dependent on - whether `prefetch` was set for the receiver. If `prefetch` is not set for the receiver, the receiver would - try to cache max_batch_size (if provided) messages within the request to the service. + whether `prefetch_count` was set for the receiver. If `prefetch_count` is not set for the receiver, + the receiver would try to cache max_message_count (if provided) messages within the request to the service. This call will prioritize returning quickly over meeting a specified batch size, and so will return as soon as at least one message is received and there is a gap in incoming messages regardless of the specified batch size. - :param int max_batch_size: Maximum number of messages in the batch. Actual number - returned will depend on prefetch size and incoming stream rate. + :param int max_message_count: Maximum number of messages in the batch. Actual number + returned will depend on prefetch_count size and incoming stream rate. :param float max_wait_time: Maximum time to wait in seconds for the first message to arrive. If no messages arrive, and no timeout is specified, this call will not return until the connection is closed. If specified, and no messages arrive within the @@ -408,19 +406,19 @@ async def receive_messages(self, max_batch_size=None, max_wait_time=None): self._check_live() return await self._do_retryable_operation( self._receive, - max_batch_size=max_batch_size, + max_message_count=max_message_count, timeout=max_wait_time, require_timeout=True ) async def receive_deferred_messages(self, sequence_numbers): - # type: (List[int]) -> List[ReceivedMessage] + # type: (Union[int, List[int]]) -> List[ReceivedMessage] """Receive messages that have previously been deferred. When receiving deferred messages from a partitioned entity, all of the supplied sequence numbers must be messages from the same partition. - :param list[int] sequence_numbers: A list of the sequence numbers of messages that have been + :param Union[int, list[int]] sequence_numbers: A list of the sequence numbers of messages that have been deferred. :rtype: list[~azure.servicebus.aio.ReceivedMessage] @@ -435,13 +433,15 @@ async def receive_deferred_messages(self, sequence_numbers): """ self._check_live() + if isinstance(sequence_numbers, six.integer_types): + sequence_numbers = [sequence_numbers] if not sequence_numbers: raise ValueError("At least one sequence number must be specified.") await self._open() try: - receive_mode = self._mode.value.value + receive_mode = self._receive_mode.value.value except AttributeError: - receive_mode = int(self._mode) + receive_mode = int(self._receive_mode) message = { MGMT_REQUEST_SEQUENCE_NUMBERS: types.AMQPArray([types.AMQPLong(s) for s in sequence_numbers]), MGMT_REQUEST_RECEIVER_SETTLE_MODE: types.AMQPuInt(receive_mode) @@ -450,7 +450,7 @@ async def receive_deferred_messages(self, sequence_numbers): self._populate_message_properties(message) handler = functools.partial(mgmt_handlers.deferred_message_op, - mode=self._mode, + receive_mode=self._receive_mode, message_type=ReceivedMessage, receiver=self) messages = await self._mgmt_request_response_with_retry( @@ -460,16 +460,16 @@ async def receive_deferred_messages(self, sequence_numbers): ) return messages - async def peek_messages(self, message_count=1, sequence_number=0): + async def peek_messages(self, max_message_count=1, sequence_number=0): """Browse messages currently pending in the queue. Peeked messages are not removed from queue, nor are they locked. They cannot be completed, deferred or dead-lettered. - :param int message_count: The maximum number of messages to try and peek. The default + :param int max_message_count: The maximum number of messages to try and peek. The default value is 1. :param int sequence_number: A message sequence number from which to start browsing messages. - :rtype: list[~azure.servicebus.PeekMessage] + :rtype: list[~azure.servicebus.PeekedMessage] .. admonition:: Example: @@ -483,7 +483,7 @@ async def peek_messages(self, message_count=1, sequence_number=0): self._check_live() if not sequence_number: sequence_number = self._last_received_sequenced_number or 1 - if int(message_count) < 1: + if int(max_message_count) < 1: raise ValueError("count must be 1 or greater.") if int(sequence_number) < 1: raise ValueError("start_from must be 1 or greater.") @@ -492,7 +492,7 @@ async def peek_messages(self, message_count=1, sequence_number=0): message = { MGMT_REQUEST_FROM_SEQUENCE_NUMBER: types.AMQPLong(sequence_number), - MGMT_REQUEST_MESSAGE_COUNT: message_count + MGMT_REQUEST_MAX_MESSAGE_COUNT: max_message_count } self._populate_message_properties(message) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_sender_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_sender_async.py index 347ab457e57c..93424d9b263d 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_sender_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_sender_async.py @@ -50,8 +50,6 @@ class ServiceBusSender(BaseHandler, SenderMixin): :keyword str topic_name: The path of specific Service Bus Topic the client connects to. Only one of queue_name or topic_name can be provided. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -212,8 +210,6 @@ def from_connection_string( :keyword str queue_name: The path of specific Service Bus Queue the client connects to. :keyword str topic_name: The path of specific Service Bus Topic the client connects to. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_async.py index b2446d8ed411..61a0f3035723 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_async.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- import logging +import datetime from typing import Union import six @@ -39,7 +40,7 @@ class ServiceBusSession(BaseSession): :caption: Get session from a receiver """ - async def get_session_state(self): + async def get_state(self): # type: () -> str """Get the session state. @@ -59,7 +60,7 @@ async def get_session_state(self): self._check_live() response = await self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_GET_SESSION_STATE_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id}, + {MGMT_REQUEST_SESSION_ID: self._id}, mgmt_handlers.default ) session_state = response.get(MGMT_RESPONSE_SESSION_STATE) @@ -67,12 +68,12 @@ async def get_session_state(self): session_state = session_state.decode('UTF-8') return session_state - async def set_session_state(self, state): + async def set_state(self, state): # type: (Union[str, bytes, bytearray]) -> None """Set the session state. :param state: The state value. - :type state: str, bytes or bytearray + :type state: Union[str, bytes, bytearray] :rtype: None .. admonition:: Example: @@ -88,12 +89,12 @@ async def set_session_state(self, state): state = state.encode(self._encoding) if isinstance(state, six.text_type) else state return await self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_SET_SESSION_STATE_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id, MGMT_REQUEST_SESSION_STATE: bytearray(state)}, + {MGMT_REQUEST_SESSION_ID: self._id, MGMT_REQUEST_SESSION_STATE: bytearray(state)}, mgmt_handlers.default ) async def renew_lock(self): - # type: () -> None + # type: () -> datetime.datetime """Renew the session lock. This operation must be performed periodically in order to retain a lock on the @@ -104,7 +105,8 @@ async def renew_lock(self): This operation can also be performed as a threaded background task by registering the session with an `azure.servicebus.aio.AutoLockRenew` instance. - :rtype: None + :returns: The utc datetime the lock is set to expire at. + :rtype: datetime .. admonition:: Example: @@ -118,7 +120,10 @@ async def renew_lock(self): self._check_live() expiry = await self._receiver._mgmt_request_response_with_retry( # pylint: disable=protected-access REQUEST_RESPONSE_RENEW_SESSION_LOCK_OPERATION, - {MGMT_REQUEST_SESSION_ID: self.session_id}, + {MGMT_REQUEST_SESSION_ID: self._id}, mgmt_handlers.default ) - self._locked_until_utc = utc_from_timestamp(expiry[MGMT_RESPONSE_RECEIVER_EXPIRATION]/1000.0) + expiry_timestamp = expiry[MGMT_RESPONSE_RECEIVER_EXPIRATION]/1000.0 + self._locked_until_utc = utc_from_timestamp(expiry_timestamp) # type: datetime.datetime + + return self._locked_until_utc diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_receiver_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_receiver_async.py index 10abb88b5bf0..c6ccaa0dfb1a 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_receiver_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_servicebus_session_receiver_async.py @@ -40,13 +40,13 @@ class ServiceBusSessionReceiver(ServiceBusReceiver, SessionReceiverMixin): the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. @@ -54,8 +54,6 @@ class ServiceBusSessionReceiver(ServiceBusReceiver, SessionReceiverMixin): :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -63,13 +61,13 @@ class ServiceBusSessionReceiver(ServiceBusReceiver, SessionReceiverMixin): keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. .. admonition:: Example: @@ -105,13 +103,13 @@ def from_connection_string( the client connects to. :keyword str subscription_name: The path of specific Service Bus Subscription under the specified Topic the client connects to. - :keyword mode: The mode with which messages will be retrieved from the entity. The two options + :keyword receive_mode: The mode with which messages will be retrieved from the entity. The two options are PeekLock and ReceiveAndDelete. Messages received with PeekLock must be settled within a given lock period before they will be removed from the queue. Messages received with ReceiveAndDelete will be immediately removed from the queue, and cannot be subsequently abandoned or re-received if the client fails to process the message. The default mode is PeekLock. - :paramtype mode: ~azure.servicebus.ReceiveSettleMode + :paramtype receive_mode: ~azure.servicebus.ReceiveMode :keyword session_id: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to receive messages from the next available session, set this to None. The default is None. @@ -119,8 +117,6 @@ def from_connection_string( :keyword float max_wait_time: The timeout in seconds between received messages after which the receiver will automatically shutdown. The default value is 0, meaning no timeout. :keyword bool logging_enable: Whether to output network trace logs to the logger. Default is `False`. - :keyword int retry_total: The total number of attempts to redo a failed operation when an error occurs. - Default value is 3. :keyword transport_type: The type of transport protocol that will be used for communicating with the Service Bus service. Default is `TransportType.Amqp`. :paramtype transport_type: ~azure.servicebus.TransportType @@ -128,13 +124,13 @@ def from_connection_string( keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value). Additionally the following keys may also be present: `'username', 'password'`. :keyword str user_agent: If specified, this will be added in front of the built-in user agent string. - :keyword int prefetch: The maximum number of messages to cache with each request to the service. + :keyword int prefetch_count: The maximum number of messages to cache with each request to the service. This setting is only for advanced performance tuning. Increasing this value will improve message throughput performance but increase the chance that messages will expire while they are cached if they're not processed fast enough. The default value is 0, meaning messages will be received from the service and processed one at a time. - In the case of prefetch being 0, `ServiceBusReceiver.receive` would try to cache `max_batch_size` (if provided) - within its request to the service. + In the case of prefetch_count being 0, `ServiceBusReceiver.receive` would try to cache `max_message_count` + (if provided) within its request to the service. :rtype: ~azure.servicebus.aio.ServiceBusSessionReceiver :raises ~azure.servicebus.ServiceBusAuthenticationError: Indicates an issue in token/identity validity. 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 bd072d3fdc39..e495126304a1 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 @@ -20,8 +20,7 @@ QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ RuleDescriptionFeed, NamespacePropertiesEntry, CreateTopicBody, CreateTopicBodyContent, \ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ - CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, \ - NamespaceProperties + CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent from ..._common.utils import parse_conn_str from ..._common.constants import JWT_TOKEN_SCOPE @@ -32,7 +31,7 @@ from ...management import _constants as constants from ._shared_key_policy_async import AsyncServiceBusSharedKeyCredentialPolicy from ...management._models import QueueRuntimeProperties, QueueProperties, TopicProperties, TopicRuntimeProperties, \ - SubscriptionProperties, SubscriptionRuntimeProperties, RuleProperties + SubscriptionProperties, SubscriptionRuntimeProperties, RuleProperties, NamespaceProperties from ...management._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy from ...management._handle_response_error import _handle_response_error from ...management._model_workaround import avoid_timedelta_overflow @@ -155,7 +154,7 @@ async def get_queue(self, queue_name: str, **kwargs) -> QueueProperties: entry.content.queue_description) return queue_description - async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntimeProperties: + async def get_queue_runtime_properties(self, queue_name: str, **kwargs) -> QueueRuntimeProperties: """Get the runtime information of a queue. :param str queue_name: The name of the queue. @@ -165,9 +164,9 @@ async def get_queue_runtime_info(self, queue_name: str, **kwargs) -> QueueRuntim entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) - runtime_info = QueueRuntimeProperties._from_internal_entity(queue_name, + runtime_properties = QueueRuntimeProperties._from_internal_entity(queue_name, entry.content.queue_description) - return runtime_info + return runtime_properties async def create_queue(self, name: str, **kwargs) -> QueueProperties: """Create a queue. @@ -335,7 +334,7 @@ def entry_to_qd(entry): return AsyncItemPaged( get_next, extract_data) - def list_queues_runtime_info(self, **kwargs: Any) -> AsyncItemPaged[QueueRuntimeProperties]: + def list_queues_runtime_properties(self, **kwargs: Any) -> AsyncItemPaged[QueueRuntimeProperties]: """List the runtime information of the queues in a ServiceBus namespace. :returns: An iterable (auto-paging) response of QueueRuntimeProperties. @@ -368,7 +367,7 @@ async def get_topic(self, topic_name: str, **kwargs) -> TopicProperties: topic_description = TopicProperties._from_internal_entity(topic_name, entry.content.topic_description) return topic_description - async def get_topic_runtime_info(self, topic_name: str, **kwargs) -> TopicRuntimeProperties: + async def get_topic_runtime_properties(self, topic_name: str, **kwargs) -> TopicRuntimeProperties: """Get the runtime information of a topic. :param str topic_name: The name of the topic. @@ -526,7 +525,7 @@ def entry_to_topic(entry): return AsyncItemPaged( get_next, extract_data) - def list_topics_runtime_info(self, **kwargs: Any) -> AsyncItemPaged[TopicRuntimeProperties]: + def list_topics_runtime_properties(self, **kwargs: Any) -> AsyncItemPaged[TopicRuntimeProperties]: """List the topics runtime information of a ServiceBus namespace. :returns: An iterable (auto-paging) response of TopicRuntimeProperties. @@ -567,7 +566,7 @@ async def get_subscription( entry.title, entry.content.subscription_description) return subscription - async def get_subscription_runtime_info( + async def get_subscription_runtime_properties( self, topic: Union[str, TopicProperties], subscription_name: str, **kwargs ) -> SubscriptionRuntimeProperties: """Get a topic subscription runtime info. @@ -764,7 +763,7 @@ def entry_to_subscription(entry): return AsyncItemPaged( get_next, extract_data) - def list_subscriptions_runtime_info( + def list_subscriptions_runtime_properties( self, topic: Union[str, TopicProperties], **kwargs: Any) -> AsyncItemPaged[SubscriptionRuntimeProperties]: """List the subscriptions runtime information of a ServiceBus. @@ -851,7 +850,7 @@ async def create_rule( name, filter=kwargs.pop("filter", None), action=kwargs.pop("action", None), - created_at=None + created_at_utc=None ) to_create = rule._to_internal_entity() @@ -992,7 +991,8 @@ async def get_namespace_properties(self, **kwargs) -> NamespaceProperties: """ entry_el = await self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) - return namespace_entry.content.namespace_properties + return NamespaceProperties._from_internal_entity(namespace_entry.title, + namespace_entry.content.namespace_properties) async def close(self) -> None: await self._impl.close() diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py index 79d44d630e69..c89d31a9e387 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/__init__.py @@ -4,14 +4,14 @@ # -------------------------------------------------------------------------------------------- from ._management_client import ServiceBusAdministrationClient -from ._generated.models import AuthorizationRule, MessageCountDetails, \ +from ._generated.models import MessageCountDetails, \ AccessRights, EntityAvailabilityStatus, EntityStatus, \ - NamespaceProperties, MessagingSku, NamespaceType + MessagingSku, NamespaceType from ._models import QueueRuntimeProperties, QueueProperties, TopicRuntimeProperties, TopicProperties, \ SubscriptionRuntimeProperties, SubscriptionProperties, RuleProperties, \ TrueRuleFilter, FalseRuleFilter, SqlRuleFilter, CorrelationRuleFilter, \ - SqlRuleAction + SqlRuleAction, AuthorizationRule, NamespaceProperties __all__ = [ 'ServiceBusAdministrationClient', 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 b3e08467d93a..fcb2de8e50f0 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -20,7 +20,7 @@ QueueDescriptionEntry, SubscriptionDescriptionFeed, SubscriptionDescriptionEntry, RuleDescriptionEntry, \ RuleDescriptionFeed, NamespacePropertiesEntry, CreateTopicBody, CreateTopicBodyContent, \ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ - CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent, NamespaceProperties + CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent from ._utils import extract_data_template, get_next_template, deserialize_rule_key_values, serialize_rule_key_values, \ extract_rule_data_template from ._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy @@ -34,7 +34,7 @@ from ._model_workaround import avoid_timedelta_overflow from . import _constants as constants from ._models import QueueRuntimeProperties, QueueProperties, TopicProperties, TopicRuntimeProperties, \ - SubscriptionProperties, SubscriptionRuntimeProperties, RuleProperties + SubscriptionProperties, SubscriptionRuntimeProperties, RuleProperties, NamespaceProperties from ._handle_response_error import _handle_response_error if TYPE_CHECKING: @@ -149,7 +149,7 @@ def get_queue(self, queue_name, **kwargs): queue_description = QueueProperties._from_internal_entity(queue_name, entry.content.queue_description) return queue_description - def get_queue_runtime_info(self, queue_name, **kwargs): + def get_queue_runtime_properties(self, queue_name, **kwargs): # type: (str, Any) -> QueueRuntimeProperties """Get the runtime information of a queue. @@ -160,8 +160,8 @@ def get_queue_runtime_info(self, queue_name, **kwargs): entry = QueueDescriptionEntry.deserialize(entry_ele) if not entry.content: raise ResourceNotFoundError("Queue {} does not exist".format(queue_name)) - runtime_info = QueueRuntimeProperties._from_internal_entity(queue_name, entry.content.queue_description) - return runtime_info + runtime_properties = QueueRuntimeProperties._from_internal_entity(queue_name, entry.content.queue_description) + return runtime_properties def create_queue(self, name, **kwargs): # type: (str, Any) -> QueueProperties @@ -335,7 +335,7 @@ def entry_to_qd(entry): return ItemPaged( get_next, extract_data) - def list_queues_runtime_info(self, **kwargs): + def list_queues_runtime_properties(self, **kwargs): # type: (Any) -> ItemPaged[QueueRuntimeProperties] """List the runtime information of the queues in a ServiceBus namespace. @@ -370,7 +370,7 @@ def get_topic(self, topic_name, **kwargs): topic_description = TopicProperties._from_internal_entity(topic_name, entry.content.topic_description) return topic_description - def get_topic_runtime_info(self, topic_name, **kwargs): + def get_topic_runtime_properties(self, topic_name, **kwargs): # type: (str, Any) -> TopicRuntimeProperties """Get a the runtime information of a topic. @@ -537,7 +537,7 @@ def entry_to_topic(entry): return ItemPaged( get_next, extract_data) - def list_topics_runtime_info(self, **kwargs): + def list_topics_runtime_properties(self, **kwargs): # type: (Any) -> ItemPaged[TopicRuntimeProperties] """List the topics runtime information of a ServiceBus namespace. @@ -578,7 +578,7 @@ def get_subscription(self, topic, subscription_name, **kwargs): entry.title, entry.content.subscription_description) return subscription - def get_subscription_runtime_info(self, topic, subscription_name, **kwargs): + def get_subscription_runtime_properties(self, topic, subscription_name, **kwargs): # type: (Union[str, TopicProperties], str, Any) -> SubscriptionRuntimeProperties """Get a topic subscription runtime info. @@ -771,7 +771,7 @@ def entry_to_subscription(entry): return ItemPaged( get_next, extract_data) - def list_subscriptions_runtime_info(self, topic, **kwargs): + def list_subscriptions_runtime_properties(self, topic, **kwargs): # type: (Union[str, TopicProperties], Any) -> ItemPaged[SubscriptionRuntimeProperties] """List the subscriptions runtime information of a ServiceBus Topic. @@ -857,7 +857,7 @@ def create_rule(self, topic, subscription, name, **kwargs): name, filter=kwargs.pop("filter", None), action=kwargs.pop("action", None), - created_at=None + created_at_utc=None ) to_create = rule._to_internal_entity() @@ -992,7 +992,8 @@ def get_namespace_properties(self, **kwargs): """ entry_el = self._impl.namespace.get(api_version=constants.API_VERSION, **kwargs) namespace_entry = NamespacePropertiesEntry.deserialize(entry_el) - return namespace_entry.content.namespace_properties + return NamespaceProperties._from_internal_entity(namespace_entry.title, + namespace_entry.content.namespace_properties) def close(self): # type: () -> None diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py index 93df1b89de35..4159c11fe52a 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_models.py @@ -18,8 +18,9 @@ SqlRuleAction as InternalSqlRuleAction, \ EmptyRuleAction as InternalEmptyRuleAction, \ CorrelationFilter as InternalCorrelationFilter, \ + NamespaceProperties as InternalNamespaceProperties, \ SqlFilter as InternalSqlFilter, TrueFilter as InternalTrueFilter, FalseFilter as InternalFalseFilter, \ - KeyValue + KeyValue, AuthorizationRule as InternalAuthorizationRule from ._model_workaround import adjust_attribute_map from ._constants import RULE_SQL_COMPATIBILITY_LEVEL @@ -27,6 +28,9 @@ adjust_attribute_map() +# These helpers are to ensure that the Properties objects can't be constructed without all args present, +# as a compromise between our use of kwargs to flatten arg-lists and trying to de-incentivise manual instantiation +# while still trying to provide some guardrails. def extract_kwarg_template(kwargs, extraction_missing_args, name): try: return kwargs[name] @@ -92,6 +96,71 @@ def get(self, key, default=None): return default +class NamespaceProperties(DictMixin): + """The metadata related to a Service Bus namespace. + + :ivar alias: Alias for the geo-disaster recovery Service Bus namespace. + :type alias: str + :ivar created_at_utc: The exact time the namespace was created. + :type created_at_utc: ~datetime.datetime + :ivar messaging_sku: The SKU for the messaging entity. Possible values include: "Basic", + "Standard", "Premium". + :type messaging_sku: str or ~azure.servicebus.management._generated.models.MessagingSku + :ivar messaging_units: The number of messaging units allocated to the namespace. + :type messaging_units: int + :ivar modified_at_utc: The exact time the namespace was last modified. + :type modified_at_utc: ~datetime.datetime + :ivar name: Name of the namespace. + :type name: str + """ + def __init__( + self, + name, + **kwargs + ): + # type: (str, Any) -> None + self.name = name + + extraction_missing_args = [] # type: List[str] + extract_kwarg = functools.partial(extract_kwarg_template, kwargs, extraction_missing_args) + + self.name = name + self.alias = extract_kwarg('alias') + self.created_at_utc = extract_kwarg('created_at_utc') + self.messaging_sku = extract_kwarg('messaging_sku') + self.messaging_units = extract_kwarg('messaging_units') + self.modified_at_utc = extract_kwarg('modified_at_utc') + self.namespace_type = extract_kwarg('namespace_type') + + validate_extraction_missing_args(extraction_missing_args) + + + @classmethod + def _from_internal_entity(cls, name, internal_entity): + # type: (str, InternalNamespaceProperties) -> NamespaceProperties + namespace_properties = cls( + name, + alias=internal_entity.alias, + created_at_utc=internal_entity.created_time, + messaging_sku=internal_entity.messaging_sku, + messaging_units=internal_entity.messaging_units, + modified_at_utc=internal_entity.modified_time, + namespace_type=internal_entity.namespace_type, + ) + return namespace_properties + + def _to_internal_entity(self): + internal_entity = InternalNamespaceProperties() + internal_entity.alias = self.alias + internal_entity.created_time = self.created_at_utc + internal_entity.messaging_sku = self.messaging_sku + internal_entity.messaging_units = self.messaging_units + internal_entity.modified_time = self.modified_at_utc + internal_entity.namespace_type = self.namespace_type + + return internal_entity + + class QueueProperties(DictMixin): # pylint:disable=too-many-instance-attributes """Properties of a Service Bus queue resource. @@ -194,7 +263,8 @@ def _from_internal_entity(cls, name, internal_qd): # type: (str, InternalQueueDescription) -> QueueProperties qd = cls( name, - authorization_rules=internal_qd.authorization_rules, + authorization_rules=[AuthorizationRule._from_internal_entity(r) for r in internal_qd.authorization_rules] \ + if internal_qd.authorization_rules else (internal_qd.authorization_rules or []), auto_delete_on_idle=internal_qd.auto_delete_on_idle, dead_lettering_on_message_expiration=internal_qd.dead_lettering_on_message_expiration, default_message_time_to_live=internal_qd.default_message_time_to_live, @@ -221,7 +291,8 @@ def _to_internal_entity(self): internal_qd = InternalQueueDescription() self._internal_qd = internal_qd - self._internal_qd.authorization_rules = self.authorization_rules + self._internal_qd.authorization_rules = [r._to_internal_entity() for r in self.authorization_rules] \ + if self.authorization_rules else self.authorization_rules self._internal_qd.auto_delete_on_idle = self.auto_delete_on_idle self._internal_qd.dead_lettering_on_message_expiration = self.dead_lettering_on_message_expiration self._internal_qd.default_message_time_to_live = self.default_message_time_to_live @@ -270,7 +341,7 @@ def name(self): return self._name @property - def accessed_at(self): + def accessed_at_utc(self): """Last time a message was sent, or the last time there was a receive request to this queue. :rtype: ~datetime.datetime @@ -278,7 +349,7 @@ def accessed_at(self): return self._internal_qr.accessed_at @property - def created_at(self): + def created_at_utc(self): """The exact time the queue was created. :rtype: ~datetime.datetime @@ -286,7 +357,7 @@ def created_at(self): return self._internal_qr.created_at @property - def updated_at(self): + def updated_at_utc(self): """The exact the entity was updated. :rtype: ~datetime.datetime @@ -439,7 +510,8 @@ def _from_internal_entity(cls, name, internal_td): duplicate_detection_history_time_window=internal_td.duplicate_detection_history_time_window, enable_batched_operations=internal_td.enable_batched_operations, size_in_bytes=internal_td.size_in_bytes, - authorization_rules=internal_td.authorization_rules, + authorization_rules=[AuthorizationRule._from_internal_entity(r) for r in internal_td.authorization_rules] \ + if internal_td.authorization_rules else internal_td.authorization_rules, status=internal_td.status, support_ordering=internal_td.support_ordering, auto_delete_on_idle=internal_td.auto_delete_on_idle, @@ -461,7 +533,8 @@ def _to_internal_entity(self): self._internal_td.duplicate_detection_history_time_window = self.duplicate_detection_history_time_window self._internal_td.enable_batched_operations = self.enable_batched_operations self._internal_td.size_in_bytes = self.size_in_bytes - self._internal_td.authorization_rules = self.authorization_rules + self._internal_td.authorization_rules = [r._to_internal_entity() for r in self.authorization_rules] \ + if self.authorization_rules else self.authorization_rules self._internal_td.status = self.status self._internal_td.support_ordering = self.support_ordering self._internal_td.auto_delete_on_idle = self.auto_delete_on_idle @@ -500,7 +573,7 @@ def name(self): return self._name @property - def accessed_at(self): + def accessed_at_utc(self): """Last time a message was sent, or the last time there was a receive request :rtype: ~datetime.datetime @@ -508,7 +581,7 @@ def accessed_at(self): return self._internal_td.accessed_at @property - def created_at(self): + def created_at_utc(self): """The exact time the queue was created. :rtype: ~datetime.datetime @@ -516,7 +589,7 @@ def created_at(self): return self._internal_td.created_at @property - def updated_at(self): + def updated_at_utc(self): """The exact time the entity was updated. :rtype: ~datetime.datetime @@ -693,7 +766,7 @@ def name(self): return self._name @property - def accessed_at(self): + def accessed_at_utc(self): """Last time a message was sent, or the last time there was a receive request :rtype: ~datetime.datetime @@ -701,7 +774,7 @@ def accessed_at(self): return self._internal_sd.accessed_at @property - def created_at(self): + def created_at_utc(self): """The exact time the subscription was created. :rtype: ~datetime.datetime @@ -709,7 +782,7 @@ def created_at(self): return self._internal_sd.created_at @property - def updated_at(self): + def updated_at_utc(self): """The exact time the entity is updated. :rtype: ~datetime.datetime @@ -767,8 +840,8 @@ class RuleProperties(DictMixin): ~azure.servicebus.management.SqlRuleFilter] :ivar action: The action of the rule. :type action: Optional[~azure.servicebus.management.SqlRuleAction] - :ivar created_at: The exact time the rule was created. - :type created_at: ~datetime.datetime + :ivar created_at_utc: The exact time the rule was created. + :type created_at_utc: ~datetime.datetime """ def __init__(self, name, **kwargs): @@ -782,7 +855,7 @@ def __init__(self, name, **kwargs): self.filter = extract_kwarg('filter') self.action = extract_kwarg('action') - self.created_at = extract_kwarg('created_at') + self.created_at_utc = extract_kwarg('created_at_utc') validate_extraction_missing_args(extraction_missing_args) @@ -795,7 +868,7 @@ def _from_internal_entity(cls, name, internal_rule): if internal_rule.filter and isinstance(internal_rule.filter, tuple(RULE_CLASS_MAPPING.keys())) else None, action=RULE_CLASS_MAPPING[type(internal_rule.action)]._from_internal_entity(internal_rule.action) if internal_rule.action and isinstance(internal_rule.action, tuple(RULE_CLASS_MAPPING.keys())) else None, - created_at=internal_rule.created_at + created_at_utc=internal_rule.created_at ) rule._internal_rule = deepcopy(internal_rule) return rule @@ -806,7 +879,7 @@ def _to_internal_entity(self): self._internal_rule = InternalRuleDescription() self._internal_rule.filter = self.filter._to_internal_entity() if self.filter else TRUE_FILTER # type: ignore self._internal_rule.action = self.action._to_internal_entity() if self.action else EMPTY_RULE_ACTION - self._internal_rule.created_at = self.created_at + self._internal_rule.created_at = self.created_at_utc self._internal_rule.name = self.name return self._internal_rule @@ -890,15 +963,12 @@ class SqlRuleFilter(object): :type sql_expression: str :param parameters: Sets the value of the sql expression parameters if any. :type parameters: dict[str, Union[str, int, float, bool, datetime, timedelta]] - :param requires_preprocessing: Value that indicates whether the rule - filter requires preprocessing. Default value: True . - :type requires_preprocessing: bool """ - def __init__(self, sql_expression=None, parameters=None, requires_preprocessing=True): - # type: (Optional[str], Optional[Dict[str, Union[str, int, float, bool, datetime, timedelta]]], bool) -> None + def __init__(self, sql_expression=None, parameters=None): + # type: (Optional[str], Optional[Dict[str, Union[str, int, float, bool, datetime, timedelta]]]) -> None self.sql_expression = sql_expression self.parameters = parameters - self.requires_preprocessing = requires_preprocessing + self.requires_preprocessing = True @classmethod def _from_internal_entity(cls, internal_sql_rule_filter): @@ -925,7 +995,7 @@ class TrueRuleFilter(SqlRuleFilter): """ def __init__(self): # type: () -> None - super(TrueRuleFilter, self).__init__("1=1", None, True) + super(TrueRuleFilter, self).__init__("1=1", None) def _to_internal_entity(self): internal_entity = InternalTrueFilter() @@ -941,7 +1011,7 @@ class FalseRuleFilter(SqlRuleFilter): """ def __init__(self): # type: () -> None - super(FalseRuleFilter, self).__init__("1>1", None, True) + super(FalseRuleFilter, self).__init__("1>1", None) def _to_internal_entity(self): internal_entity = InternalFalseFilter() @@ -959,15 +1029,13 @@ class SqlRuleAction(object): :type sql_expression: str :param parameters: Sets the value of the sql expression parameters if any. :type parameters: dict[str, Union[str, int, float, bool, datetime, timedelta]] - :param requires_preprocessing: Value that indicates whether the rule - action requires preprocessing. Default value: True . :type requires_preprocessing: bool """ - def __init__(self, sql_expression=None, parameters=None, requires_preprocessing=True): - # type: (Optional[str], Optional[Dict[str, Union[str, int, float, bool, datetime, timedelta]]], bool) -> None + def __init__(self, sql_expression=None, parameters=None): + # type: (Optional[str], Optional[Dict[str, Union[str, int, float, bool, datetime, timedelta]]]) -> None self.sql_expression = sql_expression self.parameters = parameters - self.requires_preprocessing = requires_preprocessing + self.requires_preprocessing = True @classmethod def _from_internal_entity(cls, internal_sql_rule_action): @@ -997,3 +1065,69 @@ def _to_internal_entity(self): } # type: Dict[Type[Model], Type] EMPTY_RULE_ACTION = InternalEmptyRuleAction() TRUE_FILTER = TrueRuleFilter() + + +class AuthorizationRule(object): + """Authorization rule of an entity. + + :param type: The authorization type. + :type type: str + :param claim_type: The claim type. + :type claim_type: str + :param claim_value: The claim value. + :type claim_value: str + :param rights: Access rights of the entity. Values are 'Send', 'Listen', or 'Manage'. + :type rights: list[AccessRights] + :param created_at_utc: The date and time when the authorization rule was created. + :type created_at_utc: ~datetime.datetime + :param modified_at_utc: The date and time when the authorization rule was modified. + :type modified_at_utc: ~datetime.datetime + :param key_name: The authorization rule key name. + :type key_name: str + :param primary_key: The primary key of the authorization rule. + :type primary_key: str + :param secondary_key: The primary key of the authorization rule. + :type secondary_key: str + """ + + def __init__( + self, + **kwargs + ): + # type: (Any) -> None + self.type = kwargs.get('type', None) + self.claim_type = kwargs.get('claim_type', None) + self.claim_value = kwargs.get('claim_value', None) + self.rights = kwargs.get('rights', None) + self.created_at_utc = kwargs.get('created_at_utc', None) + self.modified_at_utc = kwargs.get('modified_at_utc', None) + self.key_name = kwargs.get('key_name', None) + self.primary_key = kwargs.get('primary_key', None) + self.secondary_key = kwargs.get('secondary_key', None) + + @classmethod + def _from_internal_entity(cls, internal_authorization_rule): + authorization_rule = cls() + authorization_rule.claim_type = internal_authorization_rule.claim_type + authorization_rule.claim_value = internal_authorization_rule.claim_value + authorization_rule.rights = internal_authorization_rule.rights + authorization_rule.created_at_utc = internal_authorization_rule.created_time + authorization_rule.modified_at_utc = internal_authorization_rule.modified_time + authorization_rule.key_name = internal_authorization_rule.key_name + authorization_rule.primary_key = internal_authorization_rule.primary_key + authorization_rule.secondary_key = internal_authorization_rule.secondary_key + + return authorization_rule + + def _to_internal_entity(self): + # type: () -> InternalAuthorizationRule + internal_entity = InternalAuthorizationRule() + internal_entity.claim_type = self.claim_type + internal_entity.claim_value = self.claim_value + internal_entity.rights = self.rights + internal_entity.created_time = self.created_at_utc + internal_entity.modified_time = self.modified_at_utc + internal_entity.key_name = self.key_name + internal_entity.primary_key = self.primary_key + internal_entity.secondary_key = self.secondary_key + return internal_entity diff --git a/sdk/servicebus/azure-servicebus/migration_guide.md b/sdk/servicebus/azure-servicebus/migration_guide.md index 7516634f6338..2122c1bb14ce 100644 --- a/sdk/servicebus/azure-servicebus/migration_guide.md +++ b/sdk/servicebus/azure-servicebus/migration_guide.md @@ -65,7 +65,7 @@ semantics with the sender or receiver lifetime. |---|---|---| | `queue_client.send(message, session='foo') and queue_client.get_sender(session='foo').send(message)`| `sb_client.get_queue_sender().send_messages(Message('body', session_id='foo'))`| [Send a message to a session](./samples/sync_samples/session_send_receive.py) | | `AutoLockRenew().register(queue_client.get_receiver(session='foo'))`| `AutoLockRenew().register(sb_client.get_queue_session_receiver(session_id='foo').session)`| [Access a session and ensure its lock is auto-renewed](./samples/sync_samples/session_send_receive.py) | -| `receiver.get_session_state()` | `receiver.session.get_session_state()` | [Perform session specific operations on a receiver](./samples/sync_samples/session_send_receive.py) +| `receiver.get_session_state()` | `receiver.session.get_state()` | [Perform session specific operations on a receiver](./samples/sync_samples/session_send_receive.py) ### Working with UTC time | In v0.50 | Equivalent in v7 | Note | @@ -123,10 +123,10 @@ with queue_client.get_receiver(idle_timeout=1, mode=ReceiveSettleMode.PeekLock, Becomes this in v7: ```python -with ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR) as client: +with ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, receive_mode=ReceiveMode.PeekLock) as client: with client.get_queue_receiver(queue_name=QUEUE_NAME) as receiver: - batch = receiver.receive_messages(max_batch_size=10, max_wait_time=5) + batch = receiver.receive_messages(max_message_count=10, max_wait_time=5) for message in batch: print("Message: {}".format(message)) message.complete() diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/auto_lock_renew_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/auto_lock_renew_async.py index 917eec08f0b0..b37f2255c559 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/auto_lock_renew_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/auto_lock_renew_async.py @@ -37,7 +37,7 @@ async def renew_lock_on_message_received_from_non_sessionful_entity(): # Can also be called via "with AutoLockRenew() as renewer" to automate shutdown. renewer = AutoLockRenew() - async with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch=10) as receiver: + async with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch_count=10) as receiver: received_msgs = await receiver.receive_messages(max_batch_size=10, max_wait_time=5) for msg in received_msgs: @@ -69,7 +69,7 @@ async def renew_lock_on_session_of_the_sessionful_entity(): async with servicebus_client.get_queue_session_receiver( queue_name=SESSION_QUEUE_NAME, session_id='SESSION', - prefetch=10 + prefetch_count=10 ) as receiver: # automatically renew the lock on the session for 100 seconds renewer.register(receiver.session, timeout=100) @@ -94,7 +94,7 @@ async def renew_lock_with_lock_renewal_failure_callback(): # For this sample we're going to set the renewal recurrence of the autolockrenewer to greater than the # service side message lock duration, to demonstrate failure. Normally, this should not be adjusted. renewer._sleep_time = 40 - async with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch=10) as receiver: + async with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch_count=10) as receiver: async def on_lock_renew_failure_callback(renewable, error): # If auto-lock-renewal fails, this function will be called. diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/receive_deadlettered_messages_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/receive_deadlettered_messages_async.py index 40b443f90aba..f77310a957b2 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/receive_deadlettered_messages_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/receive_deadlettered_messages_async.py @@ -41,7 +41,7 @@ async def main(): print('receiving deadlettered messages') dlq_receiver = servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, sub_queue=SubQueue.DeadLetter, - prefetch=10) + prefetch_count=10) async with dlq_receiver: received_msgs = await dlq_receiver.receive_messages(max_batch_size=10, max_wait_time=5) for msg in received_msgs: diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/receive_peek_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/receive_peek_async.py index c0739b74ac76..93cbcfbdb2a8 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/receive_peek_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/receive_peek_async.py @@ -25,7 +25,7 @@ async def main(): async with servicebus_client: receiver = servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME) async with receiver: - received_msgs = await receiver.peek_messages(message_count=2) + received_msgs = await receiver.peek_messages(max_message_count=2) for msg in received_msgs: print(str(msg)) diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/sample_code_servicebus_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/sample_code_servicebus_async.py index cd336eb041c1..a5b6575cf59f 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/sample_code_servicebus_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/sample_code_servicebus_async.py @@ -273,13 +273,13 @@ async def example_session_ops_async(): # [START get_session_state_async] async with servicebus_client.get_queue_session_receiver(queue_name=queue_name, session_id=session_id) as receiver: session = receiver.session - session_state = await session.get_session_state() + session_state = await session.get_state() # [END get_session_state_async] # [START set_session_state_async] async with servicebus_client.get_queue_session_receiver(queue_name=queue_name, session_id=session_id) as receiver: session = receiver.session - session_state = await session.set_session_state("START") + session_state = await session.set_state("START") # [END set_session_state_async] # [START session_renew_lock_async] diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/session_pool_receive_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/session_pool_receive_async.py index 6315f7744d54..4c37d769ec08 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/session_pool_receive_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/session_pool_receive_async.py @@ -24,7 +24,7 @@ async def message_processing(servicebus_client, queue_name): async with servicebus_client.get_queue_session_receiver(queue_name, max_wait_time=1) as receiver: renewer = AutoLockRenew() renewer.register(receiver.session) - await receiver.session.set_session_state("OPEN") + await receiver.session.set_state("OPEN") async for message in receiver: print("Message: {}".format(message)) print("Time to live: {}".format(message.time_to_live)) @@ -36,7 +36,7 @@ async def message_processing(servicebus_client, queue_name): print("Enqueued time: {}".format(message.enqueued_time_utc)) await message.complete() if str(message) == 'shutdown': - await receiver.session.set_session_state("CLOSED") + await receiver.session.set_state("CLOSED") break await renewer.close() except NoActiveSession: diff --git a/sdk/servicebus/azure-servicebus/samples/async_samples/session_send_receive_async.py b/sdk/servicebus/azure-servicebus/samples/async_samples/session_send_receive_async.py index ff68af56bc92..3e9ce62f3f88 100644 --- a/sdk/servicebus/azure-servicebus/samples/async_samples/session_send_receive_async.py +++ b/sdk/servicebus/azure-servicebus/samples/async_samples/session_send_receive_async.py @@ -45,15 +45,15 @@ async def send_batch_message(sender): async def receive_batch_messages(receiver): session = receiver.session - await session.set_session_state("START") - print("Session state:", await session.get_session_state()) + await session.set_state("START") + print("Session state:", await session.get_state()) received_msgs = await receiver.receive_messages(max_batch_size=10, max_wait_time=5) for msg in received_msgs: print(str(msg)) await msg.complete() await session.renew_lock() - await session.set_session_state("END") - print("Session state:", await session.get_session_state()) + await session.set_state("END") + print("Session state:", await session.get_state()) async def main(): diff --git a/sdk/servicebus/azure-servicebus/samples/sync_samples/auto_lock_renew.py b/sdk/servicebus/azure-servicebus/samples/sync_samples/auto_lock_renew.py index 92268bbcf3f3..00d0cf970bce 100644 --- a/sdk/servicebus/azure-servicebus/samples/sync_samples/auto_lock_renew.py +++ b/sdk/servicebus/azure-servicebus/samples/sync_samples/auto_lock_renew.py @@ -36,7 +36,7 @@ def renew_lock_on_message_received_from_non_sessionful_entity(): # Can also be called via "with AutoLockRenew() as renewer" to automate shutdown. renewer = AutoLockRenew() - with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch=10) as receiver: + with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch_count=10) as receiver: received_msgs = receiver.receive_messages(max_batch_size=10, max_wait_time=5) for msg in received_msgs: @@ -68,7 +68,7 @@ def renew_lock_on_session_of_the_sessionful_entity(): with servicebus_client.get_queue_session_receiver( queue_name=SESSION_QUEUE_NAME, session_id='SESSION', - prefetch=10 + prefetch_count=10 ) as receiver: # automatically renew the lock on the session for 100 seconds @@ -97,7 +97,7 @@ def renew_lock_with_lock_renewal_failure_callback(): # For this sample we're going to set the renewal recurrence of the autolockrenewer to greater than the # service side message lock duration, to demonstrate failure. Normally, this should not be adjusted. renewer._sleep_time = 40 - with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch=10) as receiver: + with servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME, prefetch_count=10) as receiver: def on_lock_renew_failure_callback(renewable, error): # If auto-lock-renewal fails, this function will be called. diff --git a/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_peek.py b/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_peek.py index 1fc513fcb8e9..734231a14862 100644 --- a/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_peek.py +++ b/sdk/servicebus/azure-servicebus/samples/sync_samples/receive_peek.py @@ -22,7 +22,7 @@ with servicebus_client: receiver = servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME) with receiver: - received_msgs = receiver.peek_messages(message_count=2) + received_msgs = receiver.peek_messages(max_message_count=2) for msg in received_msgs: print(str(msg)) diff --git a/sdk/servicebus/azure-servicebus/samples/sync_samples/sample_code_servicebus.py b/sdk/servicebus/azure-servicebus/samples/sync_samples/sample_code_servicebus.py index 28626350d835..e5771c667ef8 100644 --- a/sdk/servicebus/azure-servicebus/samples/sync_samples/sample_code_servicebus.py +++ b/sdk/servicebus/azure-servicebus/samples/sync_samples/sample_code_servicebus.py @@ -323,13 +323,13 @@ def example_session_ops_sync(): # [START get_session_state_sync] with servicebus_client.get_queue_session_receiver(queue_name=queue_name, session_id=session_id) as receiver: session = receiver.session - session_state = session.get_session_state() + session_state = session.get_state() # [END get_session_state_sync] # [START set_session_state_sync] with servicebus_client.get_queue_session_receiver(queue_name=queue_name, session_id=session_id) as receiver: session = receiver.session - session_state = session.set_session_state("START") + session_state = session.set_state("START") # [END set_session_state_sync] # [START session_renew_lock_sync] diff --git a/sdk/servicebus/azure-servicebus/samples/sync_samples/session_pool_receive.py b/sdk/servicebus/azure-servicebus/samples/sync_samples/session_pool_receive.py index 64f4beeef6ee..bbb9a553e555 100644 --- a/sdk/servicebus/azure-servicebus/samples/sync_samples/session_pool_receive.py +++ b/sdk/servicebus/azure-servicebus/samples/sync_samples/session_pool_receive.py @@ -22,7 +22,7 @@ def message_processing(sb_client, queue_name, messages): with sb_client.get_queue_session_receiver(queue_name, max_wait_time=1) as receiver: renewer = AutoLockRenew() renewer.register(receiver.session) - receiver.session.set_session_state("OPEN") + receiver.session.set_state("OPEN") for message in receiver: messages.append(message) print("Message: {}".format(message)) @@ -35,7 +35,7 @@ def message_processing(sb_client, queue_name, messages): print("Enqueued time: {}".format(message.enqueued_time_utc)) message.complete() if str(message) == 'shutdown': - receiver.session.set_session_state("CLOSED") + receiver.session.set_state("CLOSED") renewer.close() except NoActiveSession: print("There are no non-empty sessions remaining; exiting. This may present as a UserError in the azure portal.") diff --git a/sdk/servicebus/azure-servicebus/samples/sync_samples/session_send_receive.py b/sdk/servicebus/azure-servicebus/samples/sync_samples/session_send_receive.py index c141c4009407..4b38ecffc8d7 100644 --- a/sdk/servicebus/azure-servicebus/samples/sync_samples/session_send_receive.py +++ b/sdk/servicebus/azure-servicebus/samples/sync_samples/session_send_receive.py @@ -43,15 +43,15 @@ def send_batch_message(sender): def receive_batch_message(receiver): session = receiver.session - session.set_session_state("START") - print("Session state:", session.get_session_state()) + session.set_state("START") + print("Session state:", session.get_state()) received_msgs = receiver.receive_messages(max_batch_size=10, max_wait_time=5) for msg in received_msgs: print(str(msg)) msg.complete() session.renew_lock() - session.set_session_state("END") - print("Session state:", session.get_session_state()) + session.set_state("END") + print("Session state:", session.get_state()) if __name__ == '__main__': diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_namespaces_async.test_async_mgmt_namespace_get_properties.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_namespaces_async.test_async_mgmt_namespace_get_properties.yaml new file mode 100644 index 000000000000..95e5f4453e1b --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_namespaces_async.test_async_mgmt_namespace_get_properties.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$namespaceinfo?api-version=2017-04 + response: + body: + string: https://servicebustesttcenhmsucx.servicebus.windows.net/$namespaceinfo?api-version=2017-04servicebustesttcenhmsucx2020-08-19T23:03:55Zservicebustesttcenhmsucx2020-08-19T23:02:52.63ZStandard2020-08-19T23:02:52.63ZservicebustesttcenhmsucxMessaging + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Wed, 19 Aug 2020 23:03:54 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustesttcenhmsucx.servicebus.windows.net/$namespaceinfo?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml index cb60c37f3645..dbdaf4963077 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:06Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:22Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:06 GMT + date: Mon, 17 Aug 2020 08:03:22 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04eidk2020-07-02T06:04:06Z2020-07-02T06:04:06Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04eidk2020-08-17T08:03:23Z2020-08-17T08:03:23Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:06.657Z2020-07-02T06:04:06.763ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:23.383Z2020-08-17T08:03:23.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:07 GMT + date: Mon, 17 Aug 2020 08:03:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-07-02T06:04:06Z2020-07-02T06:04:06Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-08-17T08:03:23Z2020-08-17T08:03:23Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:06.657Z2020-07-02T06:04:06.763Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:23.383Z2020-08-17T08:03:23.493Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:07 GMT - etag: '637292666467630000' + date: Mon, 17 Aug 2020 08:03:24 GMT + etag: '637332482034930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:07 GMT - etag: '637292666467630000' + date: Mon, 17 Aug 2020 08:03:24 GMT + etag: '637332482034930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml index 1b0f098243a5..32ebcd073691 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:08Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:25Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:07 GMT + date: Mon, 17 Aug 2020 08:03:25 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-07-02T06:04:08Z2020-07-02T06:04:08Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-08-17T08:03:26Z2020-08-17T08:03:26Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:08.8Z2020-07-02T06:04:08.833ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:26.427Z2020-08-17T08:03:26.457ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:08 GMT + date: Mon, 17 Aug 2020 08:03:26 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: ' @@ -67,33 +67,33 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:55eddc8a-0c9c-4242-88fc-41a623f6586d_G4, - SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-07-02T06:04:09 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:d101ace7-4956-4c77-819c-5bed2275081f_G9, + SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-08-17T08:03:27 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:08 GMT - etag: '637292666488330000' + date: Mon, 17 Aug 2020 08:03:26 GMT + etag: '637332482064570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: @@ -101,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:09 GMT - etag: '637292666488330000' + date: Mon, 17 Aug 2020 08:03:27 GMT + etag: '637332482064570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml index 125d28a8265e..6e2b07ee2ae1 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:10Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:28Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:10 GMT + date: Mon, 17 Aug 2020 08:03:28 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-07-02T06:04:11Z2020-07-02T06:04:11Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-08-17T08:03:29Z2020-08-17T08:03:29Zservicebustest32ip2wgoaaPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T06:04:11.077Z2020-07-02T06:04:11.273ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:03:29.21Z2020-08-17T08:03:29.32ZtruePT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:11 GMT + date: Mon, 17 Aug 2020 08:03:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-07-02T06:04:11Z2020-07-02T06:04:11Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-08-17T08:03:29Z2020-08-17T08:03:29Zservicebustest32ip2wgoaaPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T06:04:11.077Z2020-07-02T06:04:11.273Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:03:29.21Z2020-08-17T08:03:29.32Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:11 GMT - etag: '637292666512730000' + date: Mon, 17 Aug 2020 08:03:30 GMT + etag: '637332482093200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:12 GMT - etag: '637292666512730000' + date: Mon, 17 Aug 2020 08:03:30 GMT + etag: '637332482093200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml index f18883f1527b..aae99bbb3fd5 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:13Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:31Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:13 GMT + date: Mon, 17 Aug 2020 08:03:31 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,54 +34,54 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:14 GMT + date: Mon, 17 Aug 2020 08:03:32 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:14Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:32Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:14 GMT + date: Mon, 17 Aug 2020 08:03:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -95,67 +95,67 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:15 GMT + date: Mon, 17 Aug 2020 08:03:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:15Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:13Z2020-07-02T06:04:13Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:34Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:13.54Z2020-07-02T06:04:13.623Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:15 GMT + date: Mon, 17 Aug 2020 08:03:34 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -163,49 +163,49 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:16 GMT - etag: '637292666536230000' + date: Mon, 17 Aug 2020 08:03:34 GMT + etag: '637332482117670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:16Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:14Z2020-07-02T06:04:14Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:35Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:14.87Z2020-07-02T06:04:14.9Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:16 GMT + date: Mon, 17 Aug 2020 08:03:35 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -213,34 +213,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:17 GMT - etag: '637292666549000000' + date: Mon, 17 Aug 2020 08:03:35 GMT + etag: '637332482132570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:17Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:36Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:17 GMT + date: Mon, 17 Aug 2020 08:03:36 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml index 4de2c8bec0eb..e43657c3a5a5 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:18Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:37Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:17 GMT + date: Mon, 17 Aug 2020 08:03:36 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:18Z2020-07-02T06:04:18Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:37Z2020-08-17T08:03:37Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:18.83Z2020-07-02T06:04:18.89ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:37.74Z2020-08-17T08:03:37.77ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:18 GMT + date: Mon, 17 Aug 2020 08:03:38 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:19Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:18Z2020-07-02T06:04:18Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:38Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:37Z2020-08-17T08:03:37Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:18.83Z2020-07-02T06:04:18.89Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:37.74Z2020-08-17T08:03:37.77Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:19 GMT + date: Mon, 17 Aug 2020 08:03:38 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -96,82 +96,82 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:19 GMT - etag: '637292666588900000' + date: Mon, 17 Aug 2020 08:03:39 GMT + etag: '637332482177700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:20Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:40Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:20 GMT + date: Mon, 17 Aug 2020 08:03:39 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:b7677f1e-0eb4-430b-bb95-f565b8cd4de4_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-07-02T06:04:21 + address. TrackingId:220775a9-fa27-4b64-91fc-2785f263e242_G11, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-08-17T08:03:40 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:20 GMT + date: Mon, 17 Aug 2020 08:03:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:3e9eaea5-07b9-4e8c-9512-f2a5bd5fea3f_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-07-02T06:04:21 + address. TrackingId:6d11bd38-760b-48ea-88fb-f0b414d2e284_G11, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-08-17T08:03:41 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:21 GMT + date: Mon, 17 Aug 2020 08:03:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/non_existing_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/non_existing_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml index d848ada1c118..9600157d5108 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:22Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:41Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:21 GMT + date: Mon, 17 Aug 2020 08:03:41 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04queue02020-07-02T06:04:22Z2020-07-02T06:04:22Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04queue02020-08-17T08:03:42Z2020-08-17T08:03:42Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:22.717Z2020-07-02T06:04:22.757ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:42.25Z2020-08-17T08:03:42.3ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:22 GMT + date: Mon, 17 Aug 2020 08:03:42 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T06:04:23Z2020-07-02T06:04:23Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:03:43Z2020-08-17T08:03:43Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:23.603Z2020-07-02T06:04:23.637ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:43.33Z2020-08-17T08:03:43.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:23 GMT + date: Mon, 17 Aug 2020 08:03:43 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04 - request: body: ' @@ -100,26 +100,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T06:04:24Z2020-07-02T06:04:24Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:03:44Z2020-08-17T08:03:44Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:24.45Z2020-07-02T06:04:24.49ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:44.203Z2020-08-17T08:03:44.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:24 GMT + date: Mon, 17 Aug 2020 08:03:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04 - request: body: ' @@ -133,26 +133,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T06:04:25Z2020-07-02T06:04:25Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:03:45Z2020-08-17T08:03:45Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:25.443Z2020-07-02T06:04:25.48ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:45.17Z2020-08-17T08:03:45.25ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:25 GMT + date: Mon, 17 Aug 2020 08:03:45 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04 - request: body: ' @@ -166,26 +166,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:03:46Z2020-08-17T08:03:46Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.393Z2020-07-02T06:04:26.483ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:46.343Z2020-08-17T08:03:46.387ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:26 GMT + date: Mon, 17 Aug 2020 08:03:46 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04 - request: body: ' @@ -199,26 +199,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T06:04:27Z2020-07-02T06:04:27Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:03:47Z2020-08-17T08:03:47Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:27.327Z2020-07-02T06:04:27.36ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:47.493Z2020-08-17T08:03:47.527ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:27 GMT + date: Mon, 17 Aug 2020 08:03:47 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04 - request: body: ' @@ -232,26 +232,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T06:04:28Z2020-07-02T06:04:28Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:03:48Z2020-08-17T08:03:48Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:28.32Z2020-07-02T06:04:28.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:48.587Z2020-08-17T08:03:48.633ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:28 GMT + date: Mon, 17 Aug 2020 08:03:48 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04 - request: body: ' @@ -265,26 +265,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T06:04:29Z2020-07-02T06:04:29Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:03:49Z2020-08-17T08:03:49Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:29.18Z2020-07-02T06:04:29.22ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:49.557Z2020-08-17T08:03:49.587ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:28 GMT + date: Mon, 17 Aug 2020 08:03:49 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04 - request: body: ' @@ -298,26 +298,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:03:50Z2020-08-17T08:03:50Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.113Z2020-07-02T06:04:30.173ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:50.71Z2020-08-17T08:03:50.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:29 GMT + date: Mon, 17 Aug 2020 08:03:51 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04 - request: body: ' @@ -331,33 +331,33 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T06:04:31Z2020-07-02T06:04:31Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:03:52Z2020-08-17T08:03:52Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:31.037Z2020-07-02T06:04:31.1ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:52.15Z2020-08-17T08:03:52.18ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:30 GMT + date: Mon, 17 Aug 2020 08:03:52 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: @@ -365,97 +365,97 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:31 GMT - etag: '637292666627570000' + date: Mon, 17 Aug 2020 08:03:52 GMT + etag: '637332482223000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:32Zhttps://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T06:04:23Z2020-07-02T06:04:23Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:53Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:03:43Z2020-08-17T08:03:43Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:23.603Z2020-07-02T06:04:23.637Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:43.33Z2020-08-17T08:03:43.37Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T06:04:24Z2020-07-02T06:04:24Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:03:44Z2020-08-17T08:03:44Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:24.45Z2020-07-02T06:04:24.49Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:44.203Z2020-08-17T08:03:44.233Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T06:04:25Z2020-07-02T06:04:25Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:03:45Z2020-08-17T08:03:45Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:25.443Z2020-07-02T06:04:25.48Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:45.17Z2020-08-17T08:03:45.25Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:03:46Z2020-08-17T08:03:46Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.393Z2020-07-02T06:04:26.483Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:46.343Z2020-08-17T08:03:46.387Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T06:04:27Z2020-07-02T06:04:27Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:03:47Z2020-08-17T08:03:47Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:27.327Z2020-07-02T06:04:27.36Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:47.493Z2020-08-17T08:03:47.527Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T06:04:28Z2020-07-02T06:04:28Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:03:48Z2020-08-17T08:03:48Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:28.32Z2020-07-02T06:04:28.377Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:48.587Z2020-08-17T08:03:48.633Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T06:04:29Z2020-07-02T06:04:29Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:03:49Z2020-08-17T08:03:49Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:29.18Z2020-07-02T06:04:29.22Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:49.557Z2020-08-17T08:03:49.587Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:03:50Z2020-08-17T08:03:50Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.113Z2020-07-02T06:04:30.173Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:50.71Z2020-08-17T08:03:50.803Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T06:04:31Z2020-07-02T06:04:31Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:03:52Z2020-08-17T08:03:52Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:31.037Z2020-07-02T06:04:31.1Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:52.15Z2020-08-17T08:03:52.18Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:31 GMT + date: Mon, 17 Aug 2020 08:03:53 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: @@ -463,21 +463,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:32 GMT - etag: '637292666636370000' + date: Mon, 17 Aug 2020 08:03:54 GMT + etag: '637332482233700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: @@ -485,21 +485,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:32 GMT - etag: '637292666644900000' + date: Mon, 17 Aug 2020 08:03:54 GMT + etag: '637332482242330000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: @@ -507,21 +507,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:33 GMT - etag: '637292666654800000' + date: Mon, 17 Aug 2020 08:03:55 GMT + etag: '637332482252500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: @@ -529,21 +529,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:33 GMT - etag: '637292666664830000' + date: Mon, 17 Aug 2020 08:03:55 GMT + etag: '637332482263870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: @@ -551,21 +551,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:34 GMT - etag: '637292666673600000' + date: Mon, 17 Aug 2020 08:03:56 GMT + etag: '637332482275270000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: @@ -573,21 +573,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:34 GMT - etag: '637292666683770000' + date: Mon, 17 Aug 2020 08:03:57 GMT + etag: '637332482286330000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: @@ -595,21 +595,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:35 GMT - etag: '637292666692200000' + date: Mon, 17 Aug 2020 08:03:57 GMT + etag: '637332482295870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: @@ -617,21 +617,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:35 GMT - etag: '637292666701730000' + date: Mon, 17 Aug 2020 08:03:58 GMT + etag: '637332482308030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: @@ -639,34 +639,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:37 GMT - etag: '637292666711000000' + date: Mon, 17 Aug 2020 08:03:59 GMT + etag: '637332482321800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:37Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:00Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:37 GMT + date: Mon, 17 Aug 2020 08:03:59 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..aaac23e10f1a --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_basic.yaml @@ -0,0 +1,107 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:00Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:00 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:01Z2020-08-17T08:04:01Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:01.617Z2020-08-17T08:04:01.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:01 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-08-17T08:04:01Z2020-08-17T08:04:01Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:01.617Z2020-08-17T08:04:01.647Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:01 GMT + etag: '637332482416470000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?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) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 08:04:02 GMT + etag: '637332482416470000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_negative.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_negative.yaml new file mode 100644 index 000000000000..7102a991620a --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_properties_negative.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 + response: + body: + string: Publicly + Listed ServicesThis is the list of publicly-listed + services currently available.uuid:e4e29a83-4283-42c2-b898-651ab270db36;id=334962020-08-17T08:04:04ZService + Bus 1.1 + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:04 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml index 3292c96ab6aa..df6310484979 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml @@ -5,44 +5,44 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:24Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:05Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:23 GMT + date: Mon, 17 Aug 2020 08:04:05 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:24Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:05Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:24 GMT + date: Mon, 17 Aug 2020 08:04:05 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -56,61 +56,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:25Z2020-07-02T06:08:25Zservicebustestrp7fuwfdj2https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:06Z2020-08-17T08:04:06Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:25.31Z2020-07-02T06:08:25.337ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:06.12Z2020-08-17T08:04:06.15ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:25 GMT + date: Mon, 17 Aug 2020 08:04:06 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:26Zhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:25Z2020-07-02T06:08:25Zservicebustestrp7fuwfdj2Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:07Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:06Z2020-08-17T08:04:06Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:25.31Z2020-07-02T06:08:25.337Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:06.12Z2020-08-17T08:04:06.15Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:25 GMT + date: Mon, 17 Aug 2020 08:04:06 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -118,58 +118,58 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:08:26 GMT - etag: '637292669053370000' + date: Mon, 17 Aug 2020 08:04:07 GMT + etag: '637332482461500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:27Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:08Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:26 GMT + date: Mon, 17 Aug 2020 08:04:08 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:27Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:09Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:27 GMT + date: Mon, 17 Aug 2020 08:04:08 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -183,61 +183,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:28Z2020-07-02T06:08:28Zservicebustestrp7fuwfdj2https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:09Z2020-08-17T08:04:09Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:28.147Z2020-07-02T06:08:28.173ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:09.467Z2020-08-17T08:04:09.547ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:28 GMT + date: Mon, 17 Aug 2020 08:04:09 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:29Zhttps://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:08:28Z2020-07-02T06:08:28Zservicebustestrp7fuwfdj2Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:10Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:09Z2020-08-17T08:04:09Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:08:28.147Z2020-07-02T06:08:28.173Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:09.467Z2020-08-17T08:04:09.547Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:28 GMT + date: Mon, 17 Aug 2020 08:04:10 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -245,34 +245,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:08:29 GMT - etag: '637292669081730000' + date: Mon, 17 Aug 2020 08:04:10 GMT + etag: '637332482495470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:08:30Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:11Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:08:29 GMT + date: Mon, 17 Aug 2020 08:04:10 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestrp7fuwfdj2.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_properties_basic.yaml new file mode 100644 index 000000000000..fee1c62fbae2 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_properties_basic.yaml @@ -0,0 +1,201 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:12Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:11 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:12Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:13Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:13Z2020-08-17T08:04:13Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:13.727Z2020-08-17T08:04:13.753ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:13 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:14Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:13Z2020-08-17T08:04:13Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:13.727Z2020-08-17T08:04:13.753Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:14 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:15Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:13Z2020-08-17T08:04:13Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:13.727Z2020-08-17T08:04:13.753Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:14 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 08:04:15 GMT + etag: '637332482537530000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:16Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:04:15 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml index f037c724f47b..7040ecef6260 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml @@ -5,46 +5,46 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:6ea4d709-8d63-4810-b92e-b0f4647c6118_G7, + string: 401claim is empty or token is invalid. TrackingId:0f51f908-405a-4e0a-825e-8cfb125b7688_G13, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-07-02T06:04:52 + Timestamp:2020-08-17T08:04:16 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:52 GMT + date: Mon, 17 Aug 2020 08:04:16 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:f748baba-e251-4863-b082-2aadfe6d9dfe_G1, + string: 401claim is empty or token is invalid. TrackingId:bd5947d7-3f24-4a6f-9f80-0117ce0467d8_G9, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-07-02T06:04:52 + Timestamp:2020-08-17T08:04:17 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:51 GMT + date: Mon, 17 Aug 2020 08:04:17 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml index 2fe7d19ce4c1..d36bcbd5f4ee 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml @@ -5,44 +5,44 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:52Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:51 GMT + date: Mon, 17 Aug 2020 08:04:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:53Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:52 GMT + date: Mon, 17 Aug 2020 08:04:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -56,61 +56,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:53Z2020-07-02T06:04:53Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:04:19Z2020-08-17T08:04:19Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:53.713Z2020-07-02T06:04:53.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:19.12Z2020-08-17T08:04:19.223ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:53 GMT + date: Mon, 17 Aug 2020 08:04:19 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:54Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:04:53Z2020-07-02T06:04:53Zservicebustest5levlyksxmQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:20Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:04:19Z2020-08-17T08:04:19Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:53.713Z2020-07-02T06:04:53.79Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:19.12Z2020-08-17T08:04:19.223Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:53 GMT + date: Mon, 17 Aug 2020 08:04:19 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -118,34 +118,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:55 GMT - etag: '637292666937900000' + date: Mon, 17 Aug 2020 08:04:20 GMT + etag: '637332482592230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:55Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:55 GMT + date: Mon, 17 Aug 2020 08:04:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml index 66ea5737f19d..442e820bddd4 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:56Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:55 GMT + date: Mon, 17 Aug 2020 08:04:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-07-02T06:04:56Z2020-07-02T06:04:56Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-08-17T08:04:22Z2020-08-17T08:04:22Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:56.54Z2020-07-02T06:04:56.6ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:56 GMT + date: Mon, 17 Aug 2020 08:04:22 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -70,32 +70,32 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:6e78df5b-7ea1-4c5b-ad9a-b7bbbbb7be0e_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, - Timestamp:2020-07-02T06:04:57 + . TrackingId:1470bbfe-cca9-4311-b016-fcfd9a788b87_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, + Timestamp:2020-08-17T08:04:23 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:56 GMT - etag: '637292666966000000' + date: Mon, 17 Aug 2020 08:04:22 GMT + etag: '637332482625730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -106,31 +106,31 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkfrgx?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:5ce751c4-5590-4fa6-a513-e833c3328a2f_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, - Timestamp:2020-07-02T06:04:57 + . TrackingId:88959bfd-479a-40e2-b8ab-70207391c4fe_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, + Timestamp:2020-08-17T08:04:24 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:57 GMT + date: Mon, 17 Aug 2020 08:04:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkfrgx?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkfrgx?api-version=2017-04 - request: body: ' P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:56.540Z2020-07-02T06:04:56.600ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -141,7 +141,7 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: @@ -152,26 +152,26 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:14dfc377-879d-4a0b-b1d7-b7ac2d6489cc_G5, - SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-07-02T06:04:57' + Actual value was 25.00:00:00. TrackingId:c125f7b9-9a85-4c33-8b62-1725c8ee22dd_G5, + SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-08-17T08:04:24' headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:04:57 GMT - etag: '637292666966000000' + date: Mon, 17 Aug 2020 08:04:23 GMT + etag: '637332482625730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: @@ -179,12 +179,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:57 GMT - etag: '637292666966000000' + date: Mon, 17 Aug 2020 08:04:24 GMT + etag: '637332482625730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml index d3a11852f52c..427362042cfb 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:59Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:25Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:59 GMT + date: Mon, 17 Aug 2020 08:04:25 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:04:59Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.14ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:00 GMT + date: Mon, 17 Aug 2020 08:04:26 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:59.700Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:04:26.110Z2020-08-17T08:04:26.140ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -70,62 +70,62 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:05:00Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Zservicebustest32ip2wgoaaPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:04:59.777ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.14ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:00 GMT - etag: '637292666997770000' + date: Mon, 17 Aug 2020 08:04:26 GMT + etag: '637332482661400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:05:00Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaaPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:00 GMT - etag: '637292667003130000' + date: Mon, 17 Aug 2020 08:04:26 GMT + etag: '637332482666670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T06:04:59.700Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-08-17T08:04:26.110Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -136,63 +136,63 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-07-02T06:05:00Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Zservicebustest32ip2wgoaaPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.313Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:00 GMT - etag: '637292667003130000' + date: Mon, 17 Aug 2020 08:04:26 GMT + etag: '637332482666670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-07-02T06:04:59Z2020-07-02T06:05:00Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaaPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T06:04:59.7Z2020-07-02T06:05:00.46Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.97Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:00 GMT - etag: '637292667004600000' + date: Mon, 17 Aug 2020 08:04:27 GMT + etag: '637332482669700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: @@ -200,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:01 GMT - etag: '637292667004600000' + date: Mon, 17 Aug 2020 08:04:27 GMT + etag: '637332482669700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml index 340889052687..d6f7144bbcff 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestviy6yieihi.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-17T02:29:56Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:28Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:56 GMT + date: Mon, 17 Aug 2020 08:04:27 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-17T02:29:56Z2020-07-17T02:29:57Zservicebustestviy6yieihihttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:04:29Z2020-08-17T08:04:29Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-17T02:29:56.967Z2020-07-17T02:29:57.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:29.083Z2020-08-17T08:04:29.117ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:56 GMT + date: Mon, 17 Aug 2020 08:04:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -67,41 +67,41 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-17T02:29:57Z2020-07-17T02:29:57Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:04:29Z2020-08-17T08:04:29ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-17T02:29:57.5311135Z2020-07-17T02:29:57.5311135Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:29.7242182Z2020-08-17T08:04:29.7242182Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: ' testcidkey_stringstr1key_int2key_long2147483650key_boolfalsekey_datetime2020-07-05T11:12:13key_durationP1DT2H3Mstr1key_int2key_long2147483650key_boolfalsekey_datetime2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:13test_rule_1' + xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13test_rule_1' headers: Accept: - application/xml @@ -110,14 +110,14 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-17T02:29:57Z2020-07-17T02:29:57Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:30Z2020-08-17T08:04:30Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-07-17T02:29:57.7811732Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:132020-08-17T08:04:30.0367819Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-07-17T02:29:57Z2020-07-17T02:29:57Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-08-17T08:04:30Z2020-08-17T08:04:30Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-07-17T02:29:57.7591895Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:132020-08-17T08:04:30.0302802Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 - request: body: ' Priority = @param120@param1str1str1test_rule_2' headers: Accept: @@ -190,60 +190,60 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-17T02:29:57Z2020-07-17T02:29:57Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:30Z2020-08-17T08:04:30ZPriority = @param120@param1str12020-07-17T02:29:57.9998237Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:04:30.1773498Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-07-17T02:29:57Z2020-07-17T02:29:57Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-08-17T08:04:30Z2020-08-17T08:04:30ZPriority = @param120@param1str12020-07-17T02:29:57.9779356Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:04:30.186477Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 - request: body: ' @@ -259,63 +259,63 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-17T02:29:58Z2020-07-17T02:29:58Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:30Z2020-08-17T08:04:30Z1=1202020-07-17T02:29:58.2189657Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:04:30.3179697Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-07-17T02:29:58Z2020-07-17T02:29:58Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-08-17T08:04:30Z2020-08-17T08:04:30Z1=1202020-07-17T02:29:58.2138767Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:04:30.3271403Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Fri, 17 Jul 2020 02:29:57 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: @@ -323,21 +323,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 17 Jul 2020 02:29:58 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:29 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: @@ -345,21 +345,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 17 Jul 2020 02:29:58 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:30 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: @@ -367,21 +367,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 17 Jul 2020 02:29:58 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:30 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -389,21 +389,21 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 17 Jul 2020 02:29:58 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:30 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -411,12 +411,12 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 17 Jul 2020 02:29:58 GMT - etag: '637305497970400000' + date: Mon, 17 Aug 2020 08:04:31 GMT + etag: '637332482691170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustestviy6yieihi.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml index 346613b03c38..b5614cc57fd4 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:04Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:32Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:04 GMT + date: Mon, 17 Aug 2020 08:04:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:05Z2020-07-02T06:05:05Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:04:33Z2020-08-17T08:04:33Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:05.173Z2020-07-02T06:05:05.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:33.18Z2020-08-17T08:04:33.217ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:05 GMT + date: Mon, 17 Aug 2020 08:04:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -67,106 +67,106 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T06:05:05Z2020-07-02T06:05:05Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T08:04:34Z2020-08-17T08:04:34ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:05.6834019Z2020-07-02T06:05:05.6834019Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:34.0371816Z2020-08-17T08:04:34.0371816Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:05 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:34 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' Priority = ''low''Priority = ''low''20rule' headers: Accept: - application/xml Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-07-02T06:05:05Z2020-07-02T06:05:05Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-08-17T08:04:34Z2020-08-17T08:04:34ZPriority = 'low'202020-07-02T06:05:05.9958288Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:04:34.3340559Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:05 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:34 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: ' Priority = ''low''Priority = ''low''20rule' headers: Accept: - application/xml Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f9f7a3a8-6c42-4729-aa97-a7986ded6f38_B9, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:06 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f947331b-cc06-4063-9ba5-a892a99ee380_B10, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:04:34 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:06 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:35 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: @@ -174,21 +174,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:06 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:35 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: @@ -196,21 +196,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:06 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:36 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -218,12 +218,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:07 GMT - etag: '637292667052100000' + date: Mon, 17 Aug 2020 08:04:36 GMT + etag: '637332482732170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml index 8da523145b8c..a2d942be7f37 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:08Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:37Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:07 GMT + date: Mon, 17 Aug 2020 08:04:36 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:09Z2020-07-02T06:05:09Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:04:38Z2020-08-17T08:04:38Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:09.037Z2020-07-02T06:05:09.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:38.12Z2020-08-17T08:04:38.2ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:08 GMT + date: Mon, 17 Aug 2020 08:04:37 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -67,229 +67,229 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T06:05:09Z2020-07-02T06:05:09Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:04:38Z2020-08-17T08:04:38ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:09.6338697Z2020-07-02T06:05:09.6338697Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:38.7090494Z2020-08-17T08:04:38.7090494Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:08 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:38 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:09Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38Z1=1202020-07-02T06:05:09.6380691Z$Default + i:type="EmptyRuleAction"/>2020-08-17T08:04:38.7049536Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:08 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:38 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: ' Priority = ''low''Priority = ''low''20test_rule_1' headers: Accept: - application/xml Content-Length: - - '463' + - '506' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'low'202020-07-02T06:05:09.9775989Ztest_rule_1 + i:type="EmptyRuleAction"/>2020-08-17T08:04:39.2089547Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:38 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: ' Priority = ''middle''Priority = ''middle''20test_rule_2' headers: Accept: - application/xml Content-Length: - - '466' + - '509' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T06:05:10Z2020-07-02T06:05:10Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'middle'202020-07-02T06:05:10.0557241Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:04:39.5839796Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:38 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: ' Priority = ''high''Priority = ''high''20test_rule_3' headers: Accept: - application/xml Content-Length: - - '464' + - '507' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'high'202020-07-02T06:05:10.2119905Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:04:39.6776982Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38Z1=1202020-07-02T06:05:09.6380691Z$Defaulthttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09Z2020-08-17T08:04:38.7049536Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'low'202020-07-02T06:05:09.9661758Ztest_rule_1https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T06:05:10Z2020-07-02T06:05:10Z2020-08-17T08:04:39.22055Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'middle'202020-07-02T06:05:10.0599015Ztest_rule_2https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10Z2020-08-17T08:04:39.5734238Ztest_rule_2https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'high'202020-07-02T06:05:10.2161502Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:04:39.6677679Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: @@ -297,65 +297,65 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38Z1=1202020-07-02T06:05:09.6380691Z$Defaulthttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T06:05:09Z2020-07-02T06:05:09Z2020-08-17T08:04:38.7049536Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'low'202020-07-02T06:05:09.9661758Ztest_rule_1https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T06:05:10Z2020-07-02T06:05:10Z2020-08-17T08:04:39.22055Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39ZPriority = 'high'202020-07-02T06:05:10.2161502Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:04:39.6677679Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: @@ -363,21 +363,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: @@ -385,51 +385,51 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:10Zhttps://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T06:05:09Z2020-07-02T06:05:09ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:40Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38Z1=1202020-07-02T06:05:09.6380691Z$Default + i:type="EmptyRuleAction"/>2020-08-17T08:04:38.7049536Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -437,21 +437,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:09 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:39 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -459,12 +459,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:10 GMT - etag: '637292667091100000' + date: Mon, 17 Aug 2020 08:04:40 GMT + etag: '637332482782000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml index 0c7b3cdf15d1..e0c33602cc08 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:11Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:10 GMT + date: Mon, 17 Aug 2020 08:04:41 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:12Z2020-07-02T06:05:12Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:04:42Z2020-08-17T08:04:42Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:12.223Z2020-07-02T06:05:12.32ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:42.71Z2020-08-17T08:04:42.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:11 GMT + date: Mon, 17 Aug 2020 08:04:42 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -67,137 +67,137 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:12Z2020-07-02T06:05:12Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:04:43Z2020-08-17T08:04:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:12.7588531Z2020-07-02T06:05:12.7588531Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:43.5743103Z2020-08-17T08:04:43.5743103Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:12 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:43 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' Priority = ''low''Priority = ''low''20rule' headers: Accept: - application/xml Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:13Z2020-07-02T06:05:13Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:43Z2020-08-17T08:04:43ZPriority = 'low'202020-07-02T06:05:13.0869586Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:04:43.8555806Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:12 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:43 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:13Z2020-07-02T06:05:13Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:43Z2020-08-17T08:04:43ZPriority = 'low'202020-07-02T06:05:13.089767Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:04:43.8608826Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:12 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:43 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' Priority = ''low''2020-07-02T06:05:13.089767Ziewdm' + xsi:type="SqlFilter">Priority = ''low''202020-08-17T08:04:43.860882Ziewdm' headers: Accept: - application/xml Content-Length: - - '507' + - '550' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:68ba35f0-0933-4bb8-8abc-d0eb496212cd_B7, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:13 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a054e5a6-aec8-4dcf-9500-53c7083925ac_B14, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:04:44 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:14 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:45 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: @@ -205,21 +205,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:14 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:45 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -227,21 +227,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:14 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:45 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -249,12 +249,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:14 GMT - etag: '637292667123200000' + date: Mon, 17 Aug 2020 08:04:46 GMT + etag: '637332482827900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml index 4aae782d9d78..685e218995f8 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:15Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:47Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:15 GMT + date: Mon, 17 Aug 2020 08:04:47 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:15Z2020-07-02T06:05:16Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:04:48Z2020-08-17T08:04:48Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:15.947Z2020-07-02T06:05:16.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:48.34Z2020-08-17T08:04:48.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT + date: Mon, 17 Aug 2020 08:04:48 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -67,168 +67,168 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:16Z2020-07-02T06:05:16Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:04:49Z2020-08-17T08:04:49ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:16.5474086Z2020-07-02T06:05:16.5474086Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:49.0772892Z2020-08-17T08:04:49.0772892Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:48 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' Priority = ''low''Priority = ''low''20rule' headers: Accept: - application/xml Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49ZPriority = 'low'202020-07-02T06:05:16.7974449Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:04:49.3742351Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:48 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49ZPriority = 'low'202020-07-02T06:05:16.8002336Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:04:49.3770845Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:48 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' testcidSET Priority = ''low''2020-07-02T06:05:16.800233Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''202020-08-17T08:04:49.377084Zrule' headers: Accept: - application/xml Content-Length: - - '561' + - '604' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49ZtestcidSET Priority = 'low'202020-07-02T06:05:16.9072254Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-08-17T08:04:49.7648705Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:49 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T06:05:16Z2020-07-02T06:05:16Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49ZtestcidSET Priority = 'low'202020-07-02T06:05:16.8002336Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-08-17T08:04:49.3770845Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:49 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: @@ -236,21 +236,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:49 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -258,21 +258,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:16 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:49 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -280,12 +280,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:17 GMT - etag: '637292667160030000' + date: Mon, 17 Aug 2020 08:04:50 GMT + etag: '637332482883700000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml index 3a8dfef8b261..64158a1eade3 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:18Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:32Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:17 GMT + date: Mon, 17 Aug 2020 17:52:31 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:18Z2020-07-02T06:05:18Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T17:52:33Z2020-08-17T17:52:33Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:18.587Z2020-07-02T06:05:18.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:33.06Z2020-08-17T17:52:33.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:18 GMT + date: Mon, 17 Aug 2020 17:52:32 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -67,62 +67,62 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T06:05:19Z2020-07-02T06:05:19Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T17:52:33Z2020-08-17T17:52:33ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:19.108854Z2020-07-02T06:05:19.108854Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:33.6531071Z2020-08-17T17:52:33.6531071Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:18 GMT - etag: '637292667186470000' + date: Mon, 17 Aug 2020 17:52:32 GMT + etag: '637332835530900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-07-02T06:05:19Z2020-07-02T06:05:19Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-08-17T17:52:33Z2020-08-17T17:52:33ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:19.1114288Z2020-07-02T06:05:19.1114288Z2020-07-02T06:05:19.1114288ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:33.6663278Z2020-08-17T17:52:33.6663278Z2020-08-17T17:52:33.667Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:18 GMT - etag: '637292667186470000' + date: Mon, 17 Aug 2020 17:52:33 GMT + etag: '637332835530900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -130,21 +130,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:18 GMT - etag: '637292667186470000' + date: Mon, 17 Aug 2020 17:52:33 GMT + etag: '637332835530900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -152,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:19 GMT - etag: '637292667186470000' + date: Mon, 17 Aug 2020 17:52:33 GMT + etag: '637332835530900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml index 9c3892dc2b7c..de296a76101d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:20Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:35Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:19 GMT + date: Mon, 17 Aug 2020 17:52:35 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:21Z2020-07-02T06:05:21Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T17:52:36Z2020-08-17T17:52:36Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:21.103Z2020-07-02T06:05:21.22ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:36.563Z2020-08-17T17:52:36.61ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:21 GMT + date: Mon, 17 Aug 2020 17:52:36 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -67,27 +67,27 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T06:05:21Z2020-07-02T06:05:21Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T17:52:37Z2020-08-17T17:52:37ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:21.72853Z2020-07-02T06:05:21.72853Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:37.3459944Z2020-08-17T17:52:37.3459944Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:21 GMT - etag: '637292667212200000' + date: Mon, 17 Aug 2020 17:52:37 GMT + etag: '637332835566100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' @@ -101,32 +101,32 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a00a14e0-9a3e-44e3-916d-69b7da98a154_B0, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:21 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:2551c13a-cc7f-46e2-a97f-6c885fd51cb4_B7, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:52:37 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:22 GMT - etag: '637292667212200000' + date: Mon, 17 Aug 2020 17:52:38 GMT + etag: '637332835566100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: @@ -134,21 +134,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:22 GMT - etag: '637292667212200000' + date: Mon, 17 Aug 2020 17:52:38 GMT + etag: '637332835566100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -156,12 +156,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:23 GMT - etag: '637292667212200000' + date: Mon, 17 Aug 2020 17:52:39 GMT + etag: '637332835566100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml index 8d2d0585cc25..5b4283aa1a61 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:24Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:39Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:23 GMT + date: Mon, 17 Aug 2020 17:52:39 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T06:05:24Z2020-07-02T06:05:24Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T17:52:40Z2020-08-17T17:52:40Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:24.56Z2020-07-02T06:05:24.627ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:40.53Z2020-08-17T17:52:40.597ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:24 GMT + date: Mon, 17 Aug 2020 17:52:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: ' @@ -67,62 +67,62 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-07-02T06:05:25Z2020-07-02T06:05:25Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-08-17T17:52:41Z2020-08-17T17:52:41ZPT13StruePT11Mtruetrue014trueActive2020-07-02T06:05:25.0794503Z2020-07-02T06:05:25.0794503Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-08-17T17:52:41.1036652Z2020-08-17T17:52:41.1036652Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:24 GMT - etag: '637292667246270000' + date: Mon, 17 Aug 2020 17:52:40 GMT + etag: '637332835605970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-07-02T06:05:25Z2020-07-02T06:05:25Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-08-17T17:52:41Z2020-08-17T17:52:41ZPT13StruePT11Mtruetrue014trueActive2020-07-02T06:05:25.0871174Z2020-07-02T06:05:25.0871174Z2020-07-02T06:05:25.0871174ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:52:41.1120482Z2020-08-17T17:52:41.1120482Z2020-08-17T17:52:41.113Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:25 GMT - etag: '637292667246270000' + date: Mon, 17 Aug 2020 17:52:40 GMT + etag: '637332835605970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: @@ -130,21 +130,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:25 GMT - etag: '637292667246270000' + date: Mon, 17 Aug 2020 17:52:40 GMT + etag: '637332835605970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -152,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:25 GMT - etag: '637292667246270000' + date: Mon, 17 Aug 2020 17:52:41 GMT + etag: '637332835605970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml index 4accab6f1ff2..d63d46db53ef 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:26Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:43Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:26 GMT + date: Mon, 17 Aug 2020 17:52:43 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-07-02T06:05:26Z2020-07-02T06:05:27Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-08-17T17:52:43Z2020-08-17T17:52:43Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:26.967Z2020-07-02T06:05:27.037ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:43.803Z2020-08-17T17:52:43.857ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT + date: Mon, 17 Aug 2020 17:52:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04 - request: body: ' @@ -67,57 +67,57 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4897912Z2020-07-02T06:05:27.4897912Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.406279Z2020-08-17T17:52:44.406279Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:44 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:44Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:44 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -131,98 +131,98 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7865921Z2020-07-02T06:05:27.7865921Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7689345Z2020-08-17T17:52:44.7689345Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:44 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:45Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:44 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-07-02T06:05:27Z2020-07-02T06:05:27Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.4959109Z2020-07-02T06:05:27.497ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:45 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: @@ -230,51 +230,51 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:45 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:27Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T06:05:27Z2020-07-02T06:05:27ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:45Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713Z2020-07-02T06:05:27.7771713ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:45 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: @@ -282,45 +282,45 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:27 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:45 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:28Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:46Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:28 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:46 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: @@ -328,12 +328,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:28 GMT - etag: '637292667270370000' + date: Mon, 17 Aug 2020 17:52:46 GMT + etag: '637332835638570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..3cd03341e81f --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_properties_basic.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:48Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 17:52:47 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-08-17T17:52:48Z2020-08-17T17:52:48Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:48.813Z2020-08-17T17:52:48.88ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 17:52:48 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa?api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-08-17T17:52:49Z2020-08-17T17:52:49ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:49.6097542Z2020-08-17T17:52:49.6097542Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 17:52:49 GMT + etag: '637332835688800000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?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) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-08-17T17:52:49Z2020-08-17T17:52:49ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:49.6128254Z2020-08-17T17:52:49.6128254Z2020-08-17T17:52:49.613Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 17:52:49 GMT + etag: '637332835688800000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 17:52:49 GMT + etag: '637332835688800000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 17:52:49 GMT + etag: '637332835688800000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml index 4ffbd326d711..a17b223a5bc9 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:31Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:51Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:31 GMT + date: Mon, 17 Aug 2020 17:52:51 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,50 +34,50 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-07-02T06:05:31Z2020-07-02T06:05:32Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-08-17T17:52:52Z2020-08-17T17:52:52Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:31.99Z2020-07-02T06:05:32.03ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:52.37Z2020-08-17T17:52:52.423ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT + date: Mon, 17 Aug 2020 17:52:52 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:32Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:53Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:52 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -91,27 +91,27 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T06:05:32Z2020-07-02T06:05:32Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:52:53Z2020-08-17T17:52:53ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.5871316Z2020-07-02T06:05:32.5871316Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.0517055Z2020-08-17T17:52:53.0517055Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:52 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: ' @@ -125,70 +125,70 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T06:05:32Z2020-07-02T06:05:32Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:52:53Z2020-08-17T17:52:53ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.8684518Z2020-07-02T06:05:32.8684518Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.3017401Z2020-08-17T17:52:53.3017401Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:52 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:33Zhttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T06:05:32Z2020-07-02T06:05:32ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:53Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:52:53Z2020-08-17T17:52:53ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.5987936Z2020-07-02T06:05:32.5987936Z2020-07-02T06:05:32.6ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.0453949Z2020-08-17T17:52:53.0453949Z2020-08-17T17:52:53.047Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T06:05:32Z2020-07-02T06:05:32Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:52:53Z2020-08-17T17:52:53ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:32.8800426Z2020-07-02T06:05:32.8800426Z2020-07-02T06:05:32.8800426ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.3109419Z2020-08-17T17:52:53.3109419Z2020-08-17T17:52:53.3109419Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:52 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: @@ -196,21 +196,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:52 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: @@ -218,45 +218,45 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:53 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:33Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:54Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:32 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:53 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: @@ -264,12 +264,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:33 GMT - etag: '637292667320300000' + date: Mon, 17 Aug 2020 17:52:54 GMT + etag: '637332835724230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_properties.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_properties.yaml new file mode 100644 index 000000000000..907b36e2c674 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_properties.yaml @@ -0,0 +1,267 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestmkljlmkall.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:41Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:41 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-08-18T22:38:42Z2020-08-18T22:38:42ZservicebustestmkljlmkallP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-18T22:38:42.333Z2020-08-18T22:38:42.41ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv?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) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:42Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:42Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-18T22:38:43Z2020-08-18T22:38:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-18T22:38:43.0154309Z2020-08-18T22:38:43.0154309Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:43Zhttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-18T22:38:43Z2020-08-18T22:38:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-18T22:38:43.0275143Z2020-08-18T22:38:43.0275143Z2020-08-18T22:38:43.0275143Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:43Zhttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-18T22:38:43Z2020-08-18T22:38:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-18T22:38:43.0275143Z2020-08-18T22:38:43.0275143Z2020-08-18T22:38:43.0275143Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-18T22:38:43Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Tue, 18 Aug 2020 22:38:42 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 18 Aug 2020 22:38:43 GMT + etag: '637333871224100000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustestmkljlmkall.servicebus.windows.net/dkoamv?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml index fbcad63469e6..6fcf5cc48131 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:36Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:00Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:36 GMT + date: Mon, 17 Aug 2020 17:53:00 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T06:05:37Z2020-07-02T06:05:37Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T17:53:00Z2020-08-17T17:53:00Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:37.25Z2020-07-02T06:05:37.29ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:00.947Z2020-08-17T17:53:00.993ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:37 GMT + date: Mon, 17 Aug 2020 17:53:01 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' @@ -67,77 +67,77 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-07-02T06:05:37Z2020-07-02T06:05:37Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-08-17T17:53:01Z2020-08-17T17:53:01ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:37.7874307Z2020-07-02T06:05:37.7874307Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:01.4867582Z2020-08-17T17:53:01.4867582Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:37 GMT - etag: '637292667372900000' + date: Mon, 17 Aug 2020 17:53:01 GMT + etag: '637332835809930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:37.78743Z2020-07-02T06:05:37.78743Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:01.486758Z2020-08-17T17:53:01.486758Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1013' + - '1015' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:5ba1053f-829d-45d5-b4ba-f1368c0c8495_B2, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T06:05:37 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:4346d029-abb1-4ba2-b1af-d2af347db4cc_B1, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:01 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:38 GMT - etag: '637292667372900000' + date: Mon, 17 Aug 2020 17:53:02 GMT + etag: '637332835809930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 - request: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:37.78743Z2020-07-02T06:05:37.78743Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:01.486758Z2020-08-17T17:53:01.486758Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml Content-Length: - - '1013' + - '1015' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 response: @@ -148,26 +148,26 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:604322aa-3599-4d32-ac97-f1803911621f_G5, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-07-02T06:05:38' + Actual value was 25.00:00:00. TrackingId:68fe0954-2cec-4cba-8ec1-5844e3f55d84_G15, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-08-17T17:53:02' headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:39 GMT - etag: '637292667372900000' + date: Mon, 17 Aug 2020 17:53:03 GMT + etag: '637332835809930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: @@ -175,21 +175,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:39 GMT - etag: '637292667372900000' + date: Mon, 17 Aug 2020 17:53:04 GMT + etag: '637332835809930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -197,12 +197,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:40 GMT - etag: '637292667372900000' + date: Mon, 17 Aug 2020 17:53:04 GMT + etag: '637332835809930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml index 883c81d896a7..32df0a5e9297 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:41Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:06Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:40 GMT + date: Mon, 17 Aug 2020 17:53:06 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:05:41Z2020-07-02T06:05:41Zservicebustest5levlyksxmhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T17:53:06Z2020-08-17T17:53:06Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:41.593Z2020-07-02T06:05:41.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:06.777Z2020-08-17T17:53:06.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:41 GMT + date: Mon, 17 Aug 2020 17:53:07 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:42.134715Z2020-07-02T06:05:42.134715Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:07.3919992Z2020-08-17T17:53:07.3919992Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:07 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.134715Z2020-07-02T06:05:42.134715Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.391999Z2020-08-17T17:53:07.391999Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -103,61 +103,61 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.901395Z2020-07-02T06:05:42.901395Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.7208495Z2020-08-17T17:53:07.7208495Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:07 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:42Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T06:05:42.1327182Z2020-07-02T06:05:42.9139612Z2020-07-02T06:05:42.133ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.4057973Z2020-08-17T17:53:07.7339466Z2020-08-17T17:53:07.407Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:07 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:42.132718Z2020-07-02T06:05:42.913961Z2020-07-02T06:05:42.133Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:07.405797Z2020-08-17T17:53:07.733946Z2020-08-17T17:53:07.407Z00000PT10MAvailable' headers: Accept: - application/xml @@ -168,62 +168,62 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T06:05:43Z2020-07-02T06:05:43Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:08Z2020-08-17T17:53:08ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:43.0107454Z2020-07-02T06:05:43.0107454Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:08.0500523Z2020-08-17T17:53:08.0500523Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:07 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T06:05:42Z2020-07-02T06:05:43Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:08ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T06:05:42.1327182Z2020-07-02T06:05:43.0077112Z2020-07-02T06:05:42.133ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:07.4057973Z2020-08-17T17:53:08.0620809Z2020-08-17T17:53:07.407Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:07 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -231,21 +231,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:42 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:08 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -253,12 +253,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:43 GMT - etag: '637292667416400000' + date: Mon, 17 Aug 2020 17:53:08 GMT + etag: '637332835868070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml index 335e3d2e1656..dd0712ee934b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:44Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:25Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:43 GMT + date: Mon, 17 Aug 2020 08:05:24 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T06:05:44Z2020-07-02T06:05:44Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:05:26Z2020-08-17T08:05:26Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:44.767Z2020-07-02T06:05:44.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:26.287Z2020-08-17T08:05:26.39ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:44 GMT + date: Mon, 17 Aug 2020 08:05:25 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-07-02T06:05:44Z2020-07-02T06:05:44Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-08-17T08:05:26Z2020-08-17T08:05:26Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:44.767Z2020-07-02T06:05:44.803Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:26.2908399Z2020-08-17T08:05:26.2908399Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:44 GMT - etag: '637292667448030000' + date: Mon, 17 Aug 2020 08:05:25 GMT + etag: '637332483263900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:45 GMT - etag: '637292667448030000' + date: Mon, 17 Aug 2020 08:05:26 GMT + etag: '637332483263900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml index b136956ff61b..c4895e5a413d 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:46Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:28Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:46 GMT + date: Mon, 17 Aug 2020 08:05:27 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T06:05:47Z2020-07-02T06:05:47Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:05:28Z2020-08-17T08:05:28Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:47.083Z2020-07-02T06:05:47.14ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:28.483Z2020-08-17T08:05:28.513ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:47 GMT + date: Mon, 17 Aug 2020 08:05:28 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -67,33 +67,33 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:f25a2e69-120b-4b10-9d71-dc31c1f40c4d_G11, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-07-02T06:05:47 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:4c73173c-a0a8-406c-8352-583fdf86e8f4_G0, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-08-17T08:05:29 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:05:47 GMT - etag: '637292667471400000' + date: Mon, 17 Aug 2020 08:05:28 GMT + etag: '637332483285130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -101,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:47 GMT - etag: '637292667471400000' + date: Mon, 17 Aug 2020 08:05:29 GMT + etag: '637332483285130000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml index 0615775da0bf..0c8a17149963 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,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:48Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:30Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:47 GMT + date: Mon, 17 Aug 2020 08:05:30 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T06:05:49Z2020-07-02T06:05:49Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:05:31Z2020-08-17T08:05:31Zservicebustest32ip2wgoaaPT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T06:05:49.287Z2020-07-02T06:05:49.46ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:05:31.22Z2020-08-17T08:05:31.437ZfalsePT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:48 GMT + date: Mon, 17 Aug 2020 08:05:31 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T06:05:49Z2020-07-02T06:05:49Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:05:31Z2020-08-17T08:05:31Zservicebustest32ip2wgoaaPT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T06:05:49.287Z2020-07-02T06:05:49.46Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:05:31.22Z2020-08-17T08:05:31.437Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:48 GMT - etag: '637292667494600000' + date: Mon, 17 Aug 2020 08:05:31 GMT + etag: '637332483314370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:50 GMT - etag: '637292667494600000' + date: Mon, 17 Aug 2020 08:05:32 GMT + etag: '637332483314370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml index 9801890968b1..8d5384ba5b64 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:51Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:33Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:50 GMT + date: Mon, 17 Aug 2020 08:05:33 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,54 +34,54 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.637Z2020-07-02T06:05:51.663ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:51 GMT + date: Mon, 17 Aug 2020 08:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:52Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:34Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.637Z2020-07-02T06:05:51.663Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:52 GMT + date: Mon, 17 Aug 2020 08:05:34 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -95,95 +95,95 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:53 GMT + date: Mon, 17 Aug 2020 08:05:35 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:54Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:36Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.6573806Z2020-07-02T06:05:51.6573806Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:53 GMT + date: Mon, 17 Aug 2020 08:05:36 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T06:05:51Z2020-07-02T06:05:51Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:51.6573806Z2020-07-02T06:05:51.6573806Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:53 GMT - etag: '637292667516630000' + date: Mon, 17 Aug 2020 08:05:36 GMT + etag: '637332483338430000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -191,77 +191,77 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:54 GMT - etag: '637292667516630000' + date: Mon, 17 Aug 2020 08:05:36 GMT + etag: '637332483338430000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:55Zhttps://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:37Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:54 GMT + date: Mon, 17 Aug 2020 08:05:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-07-02T06:05:53Z2020-07-02T06:05:53Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:53.107Z2020-07-02T06:05:53.153Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:54 GMT - etag: '637292667531530000' + date: Mon, 17 Aug 2020 08:05:37 GMT + etag: '637332483356100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -269,34 +269,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:55 GMT - etag: '637292667531530000' + date: Mon, 17 Aug 2020 08:05:38 GMT + etag: '637332483356100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:56Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:39Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:55 GMT + date: Mon, 17 Aug 2020 08:05:38 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..7d479e7ee497 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_properties_basic.yaml @@ -0,0 +1,107 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:39Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:39 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:40Z2020-08-17T08:05:40Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:40.177Z2020-08-17T08:05:40.207ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:40 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?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) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:05:40Z2020-08-17T08:05:40Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:40.177Z2020-08-17T08:05:40.207Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:40 GMT + etag: '637332483402070000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 08:05:40 GMT + etag: '637332483402070000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml index 9d47b3e4a609..487cb8aaee18 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml @@ -5,44 +5,44 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:13Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:13 GMT + date: Mon, 17 Aug 2020 08:05:41 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:13Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:13 GMT + date: Mon, 17 Aug 2020 08:05:42 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -56,26 +56,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T06:06:14Z2020-07-02T06:06:14Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:05:43Z2020-08-17T08:05:43Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:14.3Z2020-07-02T06:06:14.347ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:43.1Z2020-08-17T08:05:43.13ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:14 GMT + date: Mon, 17 Aug 2020 08:05:43 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: ' @@ -89,67 +89,67 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T06:06:15Z2020-07-02T06:06:15Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:05:44Z2020-08-17T08:05:44Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:15.177Z2020-07-02T06:06:15.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:44.22Z2020-08-17T08:05:44.257ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:15 GMT + date: Mon, 17 Aug 2020 08:05:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:16Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T06:06:14Z2020-07-02T06:06:14Zservicebustest5levlyksxmTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:05:43Z2020-08-17T08:05:43Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:14.3Z2020-07-02T06:06:14.347Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:43.0970339Z2020-08-17T08:05:43.0970339Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T06:06:15Z2020-07-02T06:06:15Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:05:44Z2020-08-17T08:05:44Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:15.177Z2020-07-02T06:06:15.273Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:44.22Z2020-08-17T08:05:44.257Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:15 GMT + date: Mon, 17 Aug 2020 08:05:44 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: @@ -157,21 +157,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:16 GMT - etag: '637292667743470000' + date: Mon, 17 Aug 2020 08:05:45 GMT + etag: '637332483431300000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: @@ -179,34 +179,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:17 GMT - etag: '637292667752730000' + date: Mon, 17 Aug 2020 08:05:46 GMT + etag: '637332483442570000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:17Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:47Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:17 GMT + date: Mon, 17 Aug 2020 08:05:46 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_properties.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_properties.yaml new file mode 100644 index 000000000000..582c686597f3 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_properties.yaml @@ -0,0 +1,201 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:47Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:47 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:48Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:48Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:49Z2020-08-17T08:05:49Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:49.45Z2020-08-17T08:05:49.503ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=entry;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:49 GMT + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?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) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:50Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:49Z2020-08-17T08:05:49Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:49.45Z2020-08-17T08:05:49.503Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:50 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:51Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:49Z2020-08-17T08:05:49Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:49.45Z2020-08-17T08:05:49.503Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:51 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 17 Aug 2020 08:05:51 GMT + etag: '637332483495030000' + server: Microsoft-HTTPAPI/2.0 + strict-transport-security: max-age=31536000 + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:52Z + headers: + content-type: application/atom+xml;type=feed;charset=utf-8 + date: Mon, 17 Aug 2020 08:05:51 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: OK + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml index 4e63bcb7e608..e6256a91732b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:22Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:52Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:22 GMT + date: Mon, 17 Aug 2020 08:05:52 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T06:06:22Z2020-07-02T06:06:22Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:05:53Z2020-08-17T08:05:53Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:53.04Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:23 GMT + date: Mon, 17 Aug 2020 08:05:53 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:05:53.040Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -70,31 +70,31 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:055e7339-e16c-4ab5-9079-6cbe37016f42_G2, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-07-02T06:06:24 + . TrackingId:de83c5b6-6bde-45cc-9f5b-787c55060c35_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-08-17T08:05:54 headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:06:23 GMT + date: Mon, 17 Aug 2020 08:05:54 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest5levlyksxm.servicebus.windows.net/iewdm?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iewdm?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-07-02T06:06:22.823Z2020-07-02T06:06:22.887ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:05:53.040Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -105,7 +105,7 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -115,26 +115,26 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:354abdee-4ed5-4bdd-83f5-61e9a7cd2e7d_G2, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T06:06:24' + Actual value was 25.00:00:00. TrackingId:a6fdfe2b-8ae3-403e-8c2a-a4f5ef8aae14_G3, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:05:54' headers: content-type: application/xml; charset=utf-8 - date: Thu, 02 Jul 2020 06:06:23 GMT - etag: '637292667828870000' + date: Mon, 17 Aug 2020 08:05:54 GMT + etag: '637332483530730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -142,12 +142,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:24 GMT - etag: '637292667828870000' + date: Mon, 17 Aug 2020 08:05:55 GMT + etag: '637332483530730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml index c7d11449056d..7cc68e6046ad 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:25Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:56Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:25 GMT + date: Mon, 17 Aug 2020 08:05:56 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:25Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:56Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:25.86ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:56.74ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:26 GMT + date: Mon, 17 Aug 2020 08:05:57 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' PT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.820Z2020-07-02T06:06:25.860ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:05:56.710Z2020-08-17T08:05:56.740ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -70,62 +70,62 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:57Zservicebustest32ip2wgoaaPT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:25.86ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:56.74ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:26 GMT - etag: '637292667858600000' + date: Mon, 17 Aug 2020 08:05:57 GMT + etag: '637332483567400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:57Zservicebustest32ip2wgoaaPT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.29Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:26 GMT - etag: '637292667863130000' + date: Mon, 17 Aug 2020 08:05:57 GMT + etag: '637332483572900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: ' PT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T06:06:25.820Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-08-17T08:05:56.710Z2020-08-17T08:05:57.290Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -136,63 +136,63 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T06:06:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:57Zservicebustest32ip2wgoaaPT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.313Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.29Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:26 GMT - etag: '637292667863130000' + date: Mon, 17 Aug 2020 08:05:57 GMT + etag: '637332483572900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T06:06:25Z2020-07-02T06:06:26Zservicebustest5levlyksxmhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:57Zservicebustest32ip2wgoaaPT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T06:06:25.82Z2020-07-02T06:06:26.55Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.6Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:26 GMT - etag: '637292667865500000' + date: Mon, 17 Aug 2020 08:05:57 GMT + etag: '637332483576000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -200,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:27 GMT - etag: '637292667865500000' + date: Mon, 17 Aug 2020 08:05:58 GMT + etag: '637332483576000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_namespaces_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_namespaces_async.py new file mode 100644 index 000000000000..db75f0ace06f --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_namespaces_async.py @@ -0,0 +1,25 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import pytest + +from azure.servicebus.aio.management import ServiceBusAdministrationClient + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import CachedServiceBusNamespacePreparer + + +class ServiceBusManagementClientNamespaceAsyncTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + async def test_async_mgmt_namespace_get_properties(self, servicebus_namespace_connection_string, + servicebus_namespace, servicebus_namespace_key_name, + servicebus_namespace_primary_key): + mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) + properties = await mgmt_service.get_namespace_properties() + assert properties + assert properties.messaging_sku == 'Standard' + # assert properties.name == servicebus_namespace.name + # This is disabled pending investigation of why it isn't getting scrubbed despite expected scrubber use. \ No newline at end of file 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 8485bd84d2f2..36f6738adf18 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 @@ -194,14 +194,14 @@ async def test_async_mgmt_queue_create_by_name(self, servicebus_namespace_connec mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_queues(mgmt_service) queue_name = "eidk" - created_at = utc_now() + created_at_utc = utc_now() await mgmt_service.create_queue(queue_name) try: queue = await mgmt_service.get_queue(queue_name) assert queue.name == queue_name assert queue.availability_status == 'Available' assert queue.status == 'Active' - # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + # assert created_at_utc < queue.created_at_utc < utc_now() + datetime.timedelta(minutes=10) finally: await mgmt_service.delete_queue(queue_name) @@ -359,18 +359,18 @@ async def test_async_mgmt_queue_update_invalid(self, servicebus_namespace_connec @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): + async def test_async_mgmt_queue_list_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_queues(mgmt_service) queues = await async_pageable_to_list(mgmt_service.list_queues()) - queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_properties()) assert len(queues) == len(queues_infos) == 0 await mgmt_service.create_queue("test_queue") queues = await async_pageable_to_list(mgmt_service.list_queues()) - queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_properties()) assert len(queues) == 1 and len(queues_infos) == 1 @@ -379,9 +379,9 @@ async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespa info = queues_infos[0] assert info.size_in_bytes == 0 - assert info.created_at is not None - assert info.accessed_at is not None - assert info.updated_at is not None + assert info.created_at_utc is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None assert info.total_message_count == 0 assert info.active_message_count == 0 assert info.dead_letter_message_count == 0 @@ -390,54 +390,54 @@ async def test_async_mgmt_queue_list_runtime_info_basic(self, servicebus_namespa assert info.scheduled_message_count == 0 await mgmt_service.delete_queue("test_queue") - queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_info()) + queues_infos = await async_pageable_to_list(mgmt_service.list_queues_runtime_properties()) assert len(queues_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): + async def test_async_mgmt_queue_list_runtime_properties_with_negative_parameters(self, servicebus_namespace_connection_string): pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_negative_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): + async def test_async_mgmt_queue_list_runtime_properties_with_parameters(self, servicebus_namespace_connection_string): pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await run_test_async_mgmt_list_with_parameters(AsyncMgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): + async def test_async_mgmt_queue_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_queues(mgmt_service) await mgmt_service.create_queue("test_queue") - queue_runtime_info = await mgmt_service.get_queue_runtime_info("test_queue") - - assert queue_runtime_info - assert queue_runtime_info.name == "test_queue" - assert queue_runtime_info.size_in_bytes == 0 - assert queue_runtime_info.created_at is not None - assert queue_runtime_info.accessed_at is not None - assert queue_runtime_info.updated_at is not None - assert queue_runtime_info.total_message_count == 0 - assert queue_runtime_info.active_message_count == 0 - assert queue_runtime_info.dead_letter_message_count == 0 - assert queue_runtime_info.transfer_dead_letter_message_count == 0 - assert queue_runtime_info.transfer_message_count == 0 - assert queue_runtime_info.scheduled_message_count == 0 + queue_runtime_properties = await mgmt_service.get_queue_runtime_properties("test_queue") + + assert queue_runtime_properties + assert queue_runtime_properties.name == "test_queue" + assert queue_runtime_properties.size_in_bytes == 0 + assert queue_runtime_properties.created_at_utc is not None + assert queue_runtime_properties.accessed_at_utc is not None + assert queue_runtime_properties.updated_at_utc is not None + assert queue_runtime_properties.total_message_count == 0 + assert queue_runtime_properties.active_message_count == 0 + assert queue_runtime_properties.dead_letter_message_count == 0 + assert queue_runtime_properties.transfer_dead_letter_message_count == 0 + assert queue_runtime_properties.transfer_message_count == 0 + assert queue_runtime_properties.scheduled_message_count == 0 await mgmt_service.delete_queue("test_queue") @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_queue_get_runtime_info_negative(self, servicebus_namespace_connection_string): + async def test_async_mgmt_queue_get_runtime_properties_negative(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) with pytest.raises(msrest.exceptions.ValidationError): - await mgmt_service.get_queue_runtime_info(None) + await mgmt_service.get_queue_runtime_properties(None) with pytest.raises(msrest.exceptions.ValidationError): - await mgmt_service.get_queue_runtime_info("") + await mgmt_service.get_queue_runtime_properties("") with pytest.raises(ResourceNotFoundError): - await mgmt_service.get_queue_runtime_info("non_existing_queue") + await mgmt_service.get_queue_runtime_properties("non_existing_queue") 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 f74b6e3546f9..9fbe1b90de8c 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 @@ -230,7 +230,7 @@ async def test_async_mgmt_subscription_list(self, servicebus_namespace_connectio @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + async def test_async_mgmt_subscription_list_runtime_properties(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_topics(mgmt_service) topic_name = 'dkoamv' @@ -238,14 +238,14 @@ async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namesp await mgmt_service.create_topic(topic_name) subs = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) - subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs) == len(subs_infos) == 0 await mgmt_service.create_subscription(topic_name, subscription_name) subs = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) - subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs) == 1 and len(subs_infos) == 1 @@ -253,9 +253,9 @@ async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namesp info = subs_infos[0] - assert info.accessed_at is not None - assert info.updated_at is not None - assert info.created_at is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None + assert info.created_at_utc is not None assert info.total_message_count == 0 assert info.active_message_count == 0 assert info.dead_letter_message_count == 0 @@ -263,14 +263,14 @@ async def test_async_mgmt_subscription_list_runtime_info(self, servicebus_namesp assert info.transfer_message_count == 0 await mgmt_service.delete_subscription(topic_name, subscription_name) - subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = await async_pageable_to_list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs_infos) == 0 await mgmt_service.delete_topic(topic_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): + async def test_async_mgmt_subscription_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_topics(mgmt_service) topic_name = 'dcvxqa' @@ -278,18 +278,18 @@ async def test_async_mgmt_subscription_get_runtime_info_basic(self, servicebus_n await mgmt_service.create_topic(topic_name) await mgmt_service.create_subscription(topic_name, subscription_name) - sub_runtime_info = await mgmt_service.get_subscription_runtime_info(topic_name, subscription_name) - - assert sub_runtime_info - assert sub_runtime_info.name == subscription_name - assert sub_runtime_info.created_at is not None - assert sub_runtime_info.accessed_at is not None - assert sub_runtime_info.updated_at is not None - assert sub_runtime_info.total_message_count == 0 - assert sub_runtime_info.active_message_count == 0 - assert sub_runtime_info.dead_letter_message_count == 0 - assert sub_runtime_info.transfer_dead_letter_message_count == 0 - assert sub_runtime_info.transfer_message_count == 0 + sub_runtime_properties = await mgmt_service.get_subscription_runtime_properties(topic_name, subscription_name) + + assert sub_runtime_properties + assert sub_runtime_properties.name == subscription_name + assert sub_runtime_properties.created_at_utc is not None + assert sub_runtime_properties.accessed_at_utc is not None + assert sub_runtime_properties.updated_at_utc is not None + assert sub_runtime_properties.total_message_count == 0 + assert sub_runtime_properties.active_message_count == 0 + assert sub_runtime_properties.dead_letter_message_count == 0 + assert sub_runtime_properties.transfer_dead_letter_message_count == 0 + assert sub_runtime_properties.transfer_message_count == 0 await mgmt_service.delete_subscription(topic_name, subscription_name) await mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py index 3d9de44f216a..7f0eeeb2575e 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 @@ -208,18 +208,18 @@ async def test_async_mgmt_topic_list(self, servicebus_namespace_connection_strin @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + async def test_async_mgmt_topic_list_runtime_properties(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_topics(mgmt_service) topics = await async_pageable_to_list(mgmt_service.list_topics()) - topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_properties()) assert len(topics) == len(topics_infos) == 0 await mgmt_service.create_topic("test_topic") topics = await async_pageable_to_list(mgmt_service.list_topics()) - topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_properties()) assert len(topics) == 1 and len(topics_infos) == 1 @@ -227,32 +227,32 @@ async def test_async_mgmt_topic_list_runtime_info(self, servicebus_namespace_con info = topics_infos[0] - assert info.accessed_at is not None - assert info.updated_at is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None assert info.subscription_count is 0 assert info.size_in_bytes == 0 assert info.scheduled_message_count == 0 await mgmt_service.delete_topic("test_topic") - topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_info()) + topics_infos = await async_pageable_to_list(mgmt_service.list_topics_runtime_properties()) assert len(topics_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - async def test_async_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): + async def test_async_mgmt_topic_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) await clear_topics(mgmt_service) await mgmt_service.create_topic("test_topic") try: - topic_runtime_info = await mgmt_service.get_topic_runtime_info("test_topic") - - assert topic_runtime_info - assert topic_runtime_info.name == "test_topic" - assert topic_runtime_info.created_at is not None - assert topic_runtime_info.accessed_at is not None - assert topic_runtime_info.updated_at is not None - assert topic_runtime_info.subscription_count is 0 - assert topic_runtime_info.size_in_bytes == 0 - assert topic_runtime_info.scheduled_message_count == 0 + topic_runtime_properties = await mgmt_service.get_topic_runtime_properties("test_topic") + + assert topic_runtime_properties + assert topic_runtime_properties.name == "test_topic" + assert topic_runtime_properties.created_at_utc is not None + assert topic_runtime_properties.accessed_at_utc is not None + assert topic_runtime_properties.updated_at_utc is not None + assert topic_runtime_properties.subscription_count is 0 + assert topic_runtime_properties.size_in_bytes == 0 + assert topic_runtime_properties.scheduled_message_count == 0 finally: await mgmt_service.delete_topic("test_topic") diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py index dbee1210a8a8..2fcb31fe61fd 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py @@ -18,8 +18,8 @@ ReceivedMessage, AutoLockRenew) from azure.servicebus import TransportType -from azure.servicebus._common.message import Message, BatchMessage, PeekMessage -from azure.servicebus._common.constants import ReceiveSettleMode, SubQueue +from azure.servicebus._common.message import Message, BatchMessage, PeekedMessage +from azure.servicebus._common.constants import ReceiveMode, SubQueue from azure.servicebus._common.utils import utc_now from azure.servicebus.exceptions import ( ServiceBusConnectionError, @@ -104,7 +104,7 @@ async def test_github_issue_7079_async(self, servicebus_namespace_connection_str async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(5): await sender.send_messages(Message("Message {}".format(i))) - async with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) as messages: + async with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as messages: batch = await messages.receive_messages() count = len(batch) async for message in messages: @@ -149,7 +149,7 @@ async def test_async_queue_by_queue_client_conn_str_receive_handler_receiveandde await sender.send_messages(message) messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=8) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=8) as receiver: async for message in receiver: messages.append(message) with pytest.raises(MessageAlreadySettled): @@ -160,7 +160,7 @@ async def test_async_queue_by_queue_client_conn_str_receive_handler_receiveandde time.sleep(30) messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as receiver: async for message in receiver: messages.append(message) assert len(messages) == 0 @@ -180,7 +180,7 @@ async def test_async_queue_by_queue_client_conn_str_receive_handler_with_stop(se await sender.send_messages(message) messages = [] - receiver = sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, prefetch=0) + receiver = sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, prefetch_count=0) async with receiver: async for message in receiver: messages.append(message) @@ -210,7 +210,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_simple(self, servi async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -241,7 +241,7 @@ async def test_async_queue_by_servicebus_conn_str_client_iter_messages_with_aban async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -260,7 +260,7 @@ async def test_async_queue_by_servicebus_conn_str_client_iter_messages_with_aban assert count == 10 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: print_message(_logger, message) @@ -278,7 +278,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_defer(self, s servicebus_namespace_connection_string, logging_enable=False) as sb_client: deferred_messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -293,7 +293,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_defer(self, s await message.defer() assert count == 10 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: print_message(_logger, message) @@ -311,7 +311,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe servicebus_namespace_connection_string, logging_enable=False) as sb_client: deferred_messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -350,7 +350,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe for message in [Message("Deferred message no. {}".format(i)) for i in range(10)]: results = await sender.send_messages(message) - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: deferred_messages.append(message.sequence_number) @@ -384,7 +384,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe for message in [Message("Deferred message no. {}".format(i)) for i in range(10)]: results = await sender.send_messages(message) - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: deferred_messages.append(message.sequence_number) @@ -399,7 +399,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe assert len(deferred) == 10 for message in deferred: assert isinstance(message, ReceivedMessage) - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") count = 0 async with sb_client.get_queue_receiver(servicebus_queue.name, @@ -438,7 +438,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe await message.defer() assert count == 10 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.ReceiveAndDelete) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.ReceiveAndDelete) as receiver: deferred = await receiver.receive_deferred_messages(deferred_messages) assert len(deferred) == 10 for message in deferred: @@ -458,7 +458,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe servicebus_namespace_connection_string, logging_enable=False) as sb_client: deferred_messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(3): @@ -474,7 +474,7 @@ async def test_async_queue_by_servicebus_client_iter_messages_with_retrieve_defe assert count == 3 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: with pytest.raises(ServiceBusError): deferred = await receiver.receive_deferred_messages([3, 4]) @@ -490,7 +490,7 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_deadletter(se async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -503,12 +503,12 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_deadletter(se for message in messages: print_message(_logger, message) count += 1 - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") messages = await receiver.receive_messages() assert count == 10 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: print_message(_logger, message) @@ -520,7 +520,7 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_deadletter(se servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as dl_receiver: + mode=ReceiveMode.PeekLock) as dl_receiver: count = 0 async for message in dl_receiver: await message.complete() @@ -540,7 +540,7 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_retrieve_dead async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -552,7 +552,7 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_retrieve_dead while messages: for message in messages: print_message(_logger, message) - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") count += 1 messages = await receiver.receive_messages() @@ -562,7 +562,7 @@ async def test_async_queue_by_servicebus_client_receive_batch_with_retrieve_dead servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock + receive_mode=ReceiveMode.PeekLock ) as receiver: count = 0 async for message in receiver: @@ -607,7 +607,7 @@ async def test_async_queue_by_servicebus_client_browse_messages_client(self, ser async with sb_client.get_queue_receiver(servicebus_queue.name) as receiver: messages = await receiver.peek_messages(5) assert len(messages) == 5 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -622,7 +622,7 @@ async def test_async_queue_by_servicebus_client_browse_messages_with_receiver(se async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(5): message = Message("Test message no. {}".format(i)) @@ -630,7 +630,7 @@ async def test_async_queue_by_servicebus_client_browse_messages_with_receiver(se messages = await receiver.peek_messages(5) assert len(messages) > 0 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -645,7 +645,7 @@ async def test_async_queue_by_servicebus_client_browse_empty_messages(self, serv async with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: messages = await receiver.peek_messages(10) assert len(messages) == 0 @@ -660,7 +660,7 @@ async def test_async_queue_by_servicebus_client_renew_message_locks(self, servic messages = [] locks = 3 - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(locks): message = Message("Test message no. {}".format(i)) @@ -703,7 +703,7 @@ async def test_async_queue_by_queue_client_conn_str_receive_handler_with_autoloc renewer = AutoLockRenew() messages = [] - async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: async for message in receiver: if not messages: messages.append(message) @@ -779,7 +779,7 @@ async def test_async_queue_message_time_to_live(self, servicebus_namespace_conne async with sb_client.get_queue_receiver(servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 async for message in receiver: print_message(_logger, message) @@ -907,7 +907,7 @@ async def test_async_queue_message_receive_and_delete(self, servicebus_namespace message = Message("Receive and delete test") await sender.send_messages(message) - async with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete) as receiver: messages = await receiver.receive_messages(max_wait_time=10) assert len(messages) == 1 received = messages[0] @@ -946,16 +946,16 @@ async def test_async_queue_message_batch(self, servicebus_namespace_connection_s await sender.send_messages(message) async with sb_client.get_queue_receiver(servicebus_queue.name) as receiver: - messages = await receiver.receive_messages(max_wait_time=10) - recv = True + messages = [] + recv = await receiver.receive_messages(max_wait_time=10) while recv: - recv = await receiver.receive_messages(max_wait_time=10) messages.extend(recv) + for message in recv: + print_message(_logger, message) + await message.complete() + recv = await receiver.receive_messages(max_wait_time=10) assert len(messages) == 5 - for m in messages: - print_message(_logger, m) - await m.complete() @pytest.mark.liveTest @pytest.mark.live_test_only @@ -1001,7 +1001,7 @@ async def test_async_queue_schedule_multiple_messages(self, servicebus_namespace servicebus_namespace_connection_string, logging_enable=False) as sb_client: scheduled_enqueue_time = (utc_now() + timedelta(minutes=2)).replace(microsecond=0) messages = [] - receiver = sb_client.get_queue_receiver(servicebus_queue.name, prefetch=20) + receiver = sb_client.get_queue_receiver(servicebus_queue.name, prefetch_count=20) sender = sb_client.get_queue_sender(servicebus_queue.name) async with sender, receiver: content = str(uuid.uuid4()) @@ -1077,7 +1077,7 @@ async def test_queue_message_amqp_over_websocket(self, servicebus_namespace_conn message = Message("Test") await sender.send_messages(message) - async with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete) as receiver: + async with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete) as receiver: assert receiver._config.transport_type == TransportType.AmqpOverWebsocket messages = await receiver.receive_messages(max_wait_time=5) assert len(messages) == 1 @@ -1261,10 +1261,10 @@ def message_content(): message_2nd_received_cnt = 0 while message_1st_received_cnt < 20 or message_2nd_received_cnt < 20: messages = [] - batch = await receiver.receive_messages(max_batch_size=20, max_wait_time=5) + batch = await receiver.receive_messages(max_message_count=20, max_wait_time=5) while batch: messages += batch - batch = await receiver.receive_messages(max_batch_size=20, max_wait_time=5) + batch = await receiver.receive_messages(max_message_count=20, max_wait_time=5) if not messages: break receive_counter += 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_sessions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_sessions_async.py index 0f6e7de70906..616561373b29 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_sessions_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_sessions_async.py @@ -15,8 +15,8 @@ from uamqp.errors import VendorLinkDetach from azure.servicebus.aio import ServiceBusClient, ReceivedMessage, AutoLockRenew -from azure.servicebus._common.message import Message, PeekMessage -from azure.servicebus._common.constants import ReceiveSettleMode, NEXT_AVAILABLE, SubQueue +from azure.servicebus._common.message import Message, PeekedMessage +from azure.servicebus._common.constants import ReceiveMode, NEXT_AVAILABLE, SubQueue from azure.servicebus._common.utils import utc_now from azure.servicebus.exceptions import ( ServiceBusConnectionError, @@ -89,7 +89,7 @@ async def test_async_session_by_queue_client_conn_str_receive_handler_receiveand await sender.send_messages(message) messages = [] - session = sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) + session = sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) async for message in session: messages.append(message) assert session_id == session.session.session_id @@ -105,7 +105,7 @@ async def test_async_session_by_queue_client_conn_str_receive_handler_receiveand time.sleep(30) messages = [] - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) as session: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as session: async for message in session: messages.append(message) assert len(messages) == 0 @@ -178,7 +178,7 @@ async def test_async_session_by_session_client_conn_str_receive_handler_with_ina session_id = str(uuid.uuid4()) messages = [] - session = sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) + session = sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) async with session: async for message in session: messages.append(message) @@ -254,7 +254,7 @@ async def test_async_session_by_servicebus_client_iter_messages_with_retrieve_de assert len(deferred) == 10 for message in deferred: assert isinstance(message, ReceivedMessage) - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") count = 0 async with sb_client.get_queue_receiver(servicebus_queue.name, @@ -294,7 +294,7 @@ async def test_async_session_by_servicebus_client_iter_messages_with_retrieve_de await message.defer() assert count == 10 - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, mode=ReceiveSettleMode.ReceiveAndDelete) as session: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, receive_mode=ReceiveMode.ReceiveAndDelete) as session: deferred = await session.receive_deferred_messages(deferred_messages) assert len(deferred) == 10 for message in deferred: @@ -345,7 +345,7 @@ async def test_async_session_by_servicebus_client_fetch_next_with_retrieve_deadl servicebus_namespace_connection_string, logging_enable=False) as sb_client: session_id = str(uuid.uuid4()) - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, prefetch=10) as receiver: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, prefetch_count=10) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -357,7 +357,7 @@ async def test_async_session_by_servicebus_client_fetch_next_with_retrieve_deadl while messages: for message in messages: print_message(_logger, message) - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") count += 1 messages = await receiver.receive_messages() assert count == 10 @@ -400,7 +400,7 @@ async def test_async_session_by_servicebus_client_browse_messages_client(self, s async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id) as receiver: messages = await receiver.peek_messages(5) assert len(messages) == 5 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -428,7 +428,7 @@ async def test_async_session_by_servicebus_client_browse_messages_with_receiver( messages = await receiver.peek_messages(5) assert len(messages) > 0 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -447,7 +447,7 @@ async def test_async_session_by_servicebus_client_renew_client_locks(self, servi session_id = str(uuid.uuid4()) messages = [] locks = 3 - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch=10) as receiver: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch_count=10) as receiver: async with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(locks): message = Message("Test message no. {}".format(i), session_id=session_id) @@ -498,7 +498,7 @@ async def lock_lost_callback(renewable, error): renewer = AutoLockRenew() messages = [] - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=20) as session: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=20) as session: renewer.register(session.session, timeout=60) print("Registered lock renew thread", session.session.locked_until_utc, utc_now()) with pytest.raises(SessionLockExpired): @@ -533,7 +533,7 @@ async def lock_lost_callback(renewable, error): renewer._renew_period = 1 session = None - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: session = receiver.session renewer.register(session, timeout=5, on_lock_renew_failure=lock_lost_callback) await asyncio.sleep(max(0,(session.locked_until_utc - utc_now()).total_seconds()+1)) # If this pattern repeats make sleep_until_expired_async @@ -667,7 +667,7 @@ async def test_async_session_schedule_multiple_messages(self, servicebus_namespa assert len(tokens) == 2 renewer = AutoLockRenew() - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch=20) as receiver: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch_count=20) as receiver: renewer.register(receiver.session, timeout=140) messages.extend(await receiver.receive_messages(max_wait_time=120)) messages.extend(await receiver.receive_messages(max_wait_time=5)) @@ -733,13 +733,13 @@ async def test_async_session_get_set_state_with_receiver(self, servicebus_namesp await sender.send_messages(message) async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5) as session: - assert await session.session.get_session_state() == None - await session.session.set_session_state("first_state") + assert await session.session.get_state() == None + await session.session.set_state("first_state") count = 0 async for m in session: assert m.session_id == session_id count += 1 - await session.session.get_session_state() + await session.session.get_state() assert count == 3 @@ -765,9 +765,9 @@ async def test_async_session_by_servicebus_client_list_sessions_with_receiver(se await sender.send_messages(message) for session in sessions: async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session) as receiver: - await receiver.session.set_session_state("SESSION {}".format(session)) + await receiver.session.set_state("SESSION {}".format(session)) - async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=NEXT_AVAILABLE, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=NEXT_AVAILABLE, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: current_sessions = await receiver.list_sessions(updated_since=start_time) assert len(current_sessions) == 5 assert current_sessions == sessions @@ -795,7 +795,7 @@ async def test_async_session_by_servicebus_client_list_sessions_with_client(self await sender.send_messages(message) for session in sessions: async with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session) as receiver: - await receiver.session.set_session_state("SESSION {}".format(session)) + await receiver.session.set_state("SESSION {}".format(session)) current_sessions = await sb_client.list_sessions(updated_since=start_time) assert len(current_sessions) == 5 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_subscriptions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_subscriptions_async.py index c83f87a1c9bd..ce55e8190715 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_subscriptions_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_subscriptions_async.py @@ -11,7 +11,7 @@ import time from datetime import datetime, timedelta -from azure.servicebus import Message, PeekMessage, ReceiveSettleMode +from azure.servicebus import Message, ReceiveMode from azure.servicebus.aio import ServiceBusClient, ServiceBusSharedKeyCredential from azure.servicebus.exceptions import ServiceBusError from azure.servicebus._common.constants import SubQueue @@ -106,8 +106,8 @@ async def test_topic_by_servicebus_client_receive_batch_with_deadletter(self, se topic_name=servicebus_topic.name, subscription_name=servicebus_subscription.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10 + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10 ) as receiver: async with sb_client.get_topic_sender(servicebus_topic.name) as sender: @@ -121,7 +121,7 @@ async def test_topic_by_servicebus_client_receive_batch_with_deadletter(self, se for message in messages: print_message(_logger, message) count += 1 - await message.dead_letter(reason="Testing reason", description="Testing description") + await message.dead_letter(reason="Testing reason", error_description="Testing description") messages = await receiver.receive_messages() assert count == 10 @@ -130,7 +130,7 @@ async def test_topic_by_servicebus_client_receive_batch_with_deadletter(self, se topic_name=servicebus_topic.name, subscription_name=servicebus_subscription.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock + receive_mode=ReceiveMode.PeekLock ) as receiver: count = 0 async for message in receiver: @@ -144,7 +144,7 @@ async def test_topic_by_servicebus_client_receive_batch_with_deadletter(self, se subscription_name=servicebus_subscription.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock + receive_mode=ReceiveMode.PeekLock ) as dl_receiver: count = 0 async for message in dl_receiver: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_namespaces.test_mgmt_namespace_get_properties.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_namespaces.test_mgmt_namespace_get_properties.yaml new file mode 100644 index 000000000000..c8675edd75fd --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_namespaces.test_mgmt_namespace_get_properties.yaml @@ -0,0 +1,34 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$namespaceinfo?api-version=2017-04 + response: + body: + string: https://servicebustestv2fvof4o5i.servicebus.windows.net/$namespaceinfo?api-version=2017-04servicebustestv2fvof4o5i2020-08-19T23:16:14Zservicebustestv2fvof4o5i2020-08-19T23:15:11.6ZStandard2020-08-19T23:15:11.6Zservicebustestv2fvof4o5iMessaging + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Wed, 19 Aug 2020 23:16:14 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml index 7040e8a0fec3..b2dec579094c 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:40Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:59Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:40 GMT + - Mon, 17 Aug 2020 08:05:59 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-07-02T05:57:41Z2020-07-02T05:57:41Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-08-17T08:06:00Z2020-08-17T08:06:00Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:41.147Z2020-07-02T05:57:41.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:00.057Z2020-08-17T08:06:00.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:41 GMT + - Mon, 17 Aug 2020 08:06:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-07-02T05:57:41Z2020-07-02T05:57:41Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-08-17T08:06:00Z2020-08-17T08:06:00Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:41.147Z2020-07-02T05:57:41.233Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:00.057Z2020-08-17T08:06:00.093Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:41 GMT + - Mon, 17 Aug 2020 08:06:00 GMT etag: - - '637292662612330000' + - '637332483600930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:42 GMT + - Mon, 17 Aug 2020 08:06:01 GMT etag: - - '637292662612330000' + - '637332483600930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml index 65517633eb97..b2cbb44de857 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:43Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:02Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:43 GMT + - Mon, 17 Aug 2020 08:06:01 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-07-02T05:57:43Z2020-07-02T05:57:43Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-08-17T08:06:02Z2020-08-17T08:06:02Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:43.537Z2020-07-02T05:57:43.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:02.407Z2020-08-17T08:06:02.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:44 GMT + - Mon, 17 Aug 2020 08:06:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,22 +86,22 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:7abd6c2b-18ae-4758-b165-9f85d7a75f11_G11, - SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-07-02T05:57:44 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:21a03eb1-16bd-4a0c-b58b-802c48187889_G14, + SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-08-17T08:06:03 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:44 GMT + - Mon, 17 Aug 2020 08:06:03 GMT etag: - - '637292662636030000' + - '637332483628070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -123,7 +123,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: @@ -133,9 +133,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:44 GMT + - Mon, 17 Aug 2020 08:06:03 GMT etag: - - '637292662636030000' + - '637332483628070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml index ea26f51188ed..f1507d305ee4 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:45Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:05Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:45 GMT + - Mon, 17 Aug 2020 08:06:04 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:57:45Z2020-07-02T05:57:45Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:06:05Z2020-08-17T08:06:05Zservicebustest32ip2wgoaaPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T05:57:45.863Z2020-07-02T05:57:45.97ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:06:05.787Z2020-08-17T08:06:05.95ZtruePT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:46 GMT + - Mon, 17 Aug 2020 08:06:05 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T05:57:45Z2020-07-02T05:57:45Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:06:05Z2020-08-17T08:06:05Zservicebustest32ip2wgoaaPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-07-02T05:57:45.863Z2020-07-02T05:57:45.97Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:06:05.787Z2020-08-17T08:06:05.95Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:46 GMT + - Mon, 17 Aug 2020 08:06:06 GMT etag: - - '637292662659700000' + - '637332483659500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:46 GMT + - Mon, 17 Aug 2020 08:06:06 GMT etag: - - '637292662659700000' + - '637332483659500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml index 6c8b24b0b1ee..baeacfbe219b 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:47Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:08Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:47 GMT + - Mon, 17 Aug 2020 08:06:07 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.017Z2020-07-02T05:57:48.057ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:48 GMT + - Mon, 17 Aug 2020 08:06:08 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:49Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:09Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.0251009Z2020-07-02T05:57:48.0251009Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:48 GMT + - Mon, 17 Aug 2020 08:06:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -121,21 +121,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:49 GMT + - Mon, 17 Aug 2020 08:06:10 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -155,30 +155,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:50Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:48Z2020-07-02T05:57:48Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:11Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:48.0251009Z2020-07-02T05:57:48.0251009Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:49 GMT + - Mon, 17 Aug 2020 08:06:11 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -198,7 +198,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -208,9 +208,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:50 GMT + - Mon, 17 Aug 2020 08:06:11 GMT etag: - - '637292662680570000' + - '637332483687000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -228,24 +228,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:51Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:57:49Z2020-07-02T05:57:49Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:12Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:49.487Z2020-07-02T05:57:49.52Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:50 GMT + - Mon, 17 Aug 2020 08:06:12 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -265,7 +265,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -275,9 +275,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:51 GMT + - Mon, 17 Aug 2020 08:06:12 GMT etag: - - '637292662695200000' + - '637332483703700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -295,18 +295,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:52Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:13Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:51 GMT + - Mon, 17 Aug 2020 08:06:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml index 594721baad0c..7a1dfb94d062 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:53Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:14Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:53 GMT + - Mon, 17 Aug 2020 08:06:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:53Z2020-07-02T05:57:53Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:14Z2020-08-17T08:06:14Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:53.647Z2020-07-02T05:57:53.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:14.827Z2020-08-17T08:06:14.857ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:54 GMT + - Mon, 17 Aug 2020 08:06:14 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:54Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:57:53Z2020-07-02T05:57:53Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:15Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:14Z2020-08-17T08:06:14Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:53.647Z2020-07-02T05:57:53.75Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:14.827Z2020-08-17T08:06:14.857Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:54 GMT + - Mon, 17 Aug 2020 08:06:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -116,7 +116,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -126,9 +126,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:57:55 GMT + - Mon, 17 Aug 2020 08:06:15 GMT etag: - - '637292662737500000' + - '637332483748570000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -146,18 +146,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:55Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:16Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:55 GMT + - Mon, 17 Aug 2020 08:06:16 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -177,19 +177,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:045fd796-ee18-4fdc-a1c9-7937af49619c_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-07-02T05:57:56 + address. TrackingId:c48c7263-3c90-4fda-a2d3-565df184afc0_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-08-17T08:06:17 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:55 GMT + - Mon, 17 Aug 2020 08:06:16 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -211,19 +211,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?api-version=2017-04 response: body: string: 404No service is hosted at the specified - address. TrackingId:26e3a90e-a650-45d2-a2de-36c7d2be2a44_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-07-02T05:57:56 + address. TrackingId:0e29f312-8bc1-4a5a-b2c2-2f795396b870_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-08-17T08:06:18 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:56 GMT + - Mon, 17 Aug 2020 08:06:17 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml index 344fc005f1c8..30f3ecb077e6 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:57:57Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:18Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:56 GMT + - Mon, 17 Aug 2020 08:06:17 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue0?api-version=2017-04queue02020-07-02T05:57:57Z2020-07-02T05:57:57Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04queue02020-08-17T08:06:19Z2020-08-17T08:06:19Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:57.61Z2020-07-02T05:57:57.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:19.56Z2020-08-17T08:06:19.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:57 GMT + - Mon, 17 Aug 2020 08:06:19 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T05:57:58Z2020-07-02T05:57:58Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:06:20Z2020-08-17T08:06:20Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:58.54Z2020-07-02T05:57:58.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:20.663Z2020-08-17T08:06:20.693ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:58 GMT + - Mon, 17 Aug 2020 08:06:20 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,21 +127,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T05:57:59Z2020-07-02T05:57:59Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:06:21Z2020-08-17T08:06:21Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:59.427Z2020-07-02T05:57:59.46ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:21.557Z2020-08-17T08:06:21.58ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:57:59 GMT + - Mon, 17 Aug 2020 08:06:21 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -168,21 +168,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T05:58:00Z2020-07-02T05:58:00Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:06:22Z2020-08-17T08:06:22Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:00.377Z2020-07-02T05:58:00.407ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:22.54Z2020-08-17T08:06:22.59ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:00 GMT + - Mon, 17 Aug 2020 08:06:23 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -209,21 +209,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T05:58:01Z2020-07-02T05:58:01Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:06:23Z2020-08-17T08:06:23Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:01.247Z2020-07-02T05:58:01.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:23.707Z2020-08-17T08:06:23.733ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:01 GMT + - Mon, 17 Aug 2020 08:06:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -250,21 +250,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T05:58:02Z2020-07-02T05:58:02Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:06:24Z2020-08-17T08:06:24Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:02.23Z2020-07-02T05:58:02.27ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:24.58Z2020-08-17T08:06:24.613ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:02 GMT + - Mon, 17 Aug 2020 08:06:25 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -291,21 +291,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T05:58:03Z2020-07-02T05:58:03Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:06:25Z2020-08-17T08:06:25Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:03.087Z2020-07-02T05:58:03.11ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:25.797Z2020-08-17T08:06:25.82ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:03 GMT + - Mon, 17 Aug 2020 08:06:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -332,21 +332,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T05:58:04Z2020-07-02T05:58:04Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:06:26Z2020-08-17T08:06:26Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.023Z2020-07-02T05:58:04.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:26.937Z2020-08-17T08:06:26.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:04 GMT + - Mon, 17 Aug 2020 08:06:27 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -373,21 +373,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T05:58:04Z2020-07-02T05:58:05Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:06:28Z2020-08-17T08:06:28Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.99Z2020-07-02T05:58:05.023ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:28.14Z2020-08-17T08:06:28.17ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:05 GMT + - Mon, 17 Aug 2020 08:06:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -414,21 +414,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T05:58:05Z2020-07-02T05:58:06Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:06:29Z2020-08-17T08:06:29Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:05.973Z2020-07-02T05:58:06.007ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:29.337Z2020-08-17T08:06:29.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:06 GMT + - Mon, 17 Aug 2020 08:06:29 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -450,7 +450,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: @@ -460,9 +460,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:06 GMT + - Mon, 17 Aug 2020 08:06:30 GMT etag: - - '637292662776470000' + - '637332483796500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -480,72 +480,72 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:07Zhttps://servicebustestshi5frbomp.servicebus.windows.net/queue1?api-version=2017-04queue12020-07-02T05:57:58Z2020-07-02T05:57:58Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:30Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:06:20Z2020-08-17T08:06:20Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:58.54Z2020-07-02T05:57:58.567Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:20.663Z2020-08-17T08:06:20.693Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue2?api-version=2017-04queue22020-07-02T05:57:59Z2020-07-02T05:57:59Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:06:21Z2020-08-17T08:06:21Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:57:59.4432753Z2020-07-02T05:57:59.4432753Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:21.5695693Z2020-08-17T08:06:21.5695693Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue3?api-version=2017-04queue32020-07-02T05:58:00Z2020-07-02T05:58:00Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:06:22Z2020-08-17T08:06:22Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:00.377Z2020-07-02T05:58:00.407Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:22.54Z2020-08-17T08:06:22.59Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue4?api-version=2017-04queue42020-07-02T05:58:01Z2020-07-02T05:58:01Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:06:23Z2020-08-17T08:06:23Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:01.247Z2020-07-02T05:58:01.273Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:23.707Z2020-08-17T08:06:23.733Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue5?api-version=2017-04queue52020-07-02T05:58:02Z2020-07-02T05:58:02Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:06:24Z2020-08-17T08:06:24Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:02.23Z2020-07-02T05:58:02.27Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:24.58Z2020-08-17T08:06:24.613Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue6?api-version=2017-04queue62020-07-02T05:58:03Z2020-07-02T05:58:03Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:06:25Z2020-08-17T08:06:25Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:03.087Z2020-07-02T05:58:03.11Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:25.797Z2020-08-17T08:06:25.82Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue7?api-version=2017-04queue72020-07-02T05:58:04Z2020-07-02T05:58:04Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:06:26Z2020-08-17T08:06:26Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.023Z2020-07-02T05:58:04.093Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:26.937Z2020-08-17T08:06:26.97Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue8?api-version=2017-04queue82020-07-02T05:58:04Z2020-07-02T05:58:05Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:06:28Z2020-08-17T08:06:28Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:04.99Z2020-07-02T05:58:05.023Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:28.14Z2020-08-17T08:06:28.17Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/queue9?api-version=2017-04queue92020-07-02T05:58:05Z2020-07-02T05:58:06Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:06:29Z2020-08-17T08:06:29Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:05.973Z2020-07-02T05:58:06.007Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:29.337Z2020-08-17T08:06:29.363Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:06 GMT + - Mon, 17 Aug 2020 08:06:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -565,7 +565,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: @@ -575,9 +575,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:07 GMT + - Mon, 17 Aug 2020 08:06:31 GMT etag: - - '637292662785670000' + - '637332483806930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -597,7 +597,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: @@ -607,9 +607,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:07 GMT + - Mon, 17 Aug 2020 08:06:32 GMT etag: - - '637292662794600000' + - '637332483815800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -629,7 +629,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: @@ -639,9 +639,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:08 GMT + - Mon, 17 Aug 2020 08:06:32 GMT etag: - - '637292662804070000' + - '637332483825900000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -661,7 +661,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: @@ -671,9 +671,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:08 GMT + - Mon, 17 Aug 2020 08:06:33 GMT etag: - - '637292662812730000' + - '637332483837330000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -693,7 +693,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: @@ -703,9 +703,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:09 GMT + - Mon, 17 Aug 2020 08:06:33 GMT etag: - - '637292662822700000' + - '637332483846130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -725,7 +725,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: @@ -735,9 +735,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:09 GMT + - Mon, 17 Aug 2020 08:06:34 GMT etag: - - '637292662831100000' + - '637332483858200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -757,7 +757,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: @@ -767,9 +767,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:10 GMT + - Mon, 17 Aug 2020 08:06:35 GMT etag: - - '637292662840930000' + - '637332483869700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -789,7 +789,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: @@ -799,9 +799,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:10 GMT + - Mon, 17 Aug 2020 08:06:36 GMT etag: - - '637292662850230000' + - '637332483881700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -821,7 +821,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: @@ -831,9 +831,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:11 GMT + - Mon, 17 Aug 2020 08:06:36 GMT etag: - - '637292662860070000' + - '637332483893630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -851,18 +851,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:12Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:37Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:11 GMT + - Mon, 17 Aug 2020 08:06:37 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..e79f6ec261ee --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_basic.yaml @@ -0,0 +1,141 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:38Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:38 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:39Z2020-08-17T08:06:39Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:39.207Z2020-08-17T08:06:39.24ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:39 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-08-17T08:06:39Z2020-08-17T08:06:39Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:39.207Z2020-08-17T08:06:39.24Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:39 GMT + etag: + - '637332483992400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 08:06:39 GMT + etag: + - '637332483992400000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_negative.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_negative.yaml new file mode 100644 index 000000000000..67b075a55bf3 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_properties_negative.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 + response: + body: + string: Publicly + Listed ServicesThis is the list of publicly-listed + services currently available.uuid:6b241b3b-5932-4267-b274-00f572c98bbf;id=319272020-08-17T08:06:41ZService + Bus 1.1 + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml index 9bbd022f7b1d..31b5bacf8987 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:23Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:42Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:23 GMT + - Mon, 17 Aug 2020 08:06:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:26Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:42Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:26 GMT + - Mon, 17 Aug 2020 08:06:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -74,21 +74,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustestxrl7l6h247https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:43Z2020-08-17T08:06:43Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.917Z2020-07-02T06:04:26.993ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:43.1Z2020-08-17T08:06:43.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:27 GMT + - Mon, 17 Aug 2020 08:06:43 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -108,24 +108,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:27Zhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:26Z2020-07-02T06:04:26Zservicebustestxrl7l6h247Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:44Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:43Z2020-08-17T08:06:43Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:26.917Z2020-07-02T06:04:26.993Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:43.1Z2020-08-17T08:06:43.143Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:27 GMT + - Mon, 17 Aug 2020 08:06:43 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -145,7 +145,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -155,9 +155,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 06:04:28 GMT + - Mon, 17 Aug 2020 08:06:44 GMT etag: - - '637292666669930000' + - '637332484031430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -175,18 +175,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:28Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:45Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:28 GMT + - Mon, 17 Aug 2020 08:06:45 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -204,18 +204,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:29Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:45Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:28 GMT + - Mon, 17 Aug 2020 08:06:45 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -240,21 +240,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustestxrl7l6h247https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:46Z2020-08-17T08:06:46Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.003Z2020-07-02T06:04:30.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:46.537Z2020-08-17T08:06:46.607ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:29 GMT + - Mon, 17 Aug 2020 08:06:46 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -274,24 +274,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:31Zhttps://servicebustestxrl7l6h247.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:30Z2020-07-02T06:04:30Zservicebustestxrl7l6h247Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:47Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:46Z2020-08-17T08:06:46Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:30.003Z2020-07-02T06:04:30.06Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:46.537Z2020-08-17T08:06:46.607Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:30 GMT + - Mon, 17 Aug 2020 08:06:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -311,7 +311,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -321,9 +321,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 06:04:30 GMT + - Mon, 17 Aug 2020 08:06:48 GMT etag: - - '637292666700600000' + - '637332484066070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -341,18 +341,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestxrl7l6h247.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:32Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:48Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 06:04:31 GMT + - Mon, 17 Aug 2020 08:06:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_properties_basic.yaml new file mode 100644 index 000000000000..01b0cc8a07f7 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_properties_basic.yaml @@ -0,0 +1,261 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:49Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:49 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:49Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:49 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:50Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:50 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:50Z2020-08-17T08:06:50Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:50.91Z2020-08-17T08:06:50.957ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:51 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:52Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:50Z2020-08-17T08:06:50Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:50.91Z2020-08-17T08:06:50.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:51 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:52Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:50Z2020-08-17T08:06:50Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:50.91Z2020-08-17T08:06:50.957Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:52 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 08:06:53 GMT + etag: + - '637332484109570000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:53Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:06:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml index 4519fd239b89..af7b2b38f6f4 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml @@ -9,19 +9,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:8540ec56-3c83-4481-ba5e-100e0c9435cc_G7, + string: 401claim is empty or token is invalid. TrackingId:6ee5c0e4-0535-485b-9533-5d2742bc468c_G0, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-07-02T05:58:26 + Timestamp:2020-08-17T08:06:54 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:26 GMT + - Mon, 17 Aug 2020 08:06:53 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -41,19 +41,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty. TrackingId:7fadc18f-a377-4c75-9f80-2cb6bedc3117_G4, + string: 401claim is empty or token is invalid. TrackingId:3cc53c8a-15ed-4da0-8343-e07c2c9641ab_G2, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-07-02T05:58:26 + Timestamp:2020-08-17T08:06:54 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:26 GMT + - Mon, 17 Aug 2020 08:06:54 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml index 07818234ce02..82b07e181801 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:27Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:55Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:27 GMT + - Mon, 17 Aug 2020 08:06:55 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:28Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:56Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:27 GMT + - Mon, 17 Aug 2020 08:06:55 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -74,21 +74,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:58:28Z2020-07-02T05:58:28Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:56Z2020-08-17T08:06:56Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:28.603Z2020-07-02T05:58:28.637ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:56.593Z2020-08-17T08:06:56.68ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:28 GMT + - Mon, 17 Aug 2020 08:06:56 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -108,24 +108,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:29Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:58:28Z2020-07-02T05:58:28Zservicebustestshi5frbompQueueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:57Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:56Z2020-08-17T08:06:56Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:28.603Z2020-07-02T05:58:28.637Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:56.593Z2020-08-17T08:06:56.68Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:29 GMT + - Mon, 17 Aug 2020 08:06:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -145,7 +145,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -155,9 +155,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:29 GMT + - Mon, 17 Aug 2020 08:06:57 GMT etag: - - '637292663086370000' + - '637332484166800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -175,18 +175,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:30Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:58Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:29 GMT + - Mon, 17 Aug 2020 08:06:58 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml index f490eca3f531..4ad37f2e9d60 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:31Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:59Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:30 GMT + - Mon, 17 Aug 2020 08:06:59 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:58:31Z2020-07-02T05:58:31Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:06:59Z2020-08-17T08:06:59Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:31 GMT + - Mon, 17 Aug 2020 08:07:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -89,22 +89,22 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:d0ec34e6-34c8-4e0d-b31a-7b1b50376430_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, - Timestamp:2020-07-02T05:58:32 + . TrackingId:540ca39e-816a-42a9-95e9-2941b11261e8_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, + Timestamp:2020-08-17T08:07:00 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:31 GMT + - Mon, 17 Aug 2020 08:07:00 GMT etag: - - '637292663118070000' + - '637332484197170000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -119,7 +119,7 @@ interactions: PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -134,20 +134,20 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:53789693-e854-4ea5-974c-c980a69572ed_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-07-02T05:58:32 + . TrackingId:6880ea69-57a1-48ba-9798-93eae8eae2a0_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-08-17T08:07:00 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:32 GMT + - Mon, 17 Aug 2020 08:07:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -162,7 +162,7 @@ interactions: P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:31.603Z2020-07-02T05:58:31.807ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -177,7 +177,7 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -188,15 +188,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:dc85282e-8e24-434d-b257-72cb93d80910_G3, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T05:58:33' + Actual value was 25.00:00:00. TrackingId:599cd376-fba2-40a0-8e2c-fe3e2de60637_G10, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:07:01' headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:32 GMT + - Mon, 17 Aug 2020 08:07:01 GMT etag: - - '637292663118070000' + - '637332484197170000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -218,7 +218,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -228,9 +228,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:33 GMT + - Mon, 17 Aug 2020 08:07:01 GMT etag: - - '637292663118070000' + - '637332484197170000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml index b41e30626b3f..5ddb855d3219 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:34Z + string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:02Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:34 GMT + - Mon, 17 Aug 2020 08:07:02 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaaPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:35 GMT + - Mon, 17 Aug 2020 08:07:03 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:35.060Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-08-17T08:07:03.073Z2020-08-17T08:07:03.120ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -89,23 +89,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Zservicebustest32ip2wgoaaPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.12ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:35 GMT + - Mon, 17 Aug 2020 08:07:03 GMT etag: - - '637292663150930000' + - '637332484231200000' 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaaPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.57Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:35 GMT + - Mon, 17 Aug 2020 08:07:03 GMT etag: - - '637292663155700000' + - '637332484236530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -158,7 +158,7 @@ interactions: PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T05:58:35.060Z2020-07-02T05:58:35.570Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -173,24 +173,24 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Zservicebustest32ip2wgoaaPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.57Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:35 GMT + - Mon, 17 Aug 2020 08:07:03 GMT etag: - - '637292663155700000' + - '637332484236530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -210,24 +210,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:58:35Z2020-07-02T05:58:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaaPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-07-02T05:58:35.06Z2020-07-02T05:58:35.81Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.97Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:35 GMT + - Mon, 17 Aug 2020 08:07:03 GMT etag: - - '637292663158100000' + - '637332484239700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -249,7 +249,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -259,9 +259,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:36 GMT + - Mon, 17 Aug 2020 08:07:04 GMT etag: - - '637292663158100000' + - '637332484239700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml index 0ddb9fb730ca..142968d1c6c8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestzca2g5qsmq.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-17T02:22:21Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:05Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:20 GMT + - Mon, 17 Aug 2020 08:07: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.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-17T02:22:21Z2020-07-17T02:22:22Zservicebustestzca2g5qsmqhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:07:05Z2020-08-17T08:07:05Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-17T02:22:21.953Z2020-07-17T02:22:22.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:05.88Z2020-08-17T08:07:05.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:21 GMT + - Mon, 17 Aug 2020 08:07:06 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-17T02:22:22Z2020-07-17T02:22:22Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:07:06Z2020-08-17T08:07:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-17T02:22:22.6633698Z2020-07-17T02:22:22.6633698Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:06.7306538Z2020-08-17T08:07:06.7306538Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:06 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,14 +118,14 @@ interactions: testcidkey_stringstr1key_int2key_long2147483650key_boolfalsekey_datetime2020-07-05T11:12:13key_durationP1DT2H3Mstr1key_int2key_long2147483650key_boolfalsekey_datetime2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:13test_rule_1' + xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13test_rule_1' headers: Accept: - application/xml @@ -138,14 +138,14 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-17T02:22:23Z2020-07-17T02:22:23Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:07Z2020-08-17T08:07:07Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-07-17T02:22:23.0245154Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:132020-08-17T08:07:07.3400234Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -182,14 +182,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-07-17T02:22:23Z2020-07-17T02:22:23Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-08-17T08:07:07Z2020-08-17T08:07:07Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-07-17T02:22:23.0289508Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:132020-08-17T08:07:07.346407Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -222,7 +222,7 @@ interactions: Priority = @param120@param1str1str1test_rule_2' headers: Accept: @@ -236,26 +236,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-17T02:22:23Z2020-07-17T02:22:23Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:07Z2020-08-17T08:07:07ZPriority = @param120@param1str12020-07-17T02:22:23.2276052Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:07:07.6369359Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-07-17T02:22:23Z2020-07-17T02:22:23Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-08-17T08:07:07Z2020-08-17T08:07:07ZPriority = @param120@param1str12020-07-17T02:22:23.2476778Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:07:07.6419583Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -323,24 +323,24 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-17T02:22:23Z2020-07-17T02:22:23Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:07Z2020-08-17T08:07:07Z1=1202020-07-17T02:22:23.4776391Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:07:07.8244391Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:22 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -360,24 +360,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestzca2g5qsmq.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-07-17T02:22:23Z2020-07-17T02:22:23Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-08-17T08:07:07Z2020-08-17T08:07:07Z1=1202020-07-17T02:22:23.4820344Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:07:07.8138253Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Fri, 17 Jul 2020 02:22:23 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -399,7 +399,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: @@ -409,9 +409,9 @@ interactions: content-length: - '0' date: - - Fri, 17 Jul 2020 02:22:23 GMT + - Mon, 17 Aug 2020 08:07:07 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -431,7 +431,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: @@ -441,9 +441,9 @@ interactions: content-length: - '0' date: - - Fri, 17 Jul 2020 02:22:23 GMT + - Mon, 17 Aug 2020 08:07:08 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -463,7 +463,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: @@ -473,9 +473,9 @@ interactions: content-length: - '0' date: - - Fri, 17 Jul 2020 02:22:23 GMT + - Mon, 17 Aug 2020 08:07:08 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -495,7 +495,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -505,9 +505,9 @@ interactions: content-length: - '0' date: - - Fri, 17 Jul 2020 02:22:23 GMT + - Mon, 17 Aug 2020 08:07:08 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -527,7 +527,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.20161-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -537,9 +537,9 @@ interactions: content-length: - '0' date: - - Fri, 17 Jul 2020 02:22:24 GMT + - Mon, 17 Aug 2020 08:07:08 GMT etag: - - '637305493420400000' + - '637332484259100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml index 808b4808811a..7b4d583bf11d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:40Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:10Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:39 GMT + - Mon, 17 Aug 2020 08:07:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:58:41Z2020-07-02T05:58:41Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:07:10Z2020-08-17T08:07:10Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:41.03Z2020-07-02T05:58:41.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:10.893Z2020-08-17T08:07:10.93ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:40 GMT + - Mon, 17 Aug 2020 08:07:10 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T05:58:41Z2020-07-02T05:58:41Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T08:07:11Z2020-08-17T08:07:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:41.565784Z2020-07-02T05:58:41.565784Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:11.641507Z2020-08-17T08:07:11.641507Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:40 GMT + - Mon, 17 Aug 2020 08:07:11 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''Priority = ''low''20rule' headers: Accept: @@ -127,29 +127,29 @@ interactions: Connection: - keep-alive Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-07-02T05:58:41Z2020-07-02T05:58:41Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-08-17T08:07:11Z2020-08-17T08:07:11ZPriority = 'low'202020-07-02T05:58:41.94076Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:07:11.938343Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:40 GMT + - Mon, 17 Aug 2020 08:07:11 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -164,7 +164,7 @@ interactions: Priority = ''low''Priority = ''low''20rule' headers: Accept: @@ -174,25 +174,25 @@ interactions: Connection: - keep-alive Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f97ecd58-05d9-40d8-ab4a-a8b95619d013_B6, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:42 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:e6d88467-51c8-49b8-adb3-2c7bdc3b26f8_B11, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:07:12 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:43 GMT + - Mon, 17 Aug 2020 08:07:12 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -214,7 +214,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: @@ -224,9 +224,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:43 GMT + - Mon, 17 Aug 2020 08:07:12 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -246,7 +246,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: @@ -256,9 +256,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:43 GMT + - Mon, 17 Aug 2020 08:07:12 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -278,7 +278,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -288,9 +288,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:43 GMT + - Mon, 17 Aug 2020 08:07:13 GMT etag: - - '637292663210770000' + - '637332484309300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml index 5b74d3eeec43..d2404f164fd7 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:44Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:15Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:43 GMT + - Mon, 17 Aug 2020 08:07:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:58:44Z2020-07-02T05:58:44Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:07:15Z2020-08-17T08:07:15Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:44.647Z2020-07-02T05:58:44.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:15.607Z2020-08-17T08:07:15.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:44 GMT + - Mon, 17 Aug 2020 08:07:15 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T05:58:45Z2020-07-02T05:58:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:07:16Z2020-08-17T08:07:16ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:45.1769879Z2020-07-02T05:58:45.1769879Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:16.2422848Z2020-08-17T08:07:16.2422848Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:16 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,26 +122,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:16Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16Z1=1202020-07-02T05:58:45.181251Z$Default + i:type="EmptyRuleAction"/>2020-08-17T08:07:16.2440316Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:16 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -156,7 +156,7 @@ interactions: Priority = ''low''Priority = ''low''20test_rule_1' headers: Accept: @@ -166,29 +166,29 @@ interactions: Connection: - keep-alive Content-Length: - - '463' + - '506' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'low'202020-07-02T05:58:45.5055475Ztest_rule_1 + i:type="EmptyRuleAction"/>2020-08-17T08:07:17.1798057Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:16 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,7 +203,7 @@ interactions: Priority = ''middle''Priority = ''middle''20test_rule_2' headers: Accept: @@ -213,29 +213,29 @@ interactions: Connection: - keep-alive Content-Length: - - '466' + - '509' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T05:58:45Z2020-07-02T05:58:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'middle'202020-07-02T05:58:45.5836868Ztest_rule_2 + i:type="EmptyRuleAction"/>2020-08-17T08:07:17.3048342Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -250,7 +250,7 @@ interactions: Priority = ''high''Priority = ''high''20test_rule_3' headers: Accept: @@ -260,29 +260,29 @@ interactions: Connection: - keep-alive Content-Length: - - '464' + - '507' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'high'202020-07-02T05:58:45.6617985Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:07:17.4923372Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -302,47 +302,47 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:17Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16Z1=1202020-07-02T05:58:45.181251Z$Defaulthttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45Z2020-08-17T08:07:16.2440316Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'low'202020-07-02T05:58:45.5094156Ztest_rule_1https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-07-02T05:58:45Z2020-07-02T05:58:45Z2020-08-17T08:07:17.1822982Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'middle'202020-07-02T05:58:45.5874788Ztest_rule_2https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45Z2020-08-17T08:07:17.3073575Ztest_rule_2https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'high'202020-07-02T05:58:45.6656048Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:07:17.4948299Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -364,7 +364,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: @@ -374,9 +374,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -394,40 +394,40 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:45Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:18Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16Z1=1202020-07-02T05:58:45.181251Z$Defaulthttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-07-02T05:58:45Z2020-07-02T05:58:45Z2020-08-17T08:07:16.2440316Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'low'202020-07-02T05:58:45.5094156Ztest_rule_1https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-07-02T05:58:45Z2020-07-02T05:58:45Z2020-08-17T08:07:17.1822982Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17ZPriority = 'high'202020-07-02T05:58:45.6656048Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-08-17T08:07:17.4948299Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -449,7 +449,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: @@ -459,9 +459,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:17 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -481,7 +481,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: @@ -491,9 +491,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:18 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -511,26 +511,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:46Zhttps://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-07-02T05:58:45Z2020-07-02T05:58:45ZRuleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:18Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16Z1=1202020-07-02T05:58:45.181251Z$Default + i:type="EmptyRuleAction"/>2020-08-17T08:07:16.2440316Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:18 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -552,7 +552,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -562,9 +562,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:45 GMT + - Mon, 17 Aug 2020 08:07:18 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -584,7 +584,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -594,9 +594,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:46 GMT + - Mon, 17 Aug 2020 08:07:19 GMT etag: - - '637292663246770000' + - '637332484356400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml index ac615c037240..2e8534db48f8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:47Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:20Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:46 GMT + - Mon, 17 Aug 2020 08:07:19 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:47Z2020-07-02T05:58:47Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:21Z2020-08-17T08:07:21Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:47.677Z2020-07-02T05:58:47.723ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:21.03Z2020-08-17T08:07:21.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:47 GMT + - Mon, 17 Aug 2020 08:07:20 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:58:48Z2020-07-02T05:58:48Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:07:21Z2020-08-17T08:07:21ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:48.2020133Z2020-07-02T05:58:48.2020133Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:21.7773996Z2020-08-17T08:07:21.7773996Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:47 GMT + - Mon, 17 Aug 2020 08:07:21 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''Priority = ''low''20rule' headers: Accept: @@ -127,29 +127,29 @@ interactions: Connection: - keep-alive Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:48Z2020-07-02T05:58:48Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:22Z2020-08-17T08:07:22ZPriority = 'low'202020-07-02T05:58:48.4363985Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:07:22.1055211Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:47 GMT + - Mon, 17 Aug 2020 08:07:21 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -169,25 +169,25 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:48Z2020-07-02T05:58:48Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:22Z2020-08-17T08:07:22ZPriority = 'low'202020-07-02T05:58:48.4267Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:07:22.101271Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:47 GMT + - Mon, 17 Aug 2020 08:07:21 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -202,8 +202,8 @@ interactions: Priority = ''low''2020-07-02T05:58:48.4267Ziewdm' + xsi:type="SqlFilter">Priority = ''low''202020-08-17T08:07:22.101271Ziewdm' headers: Accept: - application/xml @@ -212,27 +212,27 @@ interactions: Connection: - keep-alive Content-Length: - - '505' + - '550' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:58459b75-ffa1-4f82-bac1-04691d351cde_B14, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:48 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:ee8d2324-b900-4a80-bffc-5e7a6a8a1f94_B10, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:07:22 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:48 GMT + - Mon, 17 Aug 2020 08:07:22 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -254,7 +254,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: @@ -264,9 +264,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:48 GMT + - Mon, 17 Aug 2020 08:07:22 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -286,7 +286,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -296,9 +296,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:48 GMT + - Mon, 17 Aug 2020 08:07:23 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -318,7 +318,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -328,9 +328,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:49 GMT + - Mon, 17 Aug 2020 08:07:24 GMT etag: - - '637292663277230000' + - '637332484410600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml index fb41d16f4cb0..143f84c51a1c 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:51Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:25Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:51 GMT + - Mon, 17 Aug 2020 08:07:25 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:58:52Z2020-07-02T05:58:52Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:26Z2020-08-17T08:07:26Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:52.253Z2020-07-02T05:58:52.283ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:26.443Z2020-08-17T08:07:26.47ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:58:52Z2020-07-02T05:58:52Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:07:27Z2020-08-17T08:07:27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:52.8322918Z2020-07-02T05:58:52.8322918Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:27.3010686Z2020-08-17T08:07:27.3010686Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:26 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''Priority = ''low''20rule' headers: Accept: @@ -127,29 +127,29 @@ interactions: Connection: - keep-alive Content-Length: - - '456' + - '499' Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27ZPriority = 'low'202020-07-02T05:58:52.9889434Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:07:27.5041859Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:26 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -169,25 +169,25 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27ZPriority = 'low'202020-07-02T05:58:52.9977704Zrule + i:type="EmptyRuleAction"/>2020-08-17T08:07:27.4989085Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:26 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,7 +203,7 @@ interactions: testcidSET Priority = ''low''2020-07-02T05:58:52.99777Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''202020-08-17T08:07:27.498908Zrule' headers: Accept: - application/xml @@ -212,30 +212,30 @@ interactions: Connection: - keep-alive Content-Length: - - '560' + - '604' Content-Type: - application/atom+xml If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-07-02T05:58:53Z2020-07-02T05:58:53Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27ZtestcidSET Priority = 'low'202020-07-02T05:58:53.192089Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-08-17T08:07:27.613572Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:26 GMT etag: - - '637292663322830000' + - '637332484464700000' 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-07-02T05:58:52Z2020-07-02T05:58:52Zsb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27ZtestcidSET Priority = 'low'202020-07-02T05:58:52.9977704Zrule + i:type="SqlRuleAction">SET Priority = 'low'202020-08-17T08:07:27.4989085Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:27 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -294,7 +294,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: @@ -304,9 +304,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:27 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -326,7 +326,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -336,9 +336,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:52 GMT + - Mon, 17 Aug 2020 08:07:27 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -358,7 +358,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -368,9 +368,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:53 GMT + - Mon, 17 Aug 2020 08:07:27 GMT etag: - - '637292663322830000' + - '637332484464700000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml index 77c5e6369e1b..7a239601cc98 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:54Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:09Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:53 GMT + - Mon, 17 Aug 2020 17:53:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:58:54Z2020-07-02T05:58:54Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T17:53:10Z2020-08-17T17:53:10Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:54.943Z2020-07-02T05:58:54.98ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:10.643Z2020-08-17T17:53:10.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:54 GMT + - Mon, 17 Aug 2020 17:53:10 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-07-02T05:58:55Z2020-07-02T05:58:55Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T17:53:11Z2020-08-17T17:53:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:55.4761578Z2020-07-02T05:58:55.4761578Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:11.2567629Z2020-08-17T17:53:11.2567629Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:54 GMT + - Mon, 17 Aug 2020 17:53:11 GMT etag: - - '637292663349800000' + - '637332835906770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,24 +122,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-07-02T05:58:55Z2020-07-02T05:58:55Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-08-17T17:53:11Z2020-08-17T17:53:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:55.4758482Z2020-07-02T05:58:55.4758482Z2020-07-02T05:58:55.477ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:11.2621645Z2020-08-17T17:53:11.2621645Z2020-08-17T17:53:11.263Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:54 GMT + - Mon, 17 Aug 2020 17:53:11 GMT etag: - - '637292663349800000' + - '637332835906770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -161,7 +161,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: @@ -171,9 +171,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:54 GMT + - Mon, 17 Aug 2020 17:53:11 GMT etag: - - '637292663349800000' + - '637332835906770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -193,7 +193,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -203,9 +203,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:55 GMT + - Mon, 17 Aug 2020 17:53:12 GMT etag: - - '637292663349800000' + - '637332835906770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml index 9062ddba1779..9a6d84792420 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:56Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:13Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:56 GMT + - Mon, 17 Aug 2020 17:53:12 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:58:57Z2020-07-02T05:58:57Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T17:53:14Z2020-08-17T17:53:14Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:58:57.217Z2020-07-02T05:58:57.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:14.007Z2020-08-17T17:53:14.127ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:57 GMT + - Mon, 17 Aug 2020 17:53:14 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-07-02T05:58:57Z2020-07-02T05:58:57Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T17:53:14Z2020-08-17T17:53:14ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:58:57.7479854Z2020-07-02T05:58:57.7479854Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:14.8309408Z2020-08-17T17:53:14.8309408Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:57 GMT + - Mon, 17 Aug 2020 17:53:14 GMT etag: - - '637292663372730000' + - '637332835941270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -129,21 +129,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:886e8a17-ab7f-4718-915e-463e18ac2bc7_B3, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:58:58 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:ddf0b787-7910-4850-8a14-071b333bec65_B12, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:15 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:58 GMT + - Mon, 17 Aug 2020 17:53:15 GMT etag: - - '637292663372730000' + - '637332835941270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -165,7 +165,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: @@ -175,9 +175,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:58 GMT + - Mon, 17 Aug 2020 17:53:16 GMT etag: - - '637292663372730000' + - '637332835941270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -197,7 +197,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -207,9 +207,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:59 GMT + - Mon, 17 Aug 2020 17:53:16 GMT etag: - - '637292663372730000' + - '637332835941270000' 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 3d9a622747b5..bfc0706f4d9f 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:00Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:18Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:59 GMT + - Mon, 17 Aug 2020 17:53:18 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:59:00Z2020-07-02T05:59:00Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T17:53:18Z2020-08-17T17:53:18Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:00.54Z2020-07-02T05:59:00.567ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:18.76Z2020-08-17T17:53:18.853ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:00 GMT + - Mon, 17 Aug 2020 17:53:19 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-07-02T05:59:01Z2020-07-02T05:59:01Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-08-17T17:53:19Z2020-08-17T17:53:19ZPT13StruePT11Mtruetrue014trueActive2020-07-02T05:59:01.0659053Z2020-07-02T05:59:01.0659053Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-08-17T17:53:19.4799703Z2020-08-17T17:53:19.4799703Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:00 GMT + - Mon, 17 Aug 2020 17:53:19 GMT etag: - - '637292663405670000' + - '637332835988530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,24 +122,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-07-02T05:59:01Z2020-07-02T05:59:01Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-08-17T17:53:19Z2020-08-17T17:53:19ZPT13StruePT11Mtruetrue014trueActive2020-07-02T05:59:01.0634521Z2020-07-02T05:59:01.0634521Z2020-07-02T05:59:01.0634521ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:53:19.4784974Z2020-08-17T17:53:19.4784974Z2020-08-17T17:53:19.48Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:00 GMT + - Mon, 17 Aug 2020 17:53:19 GMT etag: - - '637292663405670000' + - '637332835988530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -161,7 +161,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: @@ -171,9 +171,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:00 GMT + - Mon, 17 Aug 2020 17:53:19 GMT etag: - - '637292663405670000' + - '637332835988530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -193,7 +193,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -203,9 +203,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:01 GMT + - Mon, 17 Aug 2020 17:53:20 GMT etag: - - '637292663405670000' + - '637332835988530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml index b2dbcaf24af4..1a312c8aa628 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:02Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:21Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:01 GMT + - Mon, 17 Aug 2020 17:53:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-07-02T05:59:02Z2020-07-02T05:59:02Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-08-17T17:53:22Z2020-08-17T17:53:22Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:02.91Z2020-07-02T05:59:02.957ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:22.57Z2020-08-17T17:53:22.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:02 GMT + - Mon, 17 Aug 2020 17:53:22 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.459594Z2020-07-02T05:59:03.459594Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.433373Z2020-08-17T17:53:23.433373Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:02 GMT + - Mon, 17 Aug 2020 17:53:22 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,26 +122,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:03Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:23Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:02 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -168,23 +168,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7564405Z2020-07-02T05:59:03.7564405Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.8239722Z2020-08-17T17:53:23.8239722Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -204,32 +204,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:03Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -249,24 +249,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-07-02T05:59:03Z2020-07-02T05:59:03Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518Z2020-07-02T05:59:03.4735518ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -288,7 +288,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: @@ -298,9 +298,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -318,26 +318,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:04Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-07-02T05:59:03Z2020-07-02T05:59:03ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714Z2020-07-02T05:59:03.7548714ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:23 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -359,7 +359,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: @@ -369,9 +369,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:24 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -389,20 +389,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:04Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:24 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -424,7 +424,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: @@ -434,9 +434,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:03 GMT + - Mon, 17 Aug 2020 17:53:24 GMT etag: - - '637292663429570000' + - '637332836026030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..e8896be2acd3 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_properties_basic.yaml @@ -0,0 +1,216 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:26Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:26 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-08-17T17:53:27Z2020-08-17T17:53:27Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:27.23Z2020-08-17T17:53:27.263ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:27 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-08-17T17:53:28Z2020-08-17T17:53:28ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:28.0266691Z2020-08-17T17:53:28.0266691Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:28 GMT + etag: + - '637332836072630000' + 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + response: + body: + string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-08-17T17:53:28Z2020-08-17T17:53:28ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:28.0287663Z2020-08-17T17:53:28.0287663Z2020-08-17T17:53:28.03Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:28 GMT + etag: + - '637332836072630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 17:53:28 GMT + etag: + - '637332836072630000' + 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.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 17:53:28 GMT + etag: + - '637332836072630000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml index 8e0d3cd9e735..aa195f4d92b2 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:07Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:30Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:07 GMT + - Mon, 17 Aug 2020 17:53:29 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-07-02T05:59:08Z2020-07-02T05:59:08Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-08-17T17:53:30Z2020-08-17T17:53:30Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:08.303Z2020-07-02T05:59:08.337ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:30.487Z2020-08-17T17:53:30.53ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:30 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,20 +79,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:08Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:31Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:30 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -119,23 +119,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T05:59:08Z2020-07-02T05:59:08Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:53:31Z2020-08-17T17:53:31ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.8948647Z2020-07-02T05:59:08.8948647Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.4130604Z2020-08-17T17:53:31.4130604Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:31 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -162,23 +162,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T05:59:08Z2020-07-02T05:59:08Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:53:31Z2020-08-17T17:53:31ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.9886337Z2020-07-02T05:59:08.9886337Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.7255848Z2020-08-17T17:53:31.7255848Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:31 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -198,32 +198,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:09Zhttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-07-02T05:59:08Z2020-07-02T05:59:08ZSubscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:32Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:53:31Z2020-08-17T17:53:31ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.8877111Z2020-07-02T05:59:08.8877111Z2020-07-02T05:59:08.8877111ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.4079484Z2020-08-17T17:53:31.4079484Z2020-08-17T17:53:31.4079484Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-07-02T05:59:08Z2020-07-02T05:59:08Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:53:31Z2020-08-17T17:53:31ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:08.9815377Z2020-07-02T05:59:08.9815377Z2020-07-02T05:59:08.9815377ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.7204491Z2020-08-17T17:53:31.7204491Z2020-08-17T17:53:31.7204491Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:31 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -245,7 +245,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: @@ -255,9 +255,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:32 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -277,7 +277,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: @@ -287,9 +287,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:08 GMT + - Mon, 17 Aug 2020 17:53:32 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -307,20 +307,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:09Z + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:32Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:09 GMT + - Mon, 17 Aug 2020 17:53:32 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -342,7 +342,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: @@ -352,9 +352,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:09 GMT + - Mon, 17 Aug 2020 17:53:32 GMT etag: - - '637292663483370000' + - '637332836105300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_properties.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_properties.yaml new file mode 100644 index 000000000000..49d66e8678fb --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_properties.yaml @@ -0,0 +1,356 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:34Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:33 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-08-17T17:53:34Z2020-08-17T17:53:34Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:34.87Z2020-08-17T17:53:34.903ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:34 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:35Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:34 GMT + etag: + - '637332836149030000' + 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:36Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:35 GMT + etag: + - '637332836149030000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '255' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-17T17:53:36Z2020-08-17T17:53:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:36.1601948Z2020-08-17T17:53:36.1601948Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:35 GMT + etag: + - '637332836149030000' + 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:36Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-17T17:53:36Z2020-08-17T17:53:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:36.1693589Z2020-08-17T17:53:36.1693589Z2020-08-17T17:53:36.17Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:35 GMT + etag: + - '637332836149030000' + 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.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:36Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-08-17T17:53:36Z2020-08-17T17:53:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:36.1693589Z2020-08-17T17:53:36.1693589Z2020-08-17T17:53:36.17Z00000P10675199DT2H48M5.4775807SAvailable + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:35 GMT + etag: + - '637332836149030000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 17:53:35 GMT + etag: + - '637332836149030000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:36Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 17:53:36 GMT + etag: + - '637332836149030000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 17:53:36 GMT + etag: + - '637332836149030000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml index 90b6e4f93a2f..cab99a7ca950 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:13Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:38Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:13 GMT + - Mon, 17 Aug 2020 17:53:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:59:13Z2020-07-02T05:59:13Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T17:53:39Z2020-08-17T17:53:39Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:13.9Z2020-07-02T05:59:13.933ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:39.26Z2020-08-17T17:53:39.297ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:14 GMT + - Mon, 17 Aug 2020 17:53:39 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-07-02T05:59:14Z2020-07-02T05:59:14Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-08-17T17:53:40Z2020-08-17T17:53:40ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:14.4215758Z2020-07-02T05:59:14.4215758Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:40.0795374Z2020-08-17T17:53:40.0795374Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:14 GMT + - Mon, 17 Aug 2020 17:53:40 GMT etag: - - '637292663539330000' + - '637332836192970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -116,7 +116,7 @@ interactions: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:14.421575Z2020-07-02T05:59:14.421575Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:40.079537Z2020-08-17T17:53:40.079537Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -131,21 +131,21 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:37515d8f-2ea6-41b6-bec9-5072e1d491dc_B1, - SystemTracker:NoSystemTracker, Timestamp:2020-07-02T05:59:14 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:665084b5-e929-4a6a-ad9c-a69d45f10cbe_B5, + SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:40 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:15 GMT + - Mon, 17 Aug 2020 17:53:41 GMT etag: - - '637292663539330000' + - '637332836192970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -159,7 +159,7 @@ interactions: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:14.421575Z2020-07-02T05:59:14.421575Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:40.079537Z2020-08-17T17:53:40.079537Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -174,7 +174,7 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 response: @@ -185,15 +185,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:b54cb5d3-855b-4b94-9b6a-586e71dfaaae_G15, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-07-02T05:59:15' + Actual value was 25.00:00:00. TrackingId:00091d6a-fae2-441c-b275-ab2a4abf6fb4_G4, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-08-17T17:53:41' headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:16 GMT + - Mon, 17 Aug 2020 17:53:42 GMT etag: - - '637292663539330000' + - '637332836192970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -215,7 +215,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: @@ -225,9 +225,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:16 GMT + - Mon, 17 Aug 2020 17:53:42 GMT etag: - - '637292663539330000' + - '637332836192970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -247,7 +247,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -257,9 +257,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:16 GMT + - Mon, 17 Aug 2020 17:53:43 GMT etag: - - '637292663539330000' + - '637332836192970000' 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 b834cb197645..41d6d4b457f8 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:17Z + string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:44Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:16 GMT + - Mon, 17 Aug 2020 17:53:44 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:18Z2020-07-02T05:59:18Zservicebustestshi5frbomphttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T17:53:45Z2020-08-17T17:53:45Zservicebustesteotyq3ucg7P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:18.33Z2020-07-02T05:59:18.377ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:45.313Z2020-08-17T17:53:45.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:17 GMT + - Mon, 17 Aug 2020 17:53:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:18Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:18.8141966Z2020-07-02T05:59:18.8141966Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:46.1465135Z2020-08-17T17:53:46.1465135Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:45 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -116,7 +116,7 @@ interactions: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:18.814196Z2020-07-02T05:59:18.814196Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.146513Z2020-08-17T17:53:46.146513Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -131,23 +131,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:19Z2020-07-02T05:59:19Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:19.1734923Z2020-07-02T05:59:19.1734923Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.3808273Z2020-08-17T17:53:46.3808273Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:46 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -167,24 +167,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:19Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-07-02T05:59:18.8184612Z2020-07-02T05:59:19.1777931Z2020-07-02T05:59:18.82ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.1397396Z2020-08-17T17:53:46.4053647Z2020-08-17T17:53:46.14Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:46 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -199,7 +199,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:18.818461Z2020-07-02T05:59:19.177793Z2020-07-02T05:59:18.820Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.139739Z2020-08-17T17:53:46.405364Z2020-08-17T17:53:46.140Z00000PT10MAvailable' headers: Accept: - application/xml @@ -214,23 +214,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-07-02T05:59:19Z2020-07-02T05:59:19Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:19.2985057Z2020-07-02T05:59:19.2985057Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.6152085Z2020-08-17T17:53:46.6152085Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:46 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -250,24 +250,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-07-02T05:59:18Z2020-07-02T05:59:19Zsb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46ZPT12SfalsePT11Mtruetrue014trueActive2020-07-02T05:59:18.8184612Z2020-07-02T05:59:19.30283Z2020-07-02T05:59:18.82ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.1397396Z2020-08-17T17:53:46.6241188Z2020-08-17T17:53:46.14Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:46 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -289,7 +289,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: @@ -299,9 +299,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:46 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -321,7 +321,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -331,9 +331,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:19 GMT + - Mon, 17 Aug 2020 17:53:47 GMT etag: - - '637292663583770000' + - '637332836253630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml index 121a82b84c3d..58802331a966 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:20Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:05Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:20 GMT + - Mon, 17 Aug 2020 08:08:04 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-07-02T05:59:20Z2020-07-02T05:59:20Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:08:05Z2020-08-17T08:08:05Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:20.783Z2020-07-02T05:59:20.81ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:05.75Z2020-08-17T08:08:05.81ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:21 GMT + - Mon, 17 Aug 2020 08:08:06 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-07-02T05:59:20Z2020-07-02T05:59:20Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-08-17T08:08:05Z2020-08-17T08:08:05Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:20.783Z2020-07-02T05:59:20.81Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:05.75Z2020-08-17T08:08:05.81Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:21 GMT + - Mon, 17 Aug 2020 08:08:06 GMT etag: - - '637292663608100000' + - '637332484858100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:21 GMT + - Mon, 17 Aug 2020 08:08:07 GMT etag: - - '637292663608100000' + - '637332484858100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml index a18ac6449519..cbf1a354adeb 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:22Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:08Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:22 GMT + - Mon, 17 Aug 2020 08:08:07 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-07-02T05:59:22Z2020-07-02T05:59:22Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:08:08Z2020-08-17T08:08:08Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:22.95Z2020-07-02T05:59:22.98ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:08.773Z2020-08-17T08:08:08.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:23 GMT + - Mon, 17 Aug 2020 08:08:08 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,22 +86,22 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:01a1f231-8b8c-41b2-a759-d4445fef69c5_G10, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-07-02T05:59:23 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:85b71f5e-1618-4c3d-8555-2a2091555677_G13, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-08-17T08:08:09 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:23 GMT + - Mon, 17 Aug 2020 08:08:08 GMT etag: - - '637292663629800000' + - '637332484888030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -123,7 +123,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: @@ -133,9 +133,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:23 GMT + - Mon, 17 Aug 2020 08:08:10 GMT etag: - - '637292663629800000' + - '637332484888030000' 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 eb9375052b5c..529f1ece11e3 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:24Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:11Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:24 GMT + - Mon, 17 Aug 2020 08:08:10 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-07-02T05:59:25Z2020-07-02T05:59:25Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:08:11Z2020-08-17T08:08:11Zservicebustest32ip2wgoaaPT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T05:59:25.313Z2020-07-02T05:59:25.47ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:08:11.573Z2020-08-17T08:08:11.683ZfalsePT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:25 GMT + - Mon, 17 Aug 2020 08:08:11 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-07-02T05:59:25Z2020-07-02T05:59:25Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:08:11Z2020-08-17T08:08:11Zservicebustest32ip2wgoaaPT11M356352falsePT12Mtrue0falsetrueActive2020-07-02T05:59:25.313Z2020-07-02T05:59:25.47Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:08:11.573Z2020-08-17T08:08:11.683Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:25 GMT + - Mon, 17 Aug 2020 08:08:12 GMT etag: - - '637292663654700000' + - '637332484916830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:25 GMT + - Mon, 17 Aug 2020 08:08:12 GMT etag: - - '637292663654700000' + - '637332484916830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml index cec1f518c05e..bccbc1236da5 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:27Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:14Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:26 GMT + - Mon, 17 Aug 2020 08:08:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:27 GMT + - Mon, 17 Aug 2020 08:08:15 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:28Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:15Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:27 GMT + - Mon, 17 Aug 2020 08:08:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -121,21 +121,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:28 GMT + - Mon, 17 Aug 2020 08:08:17 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -155,30 +155,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:29Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbompTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:17Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:29 GMT + - Mon, 17 Aug 2020 08:08:17 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -196,24 +196,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T05:59:27Z2020-07-02T05:59:27Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:27.617Z2020-07-02T05:59:27.647Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:29 GMT + - Mon, 17 Aug 2020 08:08:17 GMT etag: - - '637292663676470000' + - '637332484948070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -235,7 +235,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -245,9 +245,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:29 GMT + - Mon, 17 Aug 2020 08:08:18 GMT etag: - - '637292663676470000' + - '637332484948070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -265,24 +265,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:31Zhttps://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbompTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:19Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:30 GMT + - Mon, 17 Aug 2020 08:08:18 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -300,24 +300,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-07-02T05:59:28Z2020-07-02T05:59:29Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:28.973Z2020-07-02T05:59:29.003Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:30 GMT + - Mon, 17 Aug 2020 08:08:19 GMT etag: - - '637292663690030000' + - '637332484966730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -339,7 +339,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: @@ -349,9 +349,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:30 GMT + - Mon, 17 Aug 2020 08:08:19 GMT etag: - - '637292663690030000' + - '637332484966730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -369,18 +369,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:32Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:20Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:31 GMT + - Mon, 17 Aug 2020 08:08:20 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_properties_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_properties_basic.yaml new file mode 100644 index 000000000000..0e9fb972de57 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_properties_basic.yaml @@ -0,0 +1,141 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:21Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:08:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:21Z2020-08-17T08:08:21Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:21.727Z2020-08-17T08:08:21.76ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:08:21 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + response: + body: + string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:08:21Z2020-08-17T08:08:21Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:21.727Z2020-08-17T08:08:21.76Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Mon, 17 Aug 2020 08:08:21 GMT + etag: + - '637332485017600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 17 Aug 2020 08:08:22 GMT + etag: + - '637332485017600000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml index 8fa92be7e50d..9a3095d006ac 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:34Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:34 GMT + - Mon, 17 Aug 2020 08:08:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:35Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:34 GMT + - Mon, 17 Aug 2020 08:08:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -74,21 +74,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T05:59:35Z2020-07-02T05:59:35Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:08:24Z2020-08-17T08:08:24Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:35.9Z2020-07-02T05:59:35.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:24.653Z2020-08-17T08:08:24.683ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:35 GMT + - Mon, 17 Aug 2020 08:08:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -115,21 +115,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T05:59:36Z2020-07-02T05:59:36Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:08:25Z2020-08-17T08:08:25Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:36.743Z2020-07-02T05:59:36.77ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:25.87Z2020-08-17T08:08:25.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:36 GMT + - Mon, 17 Aug 2020 08:08:26 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -149,30 +149,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:37Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-07-02T05:59:35Z2020-07-02T05:59:35Zservicebustestshi5frbompTopicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:26Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:08:24Z2020-08-17T08:08:24Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:35.9Z2020-07-02T05:59:35.927Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:24.653Z2020-08-17T08:08:24.683Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-07-02T05:59:36Z2020-07-02T05:59:36Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:08:25Z2020-08-17T08:08:25Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:36.743Z2020-07-02T05:59:36.77Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:25.87Z2020-08-17T08:08:25.91Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:37 GMT + - Mon, 17 Aug 2020 08:08:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -192,7 +192,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: @@ -202,9 +202,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:37 GMT + - Mon, 17 Aug 2020 08:08:27 GMT etag: - - '637292663759270000' + - '637332485046830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -224,7 +224,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: @@ -234,9 +234,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:37 GMT + - Mon, 17 Aug 2020 08:08:27 GMT etag: - - '637292663767700000' + - '637332485059100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -254,18 +254,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:28Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:38 GMT + - Mon, 17 Aug 2020 08:08:28 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_properties.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_properties.yaml new file mode 100644 index 000000000000..ad7f5d46fb60 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_properties.yaml @@ -0,0 +1,261 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:09Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:08 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:10Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:10Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: ' + + ' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '248' + Content-Type: + - application/atom+xml + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: PUT + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: https://servicebustestbsudkdyafp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-18T21:12:11Z2020-08-18T21:12:11ZservicebustestbsudkdyafpP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-18T21:12:11.09Z2020-08-18T21:12:11.17ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=entry;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:11Zhttps://servicebustestbsudkdyafp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-18T21:12:11Z2020-08-18T21:12:11ZservicebustestbsudkdyafpP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-18T21:12:11.09Z2020-08-18T21:12:11.17Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:11 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:12Zhttps://servicebustestbsudkdyafp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-18T21:12:11Z2020-08-18T21:12:11ZservicebustestbsudkdyafpP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-18T21:12:11.09Z2020-08-18T21:12:11.17Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:11 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 18 Aug 2020 21:12:12 GMT + etag: + - '637333819311700000' + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + response: + body: + string: Topicshttps://servicebustestbsudkdyafp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-18T21:12:13Z + headers: + content-type: + - application/atom+xml;type=feed;charset=utf-8 + date: + - Tue, 18 Aug 2020 21:12:12 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml index 9e83f706ed9e..7fd715793c61 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:43Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:34Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:43 GMT + - Mon, 17 Aug 2020 08:08:34 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-07-02T05:59:44Z2020-07-02T05:59:44Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:08:34Z2020-08-17T08:08:34Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:44.35Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:44 GMT + - Mon, 17 Aug 2020 08:08:35 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:44.350Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -89,20 +89,20 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/iewdm?api-version=2017-04 response: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:636a6425-774b-4cf2-b22a-91fc476bb1fd_G8, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-07-02T05:59:45 + . TrackingId:7dc8fcea-5aaa-417e-8a3f-557e1809cf4b_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-08-17T08:08:35 headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:45 GMT + - Mon, 17 Aug 2020 08:08:35 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-07-02T05:59:44.350Z2020-07-02T05:59:44.397ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -132,7 +132,7 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -142,15 +142,15 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:a66fd9fb-68e3-4720-8f04-53abc2706751_G8, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-07-02T05:59:45' + Actual value was 25.00:00:00. TrackingId:52fb362a-1d80-412e-a5b7-31215d12e2f9_G6, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:08:36' headers: content-type: - application/xml; charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:45 GMT + - Mon, 17 Aug 2020 08:08:36 GMT etag: - - '637292663843970000' + - '637332485147270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -172,7 +172,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: @@ -182,9 +182,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:45 GMT + - Mon, 17 Aug 2020 08:08:36 GMT etag: - - '637292663843970000' + - '637332485147270000' 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 b3f83a00ab13..91516278cb42 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:46Z + string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:37Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:46 GMT + - Mon, 17 Aug 2020 08:08:36 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:47Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:37Zservicebustest32ip2wgoaaP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:47 GMT + - Mon, 17 Aug 2020 08:08:37 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-08-17T08:08:37.610Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -89,23 +89,23 @@ interactions: If-Match: - '*' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:47Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:38Zservicebustest32ip2wgoaaPT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.373ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:47 GMT + - Mon, 17 Aug 2020 08:08:38 GMT etag: - - '637292663873730000' + - '637332485176770000' 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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:47Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:38Zservicebustest32ip2wgoaaPT2M1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.3Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:47 GMT + - Mon, 17 Aug 2020 08:08:38 GMT etag: - - '637292663878870000' + - '637332485183000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -158,7 +158,7 @@ interactions: PT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-08-17T08:08:37.610Z2020-08-17T08:08:38.300Z0001-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.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-07-02T05:59:48Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:38Zservicebustest32ip2wgoaaPT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T05:59:47.347Z2020-07-02T05:59:47.887Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.3Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:47 GMT + - Mon, 17 Aug 2020 08:08:38 GMT etag: - - '637292663878870000' + - '637332485183000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -210,24 +210,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-07-02T05:59:47Z2020-07-02T05:59:48Zservicebustestshi5frbomphttps://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:38Zservicebustest32ip2wgoaaPT11M3072falsePT12Mtrue0falsetrueActive2020-07-02T05:59:47.347Z2020-07-02T05:59:48.113Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.46Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:47 GMT + - Mon, 17 Aug 2020 08:08:38 GMT etag: - - '637292663881130000' + - '637332485184600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -249,7 +249,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: @@ -259,9 +259,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:48 GMT + - Mon, 17 Aug 2020 08:08:39 GMT etag: - - '637292663881130000' + - '637332485184600000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_namespaces.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_namespaces.py new file mode 100644 index 000000000000..3a7c7547cf37 --- /dev/null +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_namespaces.py @@ -0,0 +1,25 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import pytest + +from azure.servicebus.management import ServiceBusAdministrationClient + +from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer +from servicebus_preparer import CachedServiceBusNamespacePreparer + + +class ServiceBusManagementClientNamespaceTests(AzureMgmtTestCase): + @CachedResourceGroupPreparer(name_prefix='servicebustest') + @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') + def test_mgmt_namespace_get_properties(self, servicebus_namespace_connection_string, + servicebus_namespace, servicebus_namespace_key_name, + servicebus_namespace_primary_key): + mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) + properties = mgmt_service.get_namespace_properties() + assert properties + assert properties.messaging_sku == 'Standard' + # assert properties.name == servicebus_namespace.name + # This is disabled pending investigation of why it isn't getting scrubbed despite expected scrubber use. \ No newline at end of file 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 94774cea2266..bdb9af0f7653 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 @@ -202,13 +202,13 @@ def test_mgmt_queue_create_by_name(self, servicebus_namespace_connection_string, clear_queues(mgmt_service) queue_name = "queue_testaddf" mgmt_service.create_queue(queue_name) - created_at = utc_now() + created_at_utc = utc_now() try: queue = mgmt_service.get_queue(queue_name) assert queue.name == queue_name assert queue.availability_status == 'Available' assert queue.status == 'Active' - # assert created_at < queue.created_at < utc_now() + datetime.timedelta(minutes=10) # TODO: Should be created_at_utc for consistency with dataplane. + # assert created_at_utc < queue.created_at_utc < utc_now() + datetime.timedelta(minutes=10) finally: mgmt_service.delete_queue(queue_name) @@ -379,18 +379,18 @@ def test_mgmt_queue_update_invalid(self, servicebus_namespace_connection_string, @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connection_string): + def test_mgmt_queue_list_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_queues(mgmt_service) queues = list(mgmt_service.list_queues()) - queues_infos = list(mgmt_service.list_queues_runtime_info()) + queues_infos = list(mgmt_service.list_queues_runtime_properties()) assert len(queues) == len(queues_infos) == 0 mgmt_service.create_queue("test_queue") queues = list(mgmt_service.list_queues()) - queues_infos = list(mgmt_service.list_queues_runtime_info()) + queues_infos = list(mgmt_service.list_queues_runtime_properties()) assert len(queues) == 1 and len(queues_infos) == 1 @@ -399,8 +399,8 @@ def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connectio info = queues_infos[0] assert info.size_in_bytes == 0 - assert info.accessed_at is not None - assert info.updated_at is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None assert info.total_message_count == 0 assert info.active_message_count == 0 @@ -410,60 +410,60 @@ def test_mgmt_queue_list_runtime_info_basic(self, servicebus_namespace_connectio assert info.scheduled_message_count == 0 mgmt_service.delete_queue("test_queue") - queues_infos = list(mgmt_service.list_queues_runtime_info()) + queues_infos = list(mgmt_service.list_queues_runtime_properties()) assert len(queues_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_queue_list_runtime_info_with_negative_parameters(self, servicebus_namespace_connection_string): + def test_mgmt_queue_list_runtime_properties_with_negative_parameters(self, servicebus_namespace_connection_string): pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_negative_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_queue_list_runtime_info_with_parameters(self, servicebus_namespace_connection_string): + def test_mgmt_queue_list_runtime_properties_with_parameters(self, servicebus_namespace_connection_string): pytest.skip("start_idx and max_count are currently removed, they might come back in the future.") mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) run_test_mgmt_list_with_parameters(MgmtQueueListRuntimeInfoTestHelper(mgmt_service)) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_queue_get_runtime_info_basic(self, servicebus_namespace_connection_string): + def test_mgmt_queue_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_queues(mgmt_service) mgmt_service.create_queue("test_queue") try: - queue_runtime_info = mgmt_service.get_queue_runtime_info("test_queue") - - assert queue_runtime_info - assert queue_runtime_info.name == "test_queue" - assert queue_runtime_info.size_in_bytes == 0 - assert queue_runtime_info.created_at is not None - assert queue_runtime_info.accessed_at is not None - assert queue_runtime_info.updated_at is not None - assert queue_runtime_info.total_message_count == 0 - - assert queue_runtime_info.active_message_count == 0 - assert queue_runtime_info.dead_letter_message_count == 0 - assert queue_runtime_info.transfer_dead_letter_message_count == 0 - assert queue_runtime_info.transfer_message_count == 0 - assert queue_runtime_info.scheduled_message_count == 0 + queue_runtime_properties = mgmt_service.get_queue_runtime_properties("test_queue") + + assert queue_runtime_properties + assert queue_runtime_properties.name == "test_queue" + assert queue_runtime_properties.size_in_bytes == 0 + assert queue_runtime_properties.created_at_utc is not None + assert queue_runtime_properties.accessed_at_utc is not None + assert queue_runtime_properties.updated_at_utc is not None + assert queue_runtime_properties.total_message_count == 0 + + assert queue_runtime_properties.active_message_count == 0 + assert queue_runtime_properties.dead_letter_message_count == 0 + assert queue_runtime_properties.transfer_dead_letter_message_count == 0 + assert queue_runtime_properties.transfer_message_count == 0 + assert queue_runtime_properties.scheduled_message_count == 0 finally: mgmt_service.delete_queue("test_queue") @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_queue_get_runtime_info_negative(self, servicebus_namespace_connection_string): + def test_mgmt_queue_get_runtime_properties_negative(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) with pytest.raises(msrest.exceptions.ValidationError): - mgmt_service.get_queue_runtime_info(None) + mgmt_service.get_queue_runtime_properties(None) with pytest.raises(msrest.exceptions.ValidationError): - mgmt_service.get_queue_runtime_info("") + mgmt_service.get_queue_runtime_properties("") with pytest.raises(ResourceNotFoundError): - mgmt_service.get_queue_runtime_info("non_existing_queue") + mgmt_service.get_queue_runtime_properties("non_existing_queue") def test_queue_properties_constructor(self): with pytest.raises(TypeError): 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 e5fae841d7f0..db0a734a5161 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 @@ -229,7 +229,7 @@ def test_mgmt_subscription_list(self, servicebus_namespace_connection_string, ** @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + def test_mgmt_subscription_list_runtime_properties(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_topics(mgmt_service) topic_name = 'dkoamv' @@ -237,14 +237,14 @@ def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connecti mgmt_service.create_topic(topic_name) subs = list(mgmt_service.list_subscriptions(topic_name)) - subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs) == len(subs_infos) == 0 mgmt_service.create_subscription(topic_name, subscription_name) subs = list(mgmt_service.list_subscriptions(topic_name)) - subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs) == 1 and len(subs_infos) == 1 @@ -252,8 +252,8 @@ def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connecti info = subs_infos[0] - assert info.accessed_at is not None - assert info.updated_at is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None assert info.active_message_count == 0 assert info.dead_letter_message_count == 0 @@ -261,14 +261,14 @@ def test_mgmt_subscription_list_runtime_info(self, servicebus_namespace_connecti assert info.transfer_message_count == 0 mgmt_service.delete_subscription(topic_name, subscription_name) - subs_infos = list(mgmt_service.list_subscriptions_runtime_info(topic_name)) + subs_infos = list(mgmt_service.list_subscriptions_runtime_properties(topic_name)) assert len(subs_infos) == 0 mgmt_service.delete_topic(topic_name) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_connection_string): + def test_mgmt_subscription_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_topics(mgmt_service) topic_name = 'dcvxqa' @@ -276,18 +276,18 @@ def test_mgmt_subscription_get_runtime_info_basic(self, servicebus_namespace_con mgmt_service.create_topic(topic_name) mgmt_service.create_subscription(topic_name, subscription_name) - sub_runtime_info = mgmt_service.get_subscription_runtime_info(topic_name, subscription_name) - - assert sub_runtime_info - assert sub_runtime_info.name == subscription_name - assert sub_runtime_info.created_at is not None - assert sub_runtime_info.accessed_at is not None - assert sub_runtime_info.updated_at is not None - - assert sub_runtime_info.active_message_count == 0 - assert sub_runtime_info.dead_letter_message_count == 0 - assert sub_runtime_info.transfer_dead_letter_message_count == 0 - assert sub_runtime_info.transfer_message_count == 0 + sub_runtime_properties = mgmt_service.get_subscription_runtime_properties(topic_name, subscription_name) + + assert sub_runtime_properties + assert sub_runtime_properties.name == subscription_name + assert sub_runtime_properties.created_at_utc is not None + assert sub_runtime_properties.accessed_at_utc is not None + assert sub_runtime_properties.updated_at_utc is not None + + assert sub_runtime_properties.active_message_count == 0 + assert sub_runtime_properties.dead_letter_message_count == 0 + assert sub_runtime_properties.transfer_dead_letter_message_count == 0 + assert sub_runtime_properties.transfer_message_count == 0 mgmt_service.delete_subscription(topic_name, subscription_name) mgmt_service.delete_topic(topic_name) diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py index 2687b4c3711d..acda86871b86 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 @@ -208,18 +208,18 @@ def test_mgmt_topic_list(self, servicebus_namespace_connection_string, **kwargs) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_string, **kwargs): + def test_mgmt_topic_list_runtime_properties(self, servicebus_namespace_connection_string, **kwargs): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_topics(mgmt_service) topics = list(mgmt_service.list_topics()) - topics_infos = list(mgmt_service.list_topics_runtime_info()) + topics_infos = list(mgmt_service.list_topics_runtime_properties()) assert len(topics) == len(topics_infos) == 0 mgmt_service.create_topic("test_topic") topics = list(mgmt_service.list_topics()) - topics_infos = list(mgmt_service.list_topics_runtime_info()) + topics_infos = list(mgmt_service.list_topics_runtime_properties()) assert len(topics) == 1 and len(topics_infos) == 1 @@ -227,33 +227,33 @@ def test_mgmt_topic_list_runtime_info(self, servicebus_namespace_connection_stri info = topics_infos[0] - assert info.accessed_at is not None - assert info.updated_at is not None + assert info.accessed_at_utc is not None + assert info.updated_at_utc is not None assert info.subscription_count is 0 assert info.size_in_bytes == 0 assert info.scheduled_message_count == 0 mgmt_service.delete_topic("test_topic") - topics_infos = list(mgmt_service.list_topics_runtime_info()) + topics_infos = list(mgmt_service.list_topics_runtime_properties()) assert len(topics_infos) == 0 @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') - def test_mgmt_topic_get_runtime_info_basic(self, servicebus_namespace_connection_string): + def test_mgmt_topic_get_runtime_properties_basic(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) clear_topics(mgmt_service) mgmt_service.create_topic("test_topic") - topic_runtime_info = mgmt_service.get_topic_runtime_info("test_topic") - - assert topic_runtime_info - assert topic_runtime_info.name == "test_topic" - assert topic_runtime_info.created_at is not None - assert topic_runtime_info.accessed_at is not None - assert topic_runtime_info.updated_at is not None - assert topic_runtime_info.size_in_bytes == 0 - assert topic_runtime_info.subscription_count is 0 - assert topic_runtime_info.scheduled_message_count == 0 + topic_runtime_properties = mgmt_service.get_topic_runtime_properties("test_topic") + + assert topic_runtime_properties + assert topic_runtime_properties.name == "test_topic" + assert topic_runtime_properties.created_at_utc is not None + assert topic_runtime_properties.accessed_at_utc is not None + assert topic_runtime_properties.updated_at_utc is not None + assert topic_runtime_properties.size_in_bytes == 0 + assert topic_runtime_properties.subscription_count is 0 + assert topic_runtime_properties.scheduled_message_count == 0 mgmt_service.delete_topic("test_topic") def test_topic_properties_constructor(self): diff --git a/sdk/servicebus/azure-servicebus/tests/stress_tests/stress_test_base.py b/sdk/servicebus/azure-servicebus/tests/stress_tests/stress_test_base.py index e26880c6fede..095485f40b96 100644 --- a/sdk/servicebus/azure-servicebus/tests/stress_tests/stress_test_base.py +++ b/sdk/servicebus/azure-servicebus/tests/stress_tests/stress_test_base.py @@ -11,7 +11,7 @@ import uuid from azure.servicebus import ServiceBusClient, Message, BatchMessage -from azure.servicebus._common.constants import ReceiveSettleMode +from azure.servicebus._common.constants import ReceiveMode from azure.servicebus.exceptions import MessageAlreadySettled class ReceiveType: @@ -57,7 +57,7 @@ def __init__(self, send_delay = .01, receive_delay = 0, should_complete_messages = True, - max_batch_size = 1): + max_message_count = 1): self.senders = senders self.receivers = receivers self.duration=duration @@ -68,7 +68,7 @@ def __init__(self, self.send_delay = send_delay self.receive_delay = receive_delay self.should_complete_messages = should_complete_messages - self.max_batch_size = max_batch_size + self.max_message_count = max_message_count # Because of pickle we need to create a state object and not just pass around ourselves. # If we ever require multiple runs of this one after another, just make Run() reset this. @@ -126,38 +126,46 @@ def _ConstructMessage(self): def _Send(self, sender, end_time): - with sender: - while end_time > datetime.utcnow(): - message = self._ConstructMessage() - sender.send_messages(message) - self.OnSend(self._state, message) - self._state.total_sent += 1 - time.sleep(self.send_delay) - return self._state + try: + print("STARTING SENDER") + with sender: + while end_time > datetime.utcnow(): + print("SENDING") + message = self._ConstructMessage() + sender.send_messages(message) + self.OnSend(self._state, message) + self._state.total_sent += 1 + time.sleep(self.send_delay) + return self._state + except Exception as e: + print("Exception in sender", e) def _Receive(self, receiver, end_time): - receiver._max_wait_time = self.max_wait_time - with receiver: - while end_time > datetime.utcnow(): - if self.receive_type == ReceiveType.pull: - batch = receiver.receive_messages(max_batch_size=self.max_batch_size) - elif self.receive_type == ReceiveType.push: - batch = receiver - - for message in batch: - self.OnReceive(self._state, message) - try: - if self.should_complete_messages: - message.complete() - except MessageAlreadySettled: # It may have been settled in the plugin callback. - pass - self._state.total_received += 1 - #TODO: Get EnqueuedTimeUtc out of broker properties and calculate latency. Should properties/app properties be mostly None? - if end_time <= datetime.utcnow(): - break - time.sleep(self.receive_delay) - return self._state + try: + with receiver: + while end_time > datetime.utcnow(): + print("RECEIVE LOOP") + if self.receive_type == ReceiveType.pull: + batch = receiver.receive_messages(max_message_count=self.max_message_count, max_wait_time=self.max_wait_time) + elif self.receive_type == ReceiveType.push: + batch = receiver.get_streaming_message_iter(max_wait_time=self.max_wait_time) + + for message in batch: + self.OnReceive(self._state, message) + try: + if self.should_complete_messages: + message.complete() + except MessageAlreadySettled: # It may have been settled in the plugin callback. + pass + self._state.total_received += 1 + #TODO: Get EnqueuedTimeUtc out of broker properties and calculate latency. Should properties/app properties be mostly None? + if end_time <= datetime.utcnow(): + break + time.sleep(self.receive_delay) + return self._state + except Exception as e: + print("Exception in receiver", e) def Run(self): @@ -165,11 +173,18 @@ def Run(self): end_time = start_time + (self._duration_override or self.duration) sent_messages = 0 received_messages = 0 - with concurrent.futures.ProcessPoolExecutor(max_workers=4) as proc_pool: + with concurrent.futures.ThreadPoolExecutor(max_workers=4) as proc_pool: + print("STARTING PROC POOL") senders = [proc_pool.submit(self._Send, sender, end_time) for sender in self.senders] receivers = [proc_pool.submit(self._Receive, receiver, end_time) for receiver in self.receivers] result = StressTestResults() + for each in concurrent.futures.as_completed(senders + receivers): + print("SOMETHING FINISHED") + if each in senders: + result.state_by_sender[each] = each.result() + if each in receivers: + result.state_by_receiver[each] = each.result() # TODO: do as_completed in one batch to provide a way to short-circuit on failure. result.state_by_sender = {s:f.result() for s,f in zip(self.senders, concurrent.futures.as_completed(senders))} result.state_by_receiver = {r:f.result() for r,f in zip(self.receivers, concurrent.futures.as_completed(receivers))} diff --git a/sdk/servicebus/azure-servicebus/tests/stress_tests/test_stress_queues.py b/sdk/servicebus/azure-servicebus/tests/stress_tests/test_stress_queues.py index 5d32a21d7a71..f98c3baab1c9 100644 --- a/sdk/servicebus/azure-servicebus/tests/stress_tests/test_stress_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/stress_tests/test_stress_queues.py @@ -11,7 +11,7 @@ import time from azure.servicebus import ServiceBusClient -from azure.servicebus._common.constants import ReceiveSettleMode +from azure.servicebus._common.constants import ReceiveMode from devtools_testutils import AzureMgmtTestCase, CachedResourceGroupPreparer @@ -108,7 +108,7 @@ def test_stress_queue_receive_and_delete(self, servicebus_namespace_connection_s servicebus_namespace_connection_string, debug=False) stress_test = StressTestRunner(senders = [sb_client.get_queue_sender(servicebus_queue.name)], - receivers = [sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete)], + receivers = [sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete)], duration=timedelta(seconds=60)) result = stress_test.Run() @@ -147,9 +147,9 @@ def test_stress_queue_receive_large_batch_size(self, servicebus_namespace_connec servicebus_namespace_connection_string, debug=False) stress_test = StressTestRunner(senders = [sb_client.get_queue_sender(servicebus_queue.name)], - receivers = [sb_client.get_queue_receiver(servicebus_queue.name, prefetch=50)], + receivers = [sb_client.get_queue_receiver(servicebus_queue.name, prefetch_count=50)], duration = timedelta(seconds=60), - max_batch_size = 50) + max_message_count = 50) result = stress_test.Run() assert(result.total_sent > 0) diff --git a/sdk/servicebus/azure-servicebus/tests/test_queues.py b/sdk/servicebus/azure-servicebus/tests/test_queues.py index 46137893985e..452490f0af45 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/test_queues.py @@ -15,10 +15,10 @@ import uamqp from azure.servicebus import ServiceBusClient, AutoLockRenew, TransportType -from azure.servicebus._common.message import Message, PeekMessage, ReceivedMessage, BatchMessage +from azure.servicebus._common.message import Message, PeekedMessage, ReceivedMessage, BatchMessage from azure.servicebus._common.constants import ( + ReceiveMode, SubQueue, - ReceiveSettleMode, _X_OPT_LOCK_TOKEN, _X_OPT_PARTITION_KEY, _X_OPT_VIA_PARTITION_KEY, @@ -64,7 +64,7 @@ def test_receive_and_delete_reconnect_interaction(self, servicebus_namespace_con sender.send_messages(Message("Message {}".format(i))) with sb_client.get_queue_receiver(servicebus_queue.name, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=10) as receiver: batch = receiver.receive_messages() count = len(batch) @@ -214,7 +214,7 @@ def test_queue_by_queue_client_conn_str_receive_handler_receiveanddelete(self, s messages = [] with sb_client.get_queue_receiver(servicebus_queue.name, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=8) as receiver: for message in receiver: assert not message.properties @@ -239,7 +239,7 @@ def test_queue_by_queue_client_conn_str_receive_handler_receiveanddelete(self, s messages = [] with sb_client.get_queue_receiver(servicebus_queue.name, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as receiver: for message in receiver: messages.append(message) @@ -296,7 +296,7 @@ def test_queue_by_servicebus_client_iter_messages_simple(self, servicebus_namesp with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -328,7 +328,7 @@ def test_queue_by_servicebus_conn_str_client_iter_messages_with_abandon(self, se with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: - with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -347,7 +347,7 @@ def test_queue_by_servicebus_conn_str_client_iter_messages_with_abandon(self, se assert count == 10 - with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=20, mode=ReceiveSettleMode.PeekLock) as receiver: + with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=20, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 for message in receiver: print_message(_logger, message) @@ -370,7 +370,7 @@ def test_queue_by_servicebus_client_iter_messages_with_defer(self, servicebus_na with sb_client.get_queue_receiver( servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -385,7 +385,7 @@ def test_queue_by_servicebus_client_iter_messages_with_defer(self, servicebus_na message.defer() assert count == 10 - with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 for message in receiver: print_message(_logger, message) @@ -407,7 +407,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_client( deferred_messages = [] with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -450,7 +450,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_receive with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 for message in receiver: deferred_messages.append(message.sequence_number) @@ -462,7 +462,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_receive with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: deferred = receiver.receive_deferred_messages(deferred_messages) assert len(deferred) == 10 for message in deferred: @@ -491,7 +491,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_receive with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 for message in receiver: deferred_messages.append(message.sequence_number) @@ -507,7 +507,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_receive assert len(deferred) == 10 for message in deferred: assert isinstance(message, ReceivedMessage) - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") count = 0 with sb_client.get_queue_receiver(servicebus_queue.name, @@ -547,7 +547,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_receive assert count == 10 with sb_client.get_queue_receiver(servicebus_queue.name, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as receiver: deferred = receiver.receive_deferred_messages(deferred_messages) assert len(deferred) == 10 @@ -571,7 +571,7 @@ def test_queue_by_servicebus_client_iter_messages_with_retrieve_deferred_not_fou deferred_messages = [] with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(3): @@ -605,8 +605,8 @@ def test_queue_by_servicebus_client_receive_batch_with_deadletter(self, serviceb with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10) as receiver: + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -619,14 +619,14 @@ def test_queue_by_servicebus_client_receive_batch_with_deadletter(self, serviceb for message in messages: print_message(_logger, message) count += 1 - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") messages = receiver.receive_messages() assert count == 10 with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as receiver: + receive_mode=ReceiveMode.PeekLock) as receiver: count = 0 for message in receiver: print_message(_logger, message) @@ -638,7 +638,7 @@ def test_queue_by_servicebus_client_receive_batch_with_deadletter(self, serviceb servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as dl_receiver: + receive_mode=ReceiveMode.PeekLock) as dl_receiver: count = 0 for message in dl_receiver: message.complete() @@ -661,8 +661,8 @@ def test_queue_by_servicebus_client_receive_batch_with_retrieve_deadletter(self, with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10) as receiver: + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -674,7 +674,7 @@ def test_queue_by_servicebus_client_receive_batch_with_retrieve_deadletter(self, while messages: for message in messages: print_message(_logger, message) - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") count += 1 messages = receiver.receive_messages() @@ -686,7 +686,7 @@ def test_queue_by_servicebus_client_receive_batch_with_retrieve_deadletter(self, servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as dl_receiver: + receive_mode=ReceiveMode.PeekLock) as dl_receiver: count = 0 for message in dl_receiver: print_message(_logger, message) @@ -734,7 +734,7 @@ def test_queue_by_servicebus_client_browse_messages_client(self, servicebus_name with sb_client.get_queue_receiver(servicebus_queue.name) as receiver: messages = receiver.peek_messages(5) assert len(messages) == 5 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -753,7 +753,7 @@ def test_queue_by_servicebus_client_browse_messages_with_receiver(self, serviceb receiver = sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) + receive_mode=ReceiveMode.PeekLock) sender = sb_client.get_queue_sender(servicebus_queue.name) with receiver, sender: for i in range(5): @@ -774,7 +774,7 @@ def test_queue_by_servicebus_client_browse_messages_with_receiver(self, serviceb messages = receiver.peek_messages(5) assert len(messages) > 0 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) assert b''.join(message.body) == b'Test message' @@ -822,8 +822,8 @@ def test_queue_by_servicebus_client_browse_empty_messages(self, servicebus_names with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10) as receiver: + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10) as receiver: messages = receiver.peek_messages(10) assert len(messages) == 0 @@ -862,8 +862,8 @@ def test_queue_by_servicebus_client_renew_message_locks(self, servicebus_namespa locks = 3 with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10) as receiver: + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(locks): message = Message("Test message no. {}".format(i)) @@ -909,8 +909,8 @@ def test_queue_by_queue_client_conn_str_receive_handler_with_autolockrenew(self, messages = [] with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10) as receiver: + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10) as receiver: for message in receiver: if not messages: messages.append(message) @@ -961,7 +961,7 @@ def test_queue_message_time_to_live(self, servicebus_namespace_connection_string sender.send_messages(message) time.sleep(30) - with sb_client.get_queue_receiver(servicebus_queue.name, prefetch=5) as receiver: + with sb_client.get_queue_receiver(servicebus_queue.name, prefetch_count=5) as receiver: messages = receiver.receive_messages(5, max_wait_time=10) assert not messages @@ -969,7 +969,7 @@ def test_queue_message_time_to_live(self, servicebus_namespace_connection_string servicebus_queue.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock) as dl_receiver: + receive_mode=ReceiveMode.PeekLock) as dl_receiver: count = 0 for message in dl_receiver: print_message(_logger, message) @@ -1108,7 +1108,7 @@ def test_queue_message_receive_and_delete(self, servicebus_namespace_connection_ sender.send_messages(message) with sb_client.get_queue_receiver(servicebus_queue.name, - mode=ReceiveSettleMode.ReceiveAndDelete) as receiver: + receive_mode=ReceiveMode.ReceiveAndDelete) as receiver: messages = receiver.receive_messages(max_wait_time=10) assert len(messages) == 1 received = messages[0] @@ -1242,7 +1242,7 @@ def test_queue_schedule_multiple_messages(self, servicebus_namespace_connection_ scheduled_enqueue_time = (utc_now() + timedelta(minutes=2)).replace(microsecond=0) sender = sb_client.get_queue_sender(servicebus_queue.name) - receiver = sb_client.get_queue_receiver(servicebus_queue.name, prefetch=20) + receiver = sb_client.get_queue_receiver(servicebus_queue.name, prefetch_count=20) with sender, receiver: content = str(uuid.uuid4()) @@ -1349,7 +1349,7 @@ def test_queue_message_amqp_over_websocket(self, servicebus_namespace_connection message = Message("Test") sender.send_messages(message) - with sb_client.get_queue_receiver(servicebus_queue.name, mode=ReceiveSettleMode.ReceiveAndDelete) as receiver: + with sb_client.get_queue_receiver(servicebus_queue.name, receive_mode=ReceiveMode.ReceiveAndDelete) as receiver: assert receiver._config.transport_type == TransportType.AmqpOverWebsocket messages = receiver.receive_messages(max_wait_time=5) assert len(messages) == 1 diff --git a/sdk/servicebus/azure-servicebus/tests/test_sb_client.py b/sdk/servicebus/azure-servicebus/tests/test_sb_client.py index 703c1b0a397a..eaaad26a9cce 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_sb_client.py +++ b/sdk/servicebus/azure-servicebus/tests/test_sb_client.py @@ -14,8 +14,7 @@ from azure.common import AzureHttpError, AzureConflictHttpError from azure.mgmt.servicebus.models import AccessRights from azure.servicebus import ServiceBusClient, ServiceBusSharedKeyCredential, ServiceBusSender -from azure.servicebus._common.message import Message, PeekMessage -from azure.servicebus._common.constants import ReceiveSettleMode +from azure.servicebus._common.message import Message, PeekedMessage from azure.servicebus.exceptions import ( ServiceBusError, ServiceBusConnectionError, @@ -87,7 +86,7 @@ def test_sb_client_readonly_credentials(self, servicebus_authorization_rule_conn with client: with client.get_queue_receiver(servicebus_queue.name) as receiver: - messages = receiver.receive_messages(max_batch_size=1, max_wait_time=1) + messages = receiver.receive_messages(max_message_count=1, max_wait_time=1) with pytest.raises(ServiceBusAuthorizationError): with client.get_queue_sender(servicebus_queue.name) as sender: @@ -105,7 +104,7 @@ def test_sb_client_writeonly_credentials(self, servicebus_authorization_rule_con with client: with pytest.raises(ServiceBusError): with client.get_queue_receiver(servicebus_queue.name) as receiver: - messages = receiver.receive_messages(max_batch_size=1, max_wait_time=1) + messages = receiver.receive_messages(max_message_count=1, max_wait_time=1) with client.get_queue_sender(servicebus_queue.name) as sender: sender.send_messages(Message("test")) diff --git a/sdk/servicebus/azure-servicebus/tests/test_sessions.py b/sdk/servicebus/azure-servicebus/tests/test_sessions.py index cbee34ef2ee4..bf065a565bd7 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_sessions.py +++ b/sdk/servicebus/azure-servicebus/tests/test_sessions.py @@ -14,8 +14,8 @@ from datetime import datetime, timedelta from azure.servicebus import ServiceBusClient, AutoLockRenew -from azure.servicebus._common.message import Message, PeekMessage, ReceivedMessage -from azure.servicebus._common.constants import ReceiveSettleMode, NEXT_AVAILABLE, SubQueue +from azure.servicebus._common.message import Message, PeekedMessage, ReceivedMessage +from azure.servicebus._common.constants import ReceiveMode, NEXT_AVAILABLE, SubQueue from azure.servicebus._common.utils import utc_now from azure.servicebus.exceptions import ( ServiceBusConnectionError, @@ -120,7 +120,7 @@ def test_session_by_queue_client_conn_str_receive_handler_receiveanddelete(self, messages = [] with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as session: for message in session: messages.append(message) @@ -134,7 +134,7 @@ def test_session_by_queue_client_conn_str_receive_handler_receiveanddelete(self, time.sleep(30) messages = [] - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, mode=ReceiveSettleMode.ReceiveAndDelete, max_wait_time=5) as session: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as session: for message in session: messages.append(message) assert len(messages) == 0 @@ -157,7 +157,7 @@ def test_session_by_session_client_conn_str_receive_handler_with_stop(self, serv messages = [] with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5) as session: for message in session: - assert session_id == session._session_id + assert session_id == session.session.session_id assert session_id == message.session_id messages.append(message) message.complete() @@ -169,7 +169,7 @@ def test_session_by_session_client_conn_str_receive_handler_with_stop(self, serv with session: for message in session: - assert session_id == session._session_id + assert session_id == session.session.session_id assert session_id == message.session_id messages.append(message) message.complete() @@ -245,7 +245,7 @@ def test_session_by_session_client_conn_str_receive_handler_with_inactive_sessio messages = [] with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, - mode=ReceiveSettleMode.ReceiveAndDelete, + receive_mode=ReceiveMode.ReceiveAndDelete, max_wait_time=5) as session: for message in session: messages.append(message) @@ -329,7 +329,7 @@ def test_session_by_servicebus_client_iter_messages_with_retrieve_deferred_recei assert len(deferred) == 10 for message in deferred: assert isinstance(message, ReceivedMessage) - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") count = 0 with sb_client.get_queue_receiver(servicebus_queue.name, @@ -373,7 +373,7 @@ def test_session_by_servicebus_client_iter_messages_with_retrieve_deferred_recei with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, - mode=ReceiveSettleMode.ReceiveAndDelete) as session: + receive_mode=ReceiveMode.ReceiveAndDelete) as session: deferred = session.receive_deferred_messages(deferred_messages) assert len(deferred) == 10 for message in deferred: @@ -429,7 +429,7 @@ def test_session_by_servicebus_client_receive_with_retrieve_deadletter(self, ser with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, - prefetch=10) as receiver: + prefetch_count=10) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(10): @@ -441,7 +441,7 @@ def test_session_by_servicebus_client_receive_with_retrieve_deadletter(self, ser while messages: for message in messages: print_message(_logger, message) - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") count += 1 messages = receiver.receive_messages() assert count == 10 @@ -486,7 +486,7 @@ def test_session_by_servicebus_client_browse_messages_client(self, servicebus_na with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id) as receiver: messages = receiver.peek_messages(5) assert len(messages) == 5 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -516,7 +516,7 @@ def test_session_by_servicebus_client_browse_messages_with_receiver(self, servic messages = receiver.peek_messages(5) assert len(messages) > 0 - assert all(isinstance(m, PeekMessage) for m in messages) + assert all(isinstance(m, PeekedMessage) for m in messages) for message in messages: print_message(_logger, message) with pytest.raises(AttributeError): @@ -535,7 +535,7 @@ def test_session_by_servicebus_client_renew_client_locks(self, servicebus_namesp session_id = str(uuid.uuid4()) messages = [] locks = 3 - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch=10) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch_count=10) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: for i in range(locks): message = Message("Test message no. {}".format(i), session_id=session_id) @@ -592,7 +592,7 @@ def lock_lost_callback(renewable, error): renewer = AutoLockRenew() messages = [] - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: renewer.register(receiver.session, timeout=60, on_lock_renew_failure = lock_lost_callback) print("Registered lock renew thread", receiver.session._locked_until_utc, utc_now()) with pytest.raises(SessionLockExpired): @@ -630,7 +630,7 @@ def lock_lost_callback(renewable, error): renewer._renew_period = 1 session = None - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, mode=ReceiveSettleMode.PeekLock, prefetch=10) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5, receive_mode=ReceiveMode.PeekLock, prefetch_count=10) as receiver: session = receiver.session renewer.register(session, timeout=5, on_lock_renew_failure=lock_lost_callback) sleep_until_expired(receiver.session) @@ -754,7 +754,7 @@ def test_session_schedule_multiple_messages(self, servicebus_namespace_connectio session_id = str(uuid.uuid4()) enqueue_time = (utc_now() + timedelta(minutes=2)).replace(microsecond=0) - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch=20) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch_count=20) as receiver: with sb_client.get_queue_sender(servicebus_queue.name) as sender: content = str(uuid.uuid4()) message_id_a = uuid.uuid4() @@ -829,13 +829,13 @@ def test_session_get_set_state_with_receiver(self, servicebus_namespace_connecti sender.send_messages(message) with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, max_wait_time=5) as session: - assert session.session.get_session_state() == None - session.session.set_session_state("first_state") + assert session.session.get_state() == None + session.session.set_state("first_state") count = 0 for m in session: assert m.session_id == session_id count += 1 - session.session.get_session_state() + session.session.get_state() assert count == 3 @@ -862,9 +862,9 @@ def test_session_by_servicebus_client_list_sessions_with_receiver(self, serviceb sender.send_messages(message) for session_id in sessions: with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id) as receiver: - receiver.set_session_state("SESSION {}".format(session_id)) + receiver.set_state("SESSION {}".format(session_id)) - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=NEXT_AVAILABLE, max_wait_time=5, mode=ReceiveSettleMode.PeekLock) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=NEXT_AVAILABLE, max_wait_time=5, receive_mode=ReceiveMode.PeekLock) as receiver: current_sessions = receiver.list_sessions(updated_since=start_time) assert len(current_sessions) == 5 assert current_sessions == sessions @@ -893,7 +893,7 @@ def test_session_by_servicebus_client_list_sessions_with_client(self, servicebus sender.send_messages(message) for session in sessions: with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session) as receiver: - receiver.set_session_state("SESSION {}".format(session)) + receiver.set_state("SESSION {}".format(session)) current_sessions = receiver.list_sessions(updated_since=start_time) assert len(current_sessions) == 5 @@ -959,7 +959,7 @@ def test_session_by_session_client_conn_str_receive_handler_peeklock_abandon(sel message = Message("Handler message no. {}".format(i), session_id=session_id) sender.send_messages(message) - with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch=0, max_wait_time=5) as receiver: + with sb_client.get_queue_session_receiver(servicebus_queue.name, session_id=session_id, prefetch_count=0, max_wait_time=5) as receiver: message = receiver.next() assert message.sequence_number == 1 message.abandon() diff --git a/sdk/servicebus/azure-servicebus/tests/test_subscriptions.py b/sdk/servicebus/azure-servicebus/tests/test_subscriptions.py index 2855a1bf3c4b..311897439941 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_subscriptions.py +++ b/sdk/servicebus/azure-servicebus/tests/test_subscriptions.py @@ -11,7 +11,7 @@ import time from datetime import datetime, timedelta -from azure.servicebus import ServiceBusClient, Message, PeekMessage, ReceiveSettleMode, ServiceBusSharedKeyCredential +from azure.servicebus import ServiceBusClient, Message, ReceiveMode, ServiceBusSharedKeyCredential from azure.servicebus.exceptions import ServiceBusError from azure.servicebus._common.constants import SubQueue @@ -126,8 +126,8 @@ def test_subscription_by_servicebus_client_receive_batch_with_deadletter(self, s topic_name=servicebus_topic.name, subscription_name=servicebus_subscription.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock, - prefetch=10 + receive_mode=ReceiveMode.PeekLock, + prefetch_count=10 ) as receiver: with sb_client.get_topic_sender(servicebus_topic.name) as sender: @@ -141,7 +141,7 @@ def test_subscription_by_servicebus_client_receive_batch_with_deadletter(self, s for message in messages: print_message(_logger, message) count += 1 - message.dead_letter(reason="Testing reason", description="Testing description") + message.dead_letter(reason="Testing reason", error_description="Testing description") messages = receiver.receive_messages() assert count == 10 @@ -150,7 +150,7 @@ def test_subscription_by_servicebus_client_receive_batch_with_deadletter(self, s topic_name=servicebus_topic.name, subscription_name=servicebus_subscription.name, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock + receive_mode=ReceiveMode.PeekLock ) as receiver: count = 0 for message in receiver: @@ -164,7 +164,7 @@ def test_subscription_by_servicebus_client_receive_batch_with_deadletter(self, s subscription_name=servicebus_subscription.name, sub_queue = SubQueue.DeadLetter, max_wait_time=5, - mode=ReceiveSettleMode.PeekLock + receive_mode=ReceiveMode.PeekLock ) as dl_receiver: count = 0 for message in dl_receiver: