From c061c55fe5a0e775eaacd39dfb6ed656ac7e5fff Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Feb 2018 15:30:27 -0800 Subject: [PATCH 1/8] Generated from eb292024b547ba2920c6cbe2231e8ee44a2c71ef (#2049) Added enableBatchedOperations property to ServiceBus Queue --- .../azure/mgmt/servicebus/models/sb_queue.py | 7 +++- .../disaster_recovery_configs_operations.py | 32 ++++++++++----- .../operations/event_hubs_operations.py | 5 ++- .../operations/namespaces_operations.py | 41 ++++++++++++------- .../mgmt/servicebus/operations/operations.py | 5 ++- .../premium_messaging_regions_operations.py | 5 ++- .../operations/queues_operations.py | 32 ++++++++++----- .../operations/regions_operations.py | 5 ++- .../servicebus/operations/rules_operations.py | 14 ++++--- .../operations/subscriptions_operations.py | 14 ++++--- .../operations/topics_operations.py | 32 ++++++++++----- .../azure/mgmt/servicebus/version.py | 2 +- 12 files changed, 127 insertions(+), 67 deletions(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py index 97ef3c09de1a..79da01fd3d74 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py @@ -72,6 +72,9 @@ class SBQueue(Resource): 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown' :type status: str or ~azure.mgmt.servicebus.models.EntityStatus + :param enable_batched_operations: Value that indicates whether server-side + batched operations are enabled. + :type enable_batched_operations: bool :param auto_delete_on_idle: ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. :type auto_delete_on_idle: timedelta @@ -120,6 +123,7 @@ class SBQueue(Resource): 'duplicate_detection_history_time_window': {'key': 'properties.duplicateDetectionHistoryTimeWindow', 'type': 'duration'}, 'max_delivery_count': {'key': 'properties.maxDeliveryCount', 'type': 'int'}, 'status': {'key': 'properties.status', 'type': 'EntityStatus'}, + 'enable_batched_operations': {'key': 'properties.enableBatchedOperations', 'type': 'bool'}, 'auto_delete_on_idle': {'key': 'properties.autoDeleteOnIdle', 'type': 'duration'}, 'enable_partitioning': {'key': 'properties.enablePartitioning', 'type': 'bool'}, 'enable_express': {'key': 'properties.enableExpress', 'type': 'bool'}, @@ -127,7 +131,7 @@ class SBQueue(Resource): 'forward_dead_lettered_messages_to': {'key': 'properties.forwardDeadLetteredMessagesTo', 'type': 'str'}, } - def __init__(self, lock_duration=None, max_size_in_megabytes=None, requires_duplicate_detection=None, requires_session=None, default_message_time_to_live=None, dead_lettering_on_message_expiration=None, duplicate_detection_history_time_window=None, max_delivery_count=None, status=None, auto_delete_on_idle=None, enable_partitioning=None, enable_express=None, forward_to=None, forward_dead_lettered_messages_to=None): + def __init__(self, lock_duration=None, max_size_in_megabytes=None, requires_duplicate_detection=None, requires_session=None, default_message_time_to_live=None, dead_lettering_on_message_expiration=None, duplicate_detection_history_time_window=None, max_delivery_count=None, status=None, enable_batched_operations=None, auto_delete_on_idle=None, enable_partitioning=None, enable_express=None, forward_to=None, forward_dead_lettered_messages_to=None): super(SBQueue, self).__init__() self.count_details = None self.created_at = None @@ -144,6 +148,7 @@ def __init__(self, lock_duration=None, max_size_in_megabytes=None, requires_dupl self.duplicate_detection_history_time_window = duplicate_detection_history_time_window self.max_delivery_count = max_delivery_count self.status = status + self.enable_batched_operations = enable_batched_operations self.auto_delete_on_idle = auto_delete_on_idle self.enable_partitioning = enable_partitioning self.enable_express = enable_express diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/disaster_recovery_configs_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/disaster_recovery_configs_operations.py index 38f955c54c86..07bbb40c5db5 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/disaster_recovery_configs_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/disaster_recovery_configs_operations.py @@ -21,7 +21,7 @@ class DisasterRecoveryConfigsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -64,7 +64,7 @@ def check_name_availability_method( parameters = models.CheckNameAvailability(name=name) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability' + url = self.check_name_availability_method.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -107,6 +107,7 @@ def check_name_availability_method( return client_raw_response return deserialized + check_name_availability_method.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability'} def list( self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): @@ -132,7 +133,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs' + url = self.list.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -177,6 +178,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs'} def create_or_update( self, resource_group_name, namespace_name, alias, partner_namespace=None, alternate_name=None, custom_headers=None, raw=False, **operation_config): @@ -209,7 +211,7 @@ def create_or_update( parameters = models.ArmDisasterRecovery(partner_namespace=partner_namespace, alternate_name=alternate_name) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -253,6 +255,7 @@ def create_or_update( return client_raw_response return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}'} def delete( self, resource_group_name, namespace_name, alias, custom_headers=None, raw=False, **operation_config): @@ -276,7 +279,7 @@ def delete( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -309,6 +312,7 @@ def delete( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}'} def get( self, resource_group_name, namespace_name, alias, custom_headers=None, raw=False, **operation_config): @@ -334,7 +338,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -374,6 +378,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}'} def break_pairing( self, resource_group_name, namespace_name, alias, custom_headers=None, raw=False, **operation_config): @@ -398,7 +403,7 @@ def break_pairing( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing' + url = self.break_pairing.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -431,6 +436,7 @@ def break_pairing( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + break_pairing.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing'} def fail_over( self, resource_group_name, namespace_name, alias, custom_headers=None, raw=False, **operation_config): @@ -455,7 +461,7 @@ def fail_over( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover' + url = self.fail_over.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -488,6 +494,7 @@ def fail_over( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + fail_over.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover'} def list_authorization_rules( self, resource_group_name, namespace_name, alias, custom_headers=None, raw=False, **operation_config): @@ -515,7 +522,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules' + url = self.list_authorization_rules.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -561,6 +568,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_authorization_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules'} def get_authorization_rule( self, resource_group_name, namespace_name, alias, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -587,7 +595,7 @@ def get_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}' + url = self.get_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -628,6 +636,7 @@ def get_authorization_rule( return client_raw_response return deserialized + get_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}'} def list_keys( self, resource_group_name, namespace_name, alias, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -654,7 +663,7 @@ def list_keys( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}/listKeys' + url = self.list_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -695,3 +704,4 @@ def list_keys( return client_raw_response return deserialized + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/AuthorizationRules/{authorizationRuleName}/listKeys'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/event_hubs_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/event_hubs_operations.py index 4f2c515aca00..efe2322dde90 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/event_hubs_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/event_hubs_operations.py @@ -21,7 +21,7 @@ class EventHubsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -60,7 +60,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/eventhubs' + url = self.list_by_namespace.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -105,3 +105,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_namespace.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/eventhubs'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py index 33f7ad5f255d..5d83acaffd93 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py @@ -23,7 +23,7 @@ class NamespacesOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -61,7 +61,7 @@ def check_name_availability_method( parameters = models.CheckNameAvailability(name=name) # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability' + url = self.check_name_availability_method.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -102,6 +102,7 @@ def check_name_availability_method( return client_raw_response return deserialized + check_name_availability_method.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability'} def list( self, custom_headers=None, raw=False, **operation_config): @@ -123,7 +124,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces' + url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -166,6 +167,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces'} def list_by_resource_group( self, resource_group_name, custom_headers=None, raw=False, **operation_config): @@ -189,7 +191,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces' + url = self.list_by_resource_group.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') @@ -233,12 +235,13 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces'} def _create_or_update_initial( self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str'), @@ -351,12 +354,13 @@ def get_long_running_output(response): return AzureOperationPoller( long_running_send, get_long_running_output, get_long_running_status, long_running_operation_timeout) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} def _delete_initial( self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -448,6 +452,7 @@ def get_long_running_output(response): return AzureOperationPoller( long_running_send, get_long_running_output, get_long_running_status, long_running_operation_timeout) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} def get( self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): @@ -470,7 +475,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -509,6 +514,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} def update( self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -535,7 +541,7 @@ def update( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}' + url = self.update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -580,6 +586,7 @@ def update( return client_raw_response return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} def list_authorization_rules( self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): @@ -605,7 +612,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules' + url = self.list_authorization_rules.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -650,6 +657,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_authorization_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules'} def create_or_update_authorization_rule( self, resource_group_name, namespace_name, authorization_rule_name, rights, custom_headers=None, raw=False, **operation_config): @@ -678,7 +686,7 @@ def create_or_update_authorization_rule( parameters = models.SBAuthorizationRule(rights=rights) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}' + url = self.create_or_update_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -722,6 +730,7 @@ def create_or_update_authorization_rule( return client_raw_response return deserialized + create_or_update_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}'} def delete_authorization_rule( self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -745,7 +754,7 @@ def delete_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}' + url = self.delete_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -778,6 +787,7 @@ def delete_authorization_rule( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}'} def get_authorization_rule( self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -802,7 +812,7 @@ def get_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}' + url = self.get_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -842,6 +852,7 @@ def get_authorization_rule( return client_raw_response return deserialized + get_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}'} def list_keys( self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -866,7 +877,7 @@ def list_keys( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys' + url = self.list_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -906,6 +917,7 @@ def list_keys( return client_raw_response return deserialized + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys'} def regenerate_keys( self, resource_group_name, namespace_name, authorization_rule_name, key_type, key=None, custom_headers=None, raw=False, **operation_config): @@ -939,7 +951,7 @@ def regenerate_keys( parameters = models.RegenerateAccessKeyParameters(key_type=key_type, key=key) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys' + url = self.regenerate_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -983,3 +995,4 @@ def regenerate_keys( return client_raw_response return deserialized + regenerate_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/operations.py index 336115a508b4..596460ca5adb 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/operations.py @@ -21,7 +21,7 @@ class Operations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -55,7 +55,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/providers/Microsoft.ServiceBus/operations' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -94,3 +94,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/providers/Microsoft.ServiceBus/operations'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/premium_messaging_regions_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/premium_messaging_regions_operations.py index 6eba6b4b08a7..f725c8ca4f1e 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/premium_messaging_regions_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/premium_messaging_regions_operations.py @@ -21,7 +21,7 @@ class PremiumMessagingRegionsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -55,7 +55,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/premiumMessagingRegions' + url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -98,3 +98,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/premiumMessagingRegions'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py index 98450f44456f..f468f6d782a5 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py @@ -21,7 +21,7 @@ class QueuesOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -60,7 +60,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues' + url = self.list_by_namespace.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -105,6 +105,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_namespace.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues'} def create_or_update( self, resource_group_name, namespace_name, queue_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -132,7 +133,7 @@ def create_or_update( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -176,6 +177,7 @@ def create_or_update( return client_raw_response return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}'} def delete( self, resource_group_name, namespace_name, queue_name, custom_headers=None, raw=False, **operation_config): @@ -199,7 +201,7 @@ def delete( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -232,6 +234,7 @@ def delete( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}'} def get( self, resource_group_name, namespace_name, queue_name, custom_headers=None, raw=False, **operation_config): @@ -256,7 +259,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -296,6 +299,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}'} def list_authorization_rules( self, resource_group_name, namespace_name, queue_name, custom_headers=None, raw=False, **operation_config): @@ -323,7 +327,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules' + url = self.list_authorization_rules.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -369,6 +373,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_authorization_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules'} def create_or_update_authorization_rule( self, resource_group_name, namespace_name, queue_name, authorization_rule_name, rights, custom_headers=None, raw=False, **operation_config): @@ -399,7 +404,7 @@ def create_or_update_authorization_rule( parameters = models.SBAuthorizationRule(rights=rights) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}' + url = self.create_or_update_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -444,6 +449,7 @@ def create_or_update_authorization_rule( return client_raw_response return deserialized + create_or_update_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}'} def delete_authorization_rule( self, resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -469,7 +475,7 @@ def delete_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}' + url = self.delete_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -503,6 +509,7 @@ def delete_authorization_rule( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}'} def get_authorization_rule( self, resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -529,7 +536,7 @@ def get_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}' + url = self.get_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -570,6 +577,7 @@ def get_authorization_rule( return client_raw_response return deserialized + get_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}'} def list_keys( self, resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -596,7 +604,7 @@ def list_keys( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/ListKeys' + url = self.list_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -637,6 +645,7 @@ def list_keys( return client_raw_response return deserialized + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/ListKeys'} def regenerate_keys( self, resource_group_name, namespace_name, queue_name, authorization_rule_name, key_type, key=None, custom_headers=None, raw=False, **operation_config): @@ -671,7 +680,7 @@ def regenerate_keys( parameters = models.RegenerateAccessKeyParameters(key_type=key_type, key=key) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/regenerateKeys' + url = self.regenerate_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -716,3 +725,4 @@ def regenerate_keys( return client_raw_response return deserialized + regenerate_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/regenerateKeys'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/regions_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/regions_operations.py index 76cff97e9bb7..3e4e57c03f06 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/regions_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/regions_operations.py @@ -21,7 +21,7 @@ class RegionsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -57,7 +57,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/sku/{sku}/regions' + url = self.list_by_sku.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'sku': self._serialize.url("sku", sku, 'str', max_length=50, min_length=1) @@ -101,3 +101,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_sku.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/sku/{sku}/regions'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py index faba23f2cb7e..8421e3d5f40e 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py @@ -21,7 +21,7 @@ class RulesOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -64,7 +64,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules' + url = self.list_by_subscriptions.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -111,6 +111,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_subscriptions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules'} def create_or_update( self, resource_group_name, namespace_name, topic_name, subscription_name, rule_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -141,7 +142,7 @@ def create_or_update( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -187,6 +188,7 @@ def create_or_update( return client_raw_response return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} def delete( self, resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers=None, raw=False, **operation_config): @@ -214,7 +216,7 @@ def delete( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -249,6 +251,7 @@ def delete( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} def get( self, resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers=None, raw=False, **operation_config): @@ -277,7 +280,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -319,3 +322,4 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py index 2def7d357e7a..1253cdcdea17 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py @@ -21,7 +21,7 @@ class SubscriptionsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -62,7 +62,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions' + url = self.list_by_topic.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -108,6 +108,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_topic.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions'} def create_or_update( self, resource_group_name, namespace_name, topic_name, subscription_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -137,7 +138,7 @@ def create_or_update( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -182,6 +183,7 @@ def create_or_update( return client_raw_response return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}'} def delete( self, resource_group_name, namespace_name, topic_name, subscription_name, custom_headers=None, raw=False, **operation_config): @@ -207,7 +209,7 @@ def delete( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -241,6 +243,7 @@ def delete( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}'} def get( self, resource_group_name, namespace_name, topic_name, subscription_name, custom_headers=None, raw=False, **operation_config): @@ -267,7 +270,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -308,3 +311,4 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py index 32454369fdab..448092adcce2 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py @@ -21,7 +21,7 @@ class TopicsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client API version. Constant value: "2017-04-01". """ @@ -60,7 +60,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics' + url = self.list_by_namespace.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -105,6 +105,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_by_namespace.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics'} def create_or_update( self, resource_group_name, namespace_name, topic_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -131,7 +132,7 @@ def create_or_update( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}' + url = self.create_or_update.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -175,6 +176,7 @@ def create_or_update( return client_raw_response return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}'} def delete( self, resource_group_name, namespace_name, topic_name, custom_headers=None, raw=False, **operation_config): @@ -198,7 +200,7 @@ def delete( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}' + url = self.delete.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -231,6 +233,7 @@ def delete( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}'} def get( self, resource_group_name, namespace_name, topic_name, custom_headers=None, raw=False, **operation_config): @@ -255,7 +258,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}' + url = self.get.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -295,6 +298,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}'} def list_authorization_rules( self, resource_group_name, namespace_name, topic_name, custom_headers=None, raw=False, **operation_config): @@ -322,7 +326,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules' + url = self.list_authorization_rules.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -368,6 +372,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_authorization_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules'} def create_or_update_authorization_rule( self, resource_group_name, namespace_name, topic_name, authorization_rule_name, rights, custom_headers=None, raw=False, **operation_config): @@ -398,7 +403,7 @@ def create_or_update_authorization_rule( parameters = models.SBAuthorizationRule(rights=rights) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}' + url = self.create_or_update_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -443,6 +448,7 @@ def create_or_update_authorization_rule( return client_raw_response return deserialized + create_or_update_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}'} def get_authorization_rule( self, resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -469,7 +475,7 @@ def get_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}' + url = self.get_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -510,6 +516,7 @@ def get_authorization_rule( return client_raw_response return deserialized + get_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}'} def delete_authorization_rule( self, resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -535,7 +542,7 @@ def delete_authorization_rule( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}' + url = self.delete_authorization_rule.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -569,6 +576,7 @@ def delete_authorization_rule( if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + delete_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}'} def list_keys( self, resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config): @@ -595,7 +603,7 @@ def list_keys( :class:`ErrorResponseException` """ # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/ListKeys' + url = self.list_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -636,6 +644,7 @@ def list_keys( return client_raw_response return deserialized + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/ListKeys'} def regenerate_keys( self, resource_group_name, namespace_name, topic_name, authorization_rule_name, key_type, key=None, custom_headers=None, raw=False, **operation_config): @@ -670,7 +679,7 @@ def regenerate_keys( parameters = models.RegenerateAccessKeyParameters(key_type=key_type, key=key) # Construct URL - url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys' + url = self.regenerate_keys.metadata['url'] path_format_arguments = { 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), @@ -715,3 +724,4 @@ def regenerate_keys( return client_raw_response return deserialized + regenerate_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py index e9983c0d8c01..5c2dbfde66c5 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.4.1" +VERSION = "2017-04-01" From 5727e54b44763a92ff27c1111d23ec5beee94b13 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Mar 2018 09:48:59 -0700 Subject: [PATCH 2/8] Generated from bc96045bf6a0e056903d0a2d798202ff9bd05165 (#2249) added 'properties' to corelationfilter --- .../azure/mgmt/servicebus/models/__init__.py | 92 +++++++---- .../mgmt/servicebus/models/access_keys.py | 4 +- .../mgmt/servicebus/models/access_keys_py3.py | 71 ++++++++ .../azure/mgmt/servicebus/models/action.py | 10 +- .../mgmt/servicebus/models/action_py3.py | 39 +++++ .../models/arm_disaster_recovery.py | 8 +- .../models/arm_disaster_recovery_py3.py | 68 ++++++++ .../models/authorization_rule_properties.py | 10 +- .../authorization_rule_properties_py3.py | 34 ++++ .../servicebus/models/capture_description.py | 14 +- .../models/capture_description_py3.py | 57 +++++++ .../models/check_name_availability.py | 12 +- .../models/check_name_availability_py3.py | 37 +++++ .../models/check_name_availability_result.py | 8 +- .../check_name_availability_result_py3.py | 47 ++++++ .../servicebus/models/correlation_filter.py | 26 +-- .../models/correlation_filter_py3.py | 65 ++++++++ .../mgmt/servicebus/models/destination.py | 12 +- .../mgmt/servicebus/models/destination_py3.py | 44 +++++ .../mgmt/servicebus/models/error_response.py | 8 +- .../servicebus/models/error_response_py3.py | 46 ++++++ .../azure/mgmt/servicebus/models/eventhub.py | 12 +- .../mgmt/servicebus/models/eventhub_py3.py | 81 +++++++++ .../models/message_count_details.py | 4 +- .../models/message_count_details_py3.py | 59 +++++++ .../azure/mgmt/servicebus/models/operation.py | 6 +- .../servicebus/models/operation_display.py | 4 +- .../models/operation_display_py3.py | 46 ++++++ .../mgmt/servicebus/models/operation_py3.py | 39 +++++ .../models/premium_messaging_regions.py | 6 +- .../premium_messaging_regions_properties.py | 4 +- ...remium_messaging_regions_properties_py3.py | 40 +++++ .../models/premium_messaging_regions_py3.py | 53 ++++++ .../regenerate_access_key_parameters.py | 14 +- .../regenerate_access_key_parameters_py3.py | 41 +++++ .../azure/mgmt/servicebus/models/resource.py | 4 +- .../models/resource_namespace_patch.py | 8 +- .../models/resource_namespace_patch_py3.py | 50 ++++++ .../mgmt/servicebus/models/resource_py3.py | 45 +++++ .../azure/mgmt/servicebus/models/rule.py | 12 +- .../azure/mgmt/servicebus/models/rule_py3.py | 60 +++++++ .../models/sb_authorization_rule.py | 10 +- .../models/sb_authorization_rule_py3.py | 49 ++++++ .../mgmt/servicebus/models/sb_namespace.py | 10 +- .../servicebus/models/sb_namespace_py3.py | 81 +++++++++ .../models/sb_namespace_update_parameters.py | 6 +- .../sb_namespace_update_parameters_py3.py | 78 +++++++++ .../azure/mgmt/servicebus/models/sb_queue.py | 34 ++-- .../mgmt/servicebus/models/sb_queue_py3.py | 156 ++++++++++++++++++ .../azure/mgmt/servicebus/models/sb_sku.py | 14 +- .../mgmt/servicebus/models/sb_sku_py3.py | 45 +++++ .../mgmt/servicebus/models/sb_subscription.py | 28 ++-- .../servicebus/models/sb_subscription_py3.py | 132 +++++++++++++++ .../azure/mgmt/servicebus/models/sb_topic.py | 24 +-- .../mgmt/servicebus/models/sb_topic_py3.py | 129 +++++++++++++++ .../service_bus_management_client_enums.py | 20 +-- .../mgmt/servicebus/models/sql_filter.py | 8 +- .../mgmt/servicebus/models/sql_filter_py3.py | 47 ++++++ .../mgmt/servicebus/models/sql_rule_action.py | 10 +- .../servicebus/models/sql_rule_action_py3.py | 36 ++++ .../servicebus/models/tracked_resource.py | 12 +- .../servicebus/models/tracked_resource_py3.py | 53 ++++++ .../operations/namespaces_operations.py | 91 ++++------ 63 files changed, 2112 insertions(+), 261 deletions(-) create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/action_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py index b769252f8a14..09ea5c935ca7 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py @@ -9,36 +9,68 @@ # regenerated. # -------------------------------------------------------------------------- -from .tracked_resource import TrackedResource -from .resource import Resource -from .resource_namespace_patch import ResourceNamespacePatch -from .sb_sku import SBSku -from .sb_namespace import SBNamespace -from .sb_namespace_update_parameters import SBNamespaceUpdateParameters -from .sb_authorization_rule import SBAuthorizationRule -from .authorization_rule_properties import AuthorizationRuleProperties -from .access_keys import AccessKeys -from .regenerate_access_key_parameters import RegenerateAccessKeyParameters -from .message_count_details import MessageCountDetails -from .sb_queue import SBQueue -from .sb_topic import SBTopic -from .sb_subscription import SBSubscription -from .check_name_availability import CheckNameAvailability -from .check_name_availability_result import CheckNameAvailabilityResult -from .operation_display import OperationDisplay -from .operation import Operation -from .error_response import ErrorResponse, ErrorResponseException -from .action import Action -from .sql_filter import SqlFilter -from .correlation_filter import CorrelationFilter -from .rule import Rule -from .sql_rule_action import SqlRuleAction -from .premium_messaging_regions_properties import PremiumMessagingRegionsProperties -from .premium_messaging_regions import PremiumMessagingRegions -from .destination import Destination -from .capture_description import CaptureDescription -from .eventhub import Eventhub -from .arm_disaster_recovery import ArmDisasterRecovery +try: + from .tracked_resource_py3 import TrackedResource + from .resource_py3 import Resource + from .resource_namespace_patch_py3 import ResourceNamespacePatch + from .sb_sku_py3 import SBSku + from .sb_namespace_py3 import SBNamespace + from .sb_namespace_update_parameters_py3 import SBNamespaceUpdateParameters + from .sb_authorization_rule_py3 import SBAuthorizationRule + from .authorization_rule_properties_py3 import AuthorizationRuleProperties + from .access_keys_py3 import AccessKeys + from .regenerate_access_key_parameters_py3 import RegenerateAccessKeyParameters + from .message_count_details_py3 import MessageCountDetails + from .sb_queue_py3 import SBQueue + from .sb_topic_py3 import SBTopic + from .sb_subscription_py3 import SBSubscription + from .check_name_availability_py3 import CheckNameAvailability + from .check_name_availability_result_py3 import CheckNameAvailabilityResult + from .operation_display_py3 import OperationDisplay + from .operation_py3 import Operation + from .error_response_py3 import ErrorResponse, ErrorResponseException + from .action_py3 import Action + from .sql_filter_py3 import SqlFilter + from .correlation_filter_py3 import CorrelationFilter + from .rule_py3 import Rule + from .sql_rule_action_py3 import SqlRuleAction + from .premium_messaging_regions_properties_py3 import PremiumMessagingRegionsProperties + from .premium_messaging_regions_py3 import PremiumMessagingRegions + from .destination_py3 import Destination + from .capture_description_py3 import CaptureDescription + from .eventhub_py3 import Eventhub + from .arm_disaster_recovery_py3 import ArmDisasterRecovery +except (SyntaxError, ImportError): + from .tracked_resource import TrackedResource + from .resource import Resource + from .resource_namespace_patch import ResourceNamespacePatch + from .sb_sku import SBSku + from .sb_namespace import SBNamespace + from .sb_namespace_update_parameters import SBNamespaceUpdateParameters + from .sb_authorization_rule import SBAuthorizationRule + from .authorization_rule_properties import AuthorizationRuleProperties + from .access_keys import AccessKeys + from .regenerate_access_key_parameters import RegenerateAccessKeyParameters + from .message_count_details import MessageCountDetails + from .sb_queue import SBQueue + from .sb_topic import SBTopic + from .sb_subscription import SBSubscription + from .check_name_availability import CheckNameAvailability + from .check_name_availability_result import CheckNameAvailabilityResult + from .operation_display import OperationDisplay + from .operation import Operation + from .error_response import ErrorResponse, ErrorResponseException + from .action import Action + from .sql_filter import SqlFilter + from .correlation_filter import CorrelationFilter + from .rule import Rule + from .sql_rule_action import SqlRuleAction + from .premium_messaging_regions_properties import PremiumMessagingRegionsProperties + from .premium_messaging_regions import PremiumMessagingRegions + from .destination import Destination + from .capture_description import CaptureDescription + from .eventhub import Eventhub + from .arm_disaster_recovery import ArmDisasterRecovery from .operation_paged import OperationPaged from .sb_namespace_paged import SBNamespacePaged from .sb_authorization_rule_paged import SBAuthorizationRulePaged diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys.py index 4d2c757edf7c..4995a92fa359 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys.py @@ -60,8 +60,8 @@ class AccessKeys(Model): 'key_name': {'key': 'keyName', 'type': 'str'}, } - def __init__(self): - super(AccessKeys, self).__init__() + def __init__(self, **kwargs): + super(AccessKeys, self).__init__(**kwargs) self.primary_connection_string = None self.secondary_connection_string = None self.alias_primary_connection_string = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys_py3.py new file mode 100644 index 000000000000..c21004e78f4b --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys_py3.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AccessKeys(Model): + """Namespace/ServiceBus Connection String. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar primary_connection_string: Primary connection string of the created + namespace authorization rule. + :vartype primary_connection_string: str + :ivar secondary_connection_string: Secondary connection string of the + created namespace authorization rule. + :vartype secondary_connection_string: str + :ivar alias_primary_connection_string: Primary connection string of the + alias if GEO DR is enabled + :vartype alias_primary_connection_string: str + :ivar alias_secondary_connection_string: Secondary connection string of + the alias if GEO DR is enabled + :vartype alias_secondary_connection_string: str + :ivar primary_key: A base64-encoded 256-bit primary key for signing and + validating the SAS token. + :vartype primary_key: str + :ivar secondary_key: A base64-encoded 256-bit primary key for signing and + validating the SAS token. + :vartype secondary_key: str + :ivar key_name: A string that describes the authorization rule. + :vartype key_name: str + """ + + _validation = { + 'primary_connection_string': {'readonly': True}, + 'secondary_connection_string': {'readonly': True}, + 'alias_primary_connection_string': {'readonly': True}, + 'alias_secondary_connection_string': {'readonly': True}, + 'primary_key': {'readonly': True}, + 'secondary_key': {'readonly': True}, + 'key_name': {'readonly': True}, + } + + _attribute_map = { + 'primary_connection_string': {'key': 'primaryConnectionString', 'type': 'str'}, + 'secondary_connection_string': {'key': 'secondaryConnectionString', 'type': 'str'}, + 'alias_primary_connection_string': {'key': 'aliasPrimaryConnectionString', 'type': 'str'}, + 'alias_secondary_connection_string': {'key': 'aliasSecondaryConnectionString', 'type': 'str'}, + 'primary_key': {'key': 'primaryKey', 'type': 'str'}, + 'secondary_key': {'key': 'secondaryKey', 'type': 'str'}, + 'key_name': {'key': 'keyName', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(AccessKeys, self).__init__(**kwargs) + self.primary_connection_string = None + self.secondary_connection_string = None + self.alias_primary_connection_string = None + self.alias_secondary_connection_string = None + self.primary_key = None + self.secondary_key = None + self.key_name = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action.py index 7501dcc84ff3..8aa038c7cddb 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action.py @@ -32,8 +32,8 @@ class Action(Model): 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, } - def __init__(self, sql_expression=None, compatibility_level=None, requires_preprocessing=True): - super(Action, self).__init__() - self.sql_expression = sql_expression - self.compatibility_level = compatibility_level - self.requires_preprocessing = requires_preprocessing + def __init__(self, **kwargs): + super(Action, self).__init__(**kwargs) + self.sql_expression = kwargs.get('sql_expression', None) + self.compatibility_level = kwargs.get('compatibility_level', None) + self.requires_preprocessing = kwargs.get('requires_preprocessing', True) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action_py3.py new file mode 100644 index 000000000000..f1dfd16c6a44 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/action_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Action(Model): + """Represents the filter actions which are allowed for the transformation of a + message that have been matched by a filter expression. + + :param sql_expression: SQL expression. e.g. MyProperty='ABC' + :type sql_expression: str + :param compatibility_level: This property is reserved for future use. An + integer value showing the compatibility level, currently hard-coded to 20. + :type compatibility_level: int + :param requires_preprocessing: Value that indicates whether the rule + action requires preprocessing. Default value: True . + :type requires_preprocessing: bool + """ + + _attribute_map = { + 'sql_expression': {'key': 'sqlExpression', 'type': 'str'}, + 'compatibility_level': {'key': 'compatibilityLevel', 'type': 'int'}, + 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, + } + + def __init__(self, *, sql_expression: str=None, compatibility_level: int=None, requires_preprocessing: bool=True, **kwargs) -> None: + super(Action, self).__init__(**kwargs) + self.sql_expression = sql_expression + self.compatibility_level = compatibility_level + self.requires_preprocessing = requires_preprocessing diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py index 9e722e9b3754..6fe549cab86e 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery.py @@ -60,9 +60,9 @@ class ArmDisasterRecovery(Resource): 'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'}, } - def __init__(self, partner_namespace=None, alternate_name=None): - super(ArmDisasterRecovery, self).__init__() + def __init__(self, **kwargs): + super(ArmDisasterRecovery, self).__init__(**kwargs) self.provisioning_state = None - self.partner_namespace = partner_namespace - self.alternate_name = alternate_name + self.partner_namespace = kwargs.get('partner_namespace', None) + self.alternate_name = kwargs.get('alternate_name', None) self.role = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py new file mode 100644 index 000000000000..2b3c46023fd0 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ArmDisasterRecovery(Resource): + """Single item in List or Get Alias(Disaster Recovery configuration) + operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar provisioning_state: Provisioning state of the Alias(Disaster + Recovery configuration) - possible values 'Accepted' or 'Succeeded' or + 'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed' + :vartype provisioning_state: str or + ~azure.mgmt.servicebus.models.ProvisioningStateDR + :param partner_namespace: ARM Id of the Primary/Secondary eventhub + namespace name, which is part of GEO DR pairning + :type partner_namespace: str + :param alternate_name: Primary/Secondary eventhub namespace name, which is + part of GEO DR pairning + :type alternate_name: str + :ivar role: role of namespace in GEO DR - possible values 'Primary' or + 'PrimaryNotReplicating' or 'Secondary'. Possible values include: + 'Primary', 'PrimaryNotReplicating', 'Secondary' + :vartype role: str or ~azure.mgmt.servicebus.models.RoleDisasterRecovery + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'role': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningStateDR'}, + 'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'}, + 'alternate_name': {'key': 'properties.alternateName', 'type': 'str'}, + 'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'}, + } + + def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **kwargs) -> None: + super(ArmDisasterRecovery, self).__init__(, **kwargs) + self.provisioning_state = None + self.partner_namespace = partner_namespace + self.alternate_name = alternate_name + self.role = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties.py index d52106c600be..5d48e82cf3a3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties.py @@ -15,7 +15,9 @@ class AuthorizationRuleProperties(Model): """AuthorizationRule properties. - :param rights: The rights associated with the rule. + All required parameters must be populated in order to send to Azure. + + :param rights: Required. The rights associated with the rule. :type rights: list[str or ~azure.mgmt.servicebus.models.AccessRights] """ @@ -27,6 +29,6 @@ class AuthorizationRuleProperties(Model): 'rights': {'key': 'rights', 'type': '[AccessRights]'}, } - def __init__(self, rights): - super(AuthorizationRuleProperties, self).__init__() - self.rights = rights + def __init__(self, **kwargs): + super(AuthorizationRuleProperties, self).__init__(**kwargs) + self.rights = kwargs.get('rights', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties_py3.py new file mode 100644 index 000000000000..810b59a3a42b --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/authorization_rule_properties_py3.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AuthorizationRuleProperties(Model): + """AuthorizationRule properties. + + All required parameters must be populated in order to send to Azure. + + :param rights: Required. The rights associated with the rule. + :type rights: list[str or ~azure.mgmt.servicebus.models.AccessRights] + """ + + _validation = { + 'rights': {'required': True}, + } + + _attribute_map = { + 'rights': {'key': 'rights', 'type': '[AccessRights]'}, + } + + def __init__(self, *, rights, **kwargs) -> None: + super(AuthorizationRuleProperties, self).__init__(**kwargs) + self.rights = rights diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description.py index db8c8e2aca75..ac65ccb3f40f 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description.py @@ -48,10 +48,10 @@ class CaptureDescription(Model): 'destination': {'key': 'destination', 'type': 'Destination'}, } - def __init__(self, enabled=None, encoding=None, interval_in_seconds=None, size_limit_in_bytes=None, destination=None): - super(CaptureDescription, self).__init__() - self.enabled = enabled - self.encoding = encoding - self.interval_in_seconds = interval_in_seconds - self.size_limit_in_bytes = size_limit_in_bytes - self.destination = destination + def __init__(self, **kwargs): + super(CaptureDescription, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.encoding = kwargs.get('encoding', None) + self.interval_in_seconds = kwargs.get('interval_in_seconds', None) + self.size_limit_in_bytes = kwargs.get('size_limit_in_bytes', None) + self.destination = kwargs.get('destination', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description_py3.py new file mode 100644 index 000000000000..f34f6be7252c --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/capture_description_py3.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CaptureDescription(Model): + """Properties to configure capture description for eventhub. + + :param enabled: A value that indicates whether capture description is + enabled. + :type enabled: bool + :param encoding: Enumerates the possible values for the encoding format of + capture description. Possible values include: 'Avro', 'AvroDeflate' + :type encoding: str or + ~azure.mgmt.servicebus.models.EncodingCaptureDescription + :param interval_in_seconds: The time window allows you to set the + frequency with which the capture to Azure Blobs will happen, value should + between 60 to 900 seconds + :type interval_in_seconds: int + :param size_limit_in_bytes: The size window defines the amount of data + built up in your Event Hub before an capture operation, value should be + between 10485760 and 524288000 bytes + :type size_limit_in_bytes: int + :param destination: Properties of Destination where capture will be + stored. (Storage Account, Blob Names) + :type destination: ~azure.mgmt.servicebus.models.Destination + """ + + _validation = { + 'interval_in_seconds': {'maximum': 900, 'minimum': 60}, + 'size_limit_in_bytes': {'maximum': 524288000, 'minimum': 10485760}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'encoding': {'key': 'encoding', 'type': 'EncodingCaptureDescription'}, + 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, + 'size_limit_in_bytes': {'key': 'sizeLimitInBytes', 'type': 'int'}, + 'destination': {'key': 'destination', 'type': 'Destination'}, + } + + def __init__(self, *, enabled: bool=None, encoding=None, interval_in_seconds: int=None, size_limit_in_bytes: int=None, destination=None, **kwargs) -> None: + super(CaptureDescription, self).__init__(**kwargs) + self.enabled = enabled + self.encoding = encoding + self.interval_in_seconds = interval_in_seconds + self.size_limit_in_bytes = size_limit_in_bytes + self.destination = destination diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability.py index bd55e823ca8c..46029ace9293 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability.py @@ -15,8 +15,10 @@ class CheckNameAvailability(Model): """Description of a Check Name availability request properties. - :param name: The Name to check the namespce name availability and The - namespace name can contain only letters, numbers, and hyphens. The + All required parameters must be populated in order to send to Azure. + + :param name: Required. The Name to check the namespce name availability + and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number. :type name: str @@ -30,6 +32,6 @@ class CheckNameAvailability(Model): 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, name): - super(CheckNameAvailability, self).__init__() - self.name = name + def __init__(self, **kwargs): + super(CheckNameAvailability, self).__init__(**kwargs) + self.name = kwargs.get('name', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_py3.py new file mode 100644 index 000000000000..c04f123ecafa --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_py3.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CheckNameAvailability(Model): + """Description of a Check Name availability request properties. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The Name to check the namespce name availability + and The namespace name can contain only letters, numbers, and hyphens. The + namespace must start with a letter, and it must end with a letter or + number. + :type name: str + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, *, name: str, **kwargs) -> None: + super(CheckNameAvailability, self).__init__(**kwargs) + self.name = name diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result.py index d23340a4b515..08a5c03733ac 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result.py @@ -40,8 +40,8 @@ class CheckNameAvailabilityResult(Model): 'reason': {'key': 'reason', 'type': 'UnavailableReason'}, } - def __init__(self, name_available=None, reason=None): - super(CheckNameAvailabilityResult, self).__init__() + def __init__(self, **kwargs): + super(CheckNameAvailabilityResult, self).__init__(**kwargs) self.message = None - self.name_available = name_available - self.reason = reason + self.name_available = kwargs.get('name_available', None) + self.reason = kwargs.get('reason', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result_py3.py new file mode 100644 index 000000000000..8e37f0c94559 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/check_name_availability_result_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CheckNameAvailabilityResult(Model): + """Description of a Check Name availability request properties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar message: The detailed info regarding the reason associated with the + namespace. + :vartype message: str + :param name_available: Value indicating namespace is availability, true if + the namespace is available; otherwise, false. + :type name_available: bool + :param reason: The reason for unavailability of a namespace. Possible + values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', + 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' + :type reason: str or ~azure.mgmt.servicebus.models.UnavailableReason + """ + + _validation = { + 'message': {'readonly': True}, + } + + _attribute_map = { + 'message': {'key': 'message', 'type': 'str'}, + 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'UnavailableReason'}, + } + + def __init__(self, *, name_available: bool=None, reason=None, **kwargs) -> None: + super(CheckNameAvailabilityResult, self).__init__(**kwargs) + self.message = None + self.name_available = name_available + self.reason = reason diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py index 2d0a24c5d789..dfb1585de553 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py @@ -15,6 +15,8 @@ class CorrelationFilter(Model): """Represents the correlation filter expression. + :param properties: dictionary object for custom filters + :type properties: dict[str, str] :param correlation_id: Identifier of the correlation. :type correlation_id: str :param message_id: Identifier of the message. @@ -37,6 +39,7 @@ class CorrelationFilter(Model): """ _attribute_map = { + 'properties': {'key': 'properties', 'type': '{str}'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'to': {'key': 'to', 'type': 'str'}, @@ -48,14 +51,15 @@ class CorrelationFilter(Model): 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, } - def __init__(self, correlation_id=None, message_id=None, to=None, reply_to=None, label=None, session_id=None, reply_to_session_id=None, content_type=None, requires_preprocessing=True): - super(CorrelationFilter, self).__init__() - self.correlation_id = correlation_id - self.message_id = message_id - self.to = to - self.reply_to = reply_to - self.label = label - self.session_id = session_id - self.reply_to_session_id = reply_to_session_id - self.content_type = content_type - self.requires_preprocessing = requires_preprocessing + def __init__(self, **kwargs): + super(CorrelationFilter, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + self.correlation_id = kwargs.get('correlation_id', None) + self.message_id = kwargs.get('message_id', None) + self.to = kwargs.get('to', None) + self.reply_to = kwargs.get('reply_to', None) + self.label = kwargs.get('label', None) + self.session_id = kwargs.get('session_id', None) + self.reply_to_session_id = kwargs.get('reply_to_session_id', None) + self.content_type = kwargs.get('content_type', None) + self.requires_preprocessing = kwargs.get('requires_preprocessing', True) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py new file mode 100644 index 000000000000..a611bad640f0 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py @@ -0,0 +1,65 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CorrelationFilter(Model): + """Represents the correlation filter expression. + + :param properties: dictionary object for custom filters + :type properties: dict[str, str] + :param correlation_id: Identifier of the correlation. + :type correlation_id: str + :param message_id: Identifier of the message. + :type message_id: str + :param to: Address to send to. + :type to: str + :param reply_to: Address of the queue to reply to. + :type reply_to: str + :param label: Application specific label. + :type label: str + :param session_id: Session identifier. + :type session_id: str + :param reply_to_session_id: Session identifier to reply to. + :type reply_to_session_id: str + :param content_type: Content type of the message. + :type content_type: str + :param requires_preprocessing: Value that indicates whether the rule + action requires preprocessing. Default value: True . + :type requires_preprocessing: bool + """ + + _attribute_map = { + 'properties': {'key': 'properties', 'type': '{str}'}, + 'correlation_id': {'key': 'correlationId', 'type': 'str'}, + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'to': {'key': 'to', 'type': 'str'}, + 'reply_to': {'key': 'replyTo', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'reply_to_session_id': {'key': 'replyToSessionId', 'type': 'str'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, + } + + def __init__(self, *, properties=None, correlation_id: str=None, message_id: str=None, to: str=None, reply_to: str=None, label: str=None, session_id: str=None, reply_to_session_id: str=None, content_type: str=None, requires_preprocessing: bool=True, **kwargs) -> None: + super(CorrelationFilter, self).__init__(**kwargs) + self.properties = properties + self.correlation_id = correlation_id + self.message_id = message_id + self.to = to + self.reply_to = reply_to + self.label = label + self.session_id = session_id + self.reply_to_session_id = reply_to_session_id + self.content_type = content_type + self.requires_preprocessing = requires_preprocessing diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py index c8a56130103d..78eec889d171 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py @@ -36,9 +36,9 @@ class Destination(Model): 'archive_name_format': {'key': 'properties.archiveNameFormat', 'type': 'str'}, } - def __init__(self, name=None, storage_account_resource_id=None, blob_container=None, archive_name_format=None): - super(Destination, self).__init__() - self.name = name - self.storage_account_resource_id = storage_account_resource_id - self.blob_container = blob_container - self.archive_name_format = archive_name_format + def __init__(self, **kwargs): + super(Destination, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.storage_account_resource_id = kwargs.get('storage_account_resource_id', None) + self.blob_container = kwargs.get('blob_container', None) + self.archive_name_format = kwargs.get('archive_name_format', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination_py3.py new file mode 100644 index 000000000000..c2e3445cbf40 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Destination(Model): + """Capture storage details for capture description. + + :param name: Name for capture destination + :type name: str + :param storage_account_resource_id: Resource id of the storage account to + be used to create the blobs + :type storage_account_resource_id: str + :param blob_container: Blob container Name + :type blob_container: str + :param archive_name_format: Blob naming convention for archive, e.g. + {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. + Here all the parameters (Namespace,EventHub .. etc) are mandatory + irrespective of order + :type archive_name_format: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'storage_account_resource_id': {'key': 'properties.storageAccountResourceId', 'type': 'str'}, + 'blob_container': {'key': 'properties.blobContainer', 'type': 'str'}, + 'archive_name_format': {'key': 'properties.archiveNameFormat', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, storage_account_resource_id: str=None, blob_container: str=None, archive_name_format: str=None, **kwargs) -> None: + super(Destination, self).__init__(**kwargs) + self.name = name + self.storage_account_resource_id = storage_account_resource_id + self.blob_container = blob_container + self.archive_name_format = archive_name_format diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response.py index 07bf76a57aac..a303ca9b634a 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response.py @@ -28,10 +28,10 @@ class ErrorResponse(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, code=None, message=None): - super(ErrorResponse, self).__init__() - self.code = code - self.message = message + def __init__(self, **kwargs): + super(ErrorResponse, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) class ErrorResponseException(HttpOperationError): diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response_py3.py new file mode 100644 index 000000000000..85e198147221 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/error_response_py3.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class ErrorResponse(Model): + """Error reponse indicates ServiceBus service is not able to process the + incoming request. The reason is provided in the error message. + + :param code: Error code. + :type code: str + :param message: Error message indicating why the operation failed. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, *, code: str=None, message: str=None, **kwargs) -> None: + super(ErrorResponse, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorResponseException(HttpOperationError): + """Server responsed with exception of type: 'ErrorResponse'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub.py index 0df85eb93ebb..08f0b44a9fac 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub.py @@ -70,12 +70,12 @@ class Eventhub(Resource): 'capture_description': {'key': 'properties.captureDescription', 'type': 'CaptureDescription'}, } - def __init__(self, message_retention_in_days=None, partition_count=None, status=None, capture_description=None): - super(Eventhub, self).__init__() + def __init__(self, **kwargs): + super(Eventhub, self).__init__(**kwargs) self.partition_ids = None self.created_at = None self.updated_at = None - self.message_retention_in_days = message_retention_in_days - self.partition_count = partition_count - self.status = status - self.capture_description = capture_description + self.message_retention_in_days = kwargs.get('message_retention_in_days', None) + self.partition_count = kwargs.get('partition_count', None) + self.status = kwargs.get('status', None) + self.capture_description = kwargs.get('capture_description', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py new file mode 100644 index 000000000000..8e22e43c612b --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class Eventhub(Resource): + """Single item in List or Get Event Hub operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar partition_ids: Current number of shards on the Event Hub. + :vartype partition_ids: list[str] + :ivar created_at: Exact time the Event Hub was created. + :vartype created_at: datetime + :ivar updated_at: The exact time the message was updated. + :vartype updated_at: datetime + :param message_retention_in_days: Number of days to retain the events for + this Event Hub, value should be 1 to 7 days + :type message_retention_in_days: long + :param partition_count: Number of partitions created for the Event Hub, + allowed values are from 1 to 32 partitions. + :type partition_count: long + :param status: Enumerates the possible values for the status of the Event + Hub. Possible values include: 'Active', 'Disabled', 'Restoring', + 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', + 'Unknown' + :type status: str or ~azure.mgmt.servicebus.models.EntityStatus + :param capture_description: Properties of capture description + :type capture_description: + ~azure.mgmt.servicebus.models.CaptureDescription + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'partition_ids': {'readonly': True}, + 'created_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'message_retention_in_days': {'maximum': 7, 'minimum': 1}, + 'partition_count': {'maximum': 32, 'minimum': 1}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'partition_ids': {'key': 'properties.partitionIds', 'type': '[str]'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'message_retention_in_days': {'key': 'properties.messageRetentionInDays', 'type': 'long'}, + 'partition_count': {'key': 'properties.partitionCount', 'type': 'long'}, + 'status': {'key': 'properties.status', 'type': 'EntityStatus'}, + 'capture_description': {'key': 'properties.captureDescription', 'type': 'CaptureDescription'}, + } + + def __init__(self, *, message_retention_in_days: int=None, partition_count: int=None, status=None, capture_description=None, **kwargs) -> None: + super(Eventhub, self).__init__(, **kwargs) + self.partition_ids = None + self.created_at = None + self.updated_at = None + self.message_retention_in_days = message_retention_in_days + self.partition_count = partition_count + self.status = status + self.capture_description = capture_description diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details.py index 9909a20c59b0..4ad9a33ceb92 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details.py @@ -50,8 +50,8 @@ class MessageCountDetails(Model): 'transfer_dead_letter_message_count': {'key': 'transferDeadLetterMessageCount', 'type': 'long'}, } - def __init__(self): - super(MessageCountDetails, self).__init__() + def __init__(self, **kwargs): + super(MessageCountDetails, self).__init__(**kwargs) self.active_message_count = None self.dead_letter_message_count = None self.scheduled_message_count = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details_py3.py new file mode 100644 index 000000000000..b3fdd6072dbf --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/message_count_details_py3.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MessageCountDetails(Model): + """Message Count Details. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar active_message_count: Number of active messages in the queue, topic, + or subscription. + :vartype active_message_count: long + :ivar dead_letter_message_count: Number of messages that are dead + lettered. + :vartype dead_letter_message_count: long + :ivar scheduled_message_count: Number of scheduled messages. + :vartype scheduled_message_count: long + :ivar transfer_message_count: Number of messages transferred to another + queue, topic, or subscription. + :vartype transfer_message_count: long + :ivar transfer_dead_letter_message_count: Number of messages transferred + into dead letters. + :vartype transfer_dead_letter_message_count: long + """ + + _validation = { + 'active_message_count': {'readonly': True}, + 'dead_letter_message_count': {'readonly': True}, + 'scheduled_message_count': {'readonly': True}, + 'transfer_message_count': {'readonly': True}, + 'transfer_dead_letter_message_count': {'readonly': True}, + } + + _attribute_map = { + 'active_message_count': {'key': 'activeMessageCount', 'type': 'long'}, + 'dead_letter_message_count': {'key': 'deadLetterMessageCount', 'type': 'long'}, + 'scheduled_message_count': {'key': 'scheduledMessageCount', 'type': 'long'}, + 'transfer_message_count': {'key': 'transferMessageCount', 'type': 'long'}, + 'transfer_dead_letter_message_count': {'key': 'transferDeadLetterMessageCount', 'type': 'long'}, + } + + def __init__(self, **kwargs) -> None: + super(MessageCountDetails, self).__init__(**kwargs) + self.active_message_count = None + self.dead_letter_message_count = None + self.scheduled_message_count = None + self.transfer_message_count = None + self.transfer_dead_letter_message_count = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation.py index ab15fab7f170..7f781b965a44 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation.py @@ -33,7 +33,7 @@ class Operation(Model): 'display': {'key': 'display', 'type': 'OperationDisplay'}, } - def __init__(self, display=None): - super(Operation, self).__init__() + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) self.name = None - self.display = display + self.display = kwargs.get('display', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display.py index 3f38bfbde9e2..8f5292d9eba3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display.py @@ -39,8 +39,8 @@ class OperationDisplay(Model): 'operation': {'key': 'operation', 'type': 'str'}, } - def __init__(self): - super(OperationDisplay, self).__init__() + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) self.provider = None self.resource = None self.operation = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display_py3.py new file mode 100644 index 000000000000..90b2be66e847 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_display_py3.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """The object that represents the operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar provider: Service provider: Microsoft.ServiceBus + :vartype provider: str + :ivar resource: Resource on which the operation is performed: Invoice, + etc. + :vartype resource: str + :ivar operation: Operation type: Read, write, delete, etc. + :vartype operation: str + """ + + _validation = { + 'provider': {'readonly': True}, + 'resource': {'readonly': True}, + 'operation': {'readonly': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = None + self.resource = None + self.operation = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_py3.py new file mode 100644 index 000000000000..726e23280203 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/operation_py3.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """A ServiceBus REST API operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: Operation name: {provider}/{resource}/{operation} + :vartype name: str + :param display: The object that represents the operation. + :type display: ~azure.mgmt.servicebus.models.OperationDisplay + """ + + _validation = { + 'name': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + } + + def __init__(self, *, display=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = None + self.display = display diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions.py index 3c57fe09f2fe..52cd2a921b61 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions.py @@ -48,6 +48,6 @@ class PremiumMessagingRegions(ResourceNamespacePatch): 'properties': {'key': 'properties', 'type': 'PremiumMessagingRegionsProperties'}, } - def __init__(self, location=None, tags=None, properties=None): - super(PremiumMessagingRegions, self).__init__(location=location, tags=tags) - self.properties = properties + def __init__(self, **kwargs): + super(PremiumMessagingRegions, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties.py index c7dde29d2e76..1e1a62d670eb 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties.py @@ -34,7 +34,7 @@ class PremiumMessagingRegionsProperties(Model): 'full_name': {'key': 'fullName', 'type': 'str'}, } - def __init__(self): - super(PremiumMessagingRegionsProperties, self).__init__() + def __init__(self, **kwargs): + super(PremiumMessagingRegionsProperties, self).__init__(**kwargs) self.code = None self.full_name = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties_py3.py new file mode 100644 index 000000000000..6c9b7f29b787 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_properties_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PremiumMessagingRegionsProperties(Model): + """PremiumMessagingRegionsProperties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar code: Region code + :vartype code: str + :ivar full_name: Full name of the region + :vartype full_name: str + """ + + _validation = { + 'code': {'readonly': True}, + 'full_name': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'full_name': {'key': 'fullName', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(PremiumMessagingRegionsProperties, self).__init__(**kwargs) + self.code = None + self.full_name = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py new file mode 100644 index 000000000000..f15b63b735c5 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/premium_messaging_regions_py3.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource_namespace_patch import ResourceNamespacePatch + + +class PremiumMessagingRegions(ResourceNamespacePatch): + """Premium Messaging Region. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Resource location + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + :param properties: + :type properties: + ~azure.mgmt.servicebus.models.PremiumMessagingRegionsProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'PremiumMessagingRegionsProperties'}, + } + + def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: + super(PremiumMessagingRegions, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters.py index a3239098cd82..c54d0d30b21d 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters.py @@ -16,8 +16,10 @@ class RegenerateAccessKeyParameters(Model): """Parameters supplied to the Regenerate Authorization Rule operation, specifies which key neeeds to be reset. - :param key_type: The access key to regenerate. Possible values include: - 'PrimaryKey', 'SecondaryKey' + All required parameters must be populated in order to send to Azure. + + :param key_type: Required. The access key to regenerate. Possible values + include: 'PrimaryKey', 'SecondaryKey' :type key_type: str or ~azure.mgmt.servicebus.models.KeyType :param key: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType @@ -33,7 +35,7 @@ class RegenerateAccessKeyParameters(Model): 'key': {'key': 'key', 'type': 'str'}, } - def __init__(self, key_type, key=None): - super(RegenerateAccessKeyParameters, self).__init__() - self.key_type = key_type - self.key = key + def __init__(self, **kwargs): + super(RegenerateAccessKeyParameters, self).__init__(**kwargs) + self.key_type = kwargs.get('key_type', None) + self.key = kwargs.get('key', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters_py3.py new file mode 100644 index 000000000000..1b51d422ea4c --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/regenerate_access_key_parameters_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class RegenerateAccessKeyParameters(Model): + """Parameters supplied to the Regenerate Authorization Rule operation, + specifies which key neeeds to be reset. + + All required parameters must be populated in order to send to Azure. + + :param key_type: Required. The access key to regenerate. Possible values + include: 'PrimaryKey', 'SecondaryKey' + :type key_type: str or ~azure.mgmt.servicebus.models.KeyType + :param key: Optional, if the key value provided, is reset for KeyType + value or autogenerate Key value set for keyType + :type key: str + """ + + _validation = { + 'key_type': {'required': True}, + } + + _attribute_map = { + 'key_type': {'key': 'keyType', 'type': 'KeyType'}, + 'key': {'key': 'key', 'type': 'str'}, + } + + def __init__(self, *, key_type, key: str=None, **kwargs) -> None: + super(RegenerateAccessKeyParameters, self).__init__(**kwargs) + self.key_type = key_type + self.key = key diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource.py index 30363ca16bdd..f2f4bcd9cd55 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource.py @@ -38,8 +38,8 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self): - super(Resource, self).__init__() + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch.py index 053416e71968..2ac18a403bce 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch.py @@ -44,7 +44,7 @@ class ResourceNamespacePatch(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, location=None, tags=None): - super(ResourceNamespacePatch, self).__init__() - self.location = location - self.tags = tags + def __init__(self, **kwargs): + super(ResourceNamespacePatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py new file mode 100644 index 000000000000..852de43eff40 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ResourceNamespacePatch(Resource): + """The Resource definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Resource location + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: + super(ResourceNamespacePatch, self).__init__(, **kwargs) + self.location = location + self.tags = tags diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_py3.py new file mode 100644 index 000000000000..6a1c6db582ed --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_py3.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Resource(Model): + """The Resource definition for other than namespace. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule.py index 7a439128611c..9b3c0e5ca7fa 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule.py @@ -52,9 +52,9 @@ class Rule(Resource): 'correlation_filter': {'key': 'properties.correlationFilter', 'type': 'CorrelationFilter'}, } - def __init__(self, action=None, filter_type=None, sql_filter=None, correlation_filter=None): - super(Rule, self).__init__() - self.action = action - self.filter_type = filter_type - self.sql_filter = sql_filter - self.correlation_filter = correlation_filter + def __init__(self, **kwargs): + super(Rule, self).__init__(**kwargs) + self.action = kwargs.get('action', None) + self.filter_type = kwargs.get('filter_type', None) + self.sql_filter = kwargs.get('sql_filter', None) + self.correlation_filter = kwargs.get('correlation_filter', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py new file mode 100644 index 000000000000..f17ee0a77ebb --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class Rule(Resource): + """Description of Rule Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param action: Represents the filter actions which are allowed for the + transformation of a message that have been matched by a filter expression. + :type action: ~azure.mgmt.servicebus.models.Action + :param filter_type: Filter type that is evaluated against a + BrokeredMessage. Possible values include: 'SqlFilter', 'CorrelationFilter' + :type filter_type: str or ~azure.mgmt.servicebus.models.FilterType + :param sql_filter: Properties of sqlFilter + :type sql_filter: ~azure.mgmt.servicebus.models.SqlFilter + :param correlation_filter: Properties of correlationFilter + :type correlation_filter: ~azure.mgmt.servicebus.models.CorrelationFilter + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'action': {'key': 'properties.action', 'type': 'Action'}, + 'filter_type': {'key': 'properties.filterType', 'type': 'FilterType'}, + 'sql_filter': {'key': 'properties.sqlFilter', 'type': 'SqlFilter'}, + 'correlation_filter': {'key': 'properties.correlationFilter', 'type': 'CorrelationFilter'}, + } + + def __init__(self, *, action=None, filter_type=None, sql_filter=None, correlation_filter=None, **kwargs) -> None: + super(Rule, self).__init__(, **kwargs) + self.action = action + self.filter_type = filter_type + self.sql_filter = sql_filter + self.correlation_filter = correlation_filter diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule.py index b94c5c4a0cbe..13660f930bf8 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule.py @@ -18,13 +18,15 @@ class SBAuthorizationRule(Resource): Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: Resource Id :vartype id: str :ivar name: Resource name :vartype name: str :ivar type: Resource type :vartype type: str - :param rights: The rights associated with the rule. + :param rights: Required. The rights associated with the rule. :type rights: list[str or ~azure.mgmt.servicebus.models.AccessRights] """ @@ -42,6 +44,6 @@ class SBAuthorizationRule(Resource): 'rights': {'key': 'properties.rights', 'type': '[AccessRights]'}, } - def __init__(self, rights): - super(SBAuthorizationRule, self).__init__() - self.rights = rights + def __init__(self, **kwargs): + super(SBAuthorizationRule, self).__init__(**kwargs) + self.rights = kwargs.get('rights', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py new file mode 100644 index 000000000000..ed1eb02748f9 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class SBAuthorizationRule(Resource): + """Description of a namespace authorization rule. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param rights: Required. The rights associated with the rule. + :type rights: list[str or ~azure.mgmt.servicebus.models.AccessRights] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'rights': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'rights': {'key': 'properties.rights', 'type': '[AccessRights]'}, + } + + def __init__(self, *, rights, **kwargs) -> None: + super(SBAuthorizationRule, self).__init__(, **kwargs) + self.rights = rights diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace.py index 9af8bb55912f..398be39f0412 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace.py @@ -18,13 +18,15 @@ class SBNamespace(TrackedResource): Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: Resource Id :vartype id: str :ivar name: Resource name :vartype name: str :ivar type: Resource type :vartype type: str - :param location: The Geo-location where the resource lives + :param location: Required. The Geo-location where the resource lives :type location: str :param tags: Resource tags :type tags: dict[str, str] @@ -69,9 +71,9 @@ class SBNamespace(TrackedResource): 'metric_id': {'key': 'properties.metricId', 'type': 'str'}, } - def __init__(self, location, tags=None, sku=None): - super(SBNamespace, self).__init__(location=location, tags=tags) - self.sku = sku + def __init__(self, **kwargs): + super(SBNamespace, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) self.provisioning_state = None self.created_at = None self.updated_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py new file mode 100644 index 000000000000..4ee417397b37 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_py3.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .tracked_resource import TrackedResource + + +class SBNamespace(TrackedResource): + """Description of a namespace resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Required. The Geo-location where the resource lives + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + :param sku: Porperties of Sku + :type sku: ~azure.mgmt.servicebus.models.SBSku + :ivar provisioning_state: Provisioning state of the namespace. + :vartype provisioning_state: str + :ivar created_at: The time the namespace was created. + :vartype created_at: datetime + :ivar updated_at: The time the namespace was updated. + :vartype updated_at: datetime + :ivar service_bus_endpoint: Endpoint you can use to perform Service Bus + operations. + :vartype service_bus_endpoint: str + :ivar metric_id: Identifier for Azure Insights metrics + :vartype metric_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'created_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'service_bus_endpoint': {'readonly': True}, + 'metric_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'SBSku'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'}, + 'metric_id': {'key': 'properties.metricId', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, sku=None, **kwargs) -> None: + super(SBNamespace, self).__init__(location=location, tags=tags, **kwargs) + self.sku = sku + self.provisioning_state = None + self.created_at = None + self.updated_at = None + self.service_bus_endpoint = None + self.metric_id = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters.py index dd3fde4636db..5b6274272ba3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters.py @@ -68,9 +68,9 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch): 'metric_id': {'key': 'properties.metricId', 'type': 'str'}, } - def __init__(self, location=None, tags=None, sku=None): - super(SBNamespaceUpdateParameters, self).__init__(location=location, tags=tags) - self.sku = sku + def __init__(self, **kwargs): + super(SBNamespaceUpdateParameters, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) self.provisioning_state = None self.created_at = None self.updated_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py new file mode 100644 index 000000000000..04cadaaeabc7 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_namespace_update_parameters_py3.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource_namespace_patch import ResourceNamespacePatch + + +class SBNamespaceUpdateParameters(ResourceNamespacePatch): + """Description of a namespace resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Resource location + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + :param sku: Porperties of Sku + :type sku: ~azure.mgmt.servicebus.models.SBSku + :ivar provisioning_state: Provisioning state of the namespace. + :vartype provisioning_state: str + :ivar created_at: The time the namespace was created. + :vartype created_at: datetime + :ivar updated_at: The time the namespace was updated. + :vartype updated_at: datetime + :ivar service_bus_endpoint: Endpoint you can use to perform Service Bus + operations. + :vartype service_bus_endpoint: str + :ivar metric_id: Identifier for Azure Insights metrics + :vartype metric_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'service_bus_endpoint': {'readonly': True}, + 'metric_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'SBSku'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'}, + 'metric_id': {'key': 'properties.metricId', 'type': 'str'}, + } + + def __init__(self, *, location: str=None, tags=None, sku=None, **kwargs) -> None: + super(SBNamespaceUpdateParameters, self).__init__(location=location, tags=tags, **kwargs) + self.sku = sku + self.provisioning_state = None + self.created_at = None + self.updated_at = None + self.service_bus_endpoint = None + self.metric_id = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py index 79da01fd3d74..41d2a45f277b 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue.py @@ -131,26 +131,26 @@ class SBQueue(Resource): 'forward_dead_lettered_messages_to': {'key': 'properties.forwardDeadLetteredMessagesTo', 'type': 'str'}, } - def __init__(self, lock_duration=None, max_size_in_megabytes=None, requires_duplicate_detection=None, requires_session=None, default_message_time_to_live=None, dead_lettering_on_message_expiration=None, duplicate_detection_history_time_window=None, max_delivery_count=None, status=None, enable_batched_operations=None, auto_delete_on_idle=None, enable_partitioning=None, enable_express=None, forward_to=None, forward_dead_lettered_messages_to=None): - super(SBQueue, self).__init__() + def __init__(self, **kwargs): + super(SBQueue, self).__init__(**kwargs) self.count_details = None self.created_at = None self.updated_at = None self.accessed_at = None self.size_in_bytes = None self.message_count = None - self.lock_duration = lock_duration - self.max_size_in_megabytes = max_size_in_megabytes - self.requires_duplicate_detection = requires_duplicate_detection - self.requires_session = requires_session - self.default_message_time_to_live = default_message_time_to_live - self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration - self.duplicate_detection_history_time_window = duplicate_detection_history_time_window - self.max_delivery_count = max_delivery_count - self.status = status - self.enable_batched_operations = enable_batched_operations - self.auto_delete_on_idle = auto_delete_on_idle - self.enable_partitioning = enable_partitioning - self.enable_express = enable_express - self.forward_to = forward_to - self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to + self.lock_duration = kwargs.get('lock_duration', None) + self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) + self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) + self.requires_session = kwargs.get('requires_session', None) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.max_delivery_count = kwargs.get('max_delivery_count', None) + self.status = kwargs.get('status', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.enable_partitioning = kwargs.get('enable_partitioning', None) + self.enable_express = kwargs.get('enable_express', None) + self.forward_to = kwargs.get('forward_to', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py new file mode 100644 index 000000000000..996055c4c27b --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class SBQueue(Resource): + """Description of queue Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar count_details: Message Count Details. + :vartype count_details: ~azure.mgmt.servicebus.models.MessageCountDetails + :ivar created_at: The exact time the message was created. + :vartype created_at: datetime + :ivar updated_at: The exact time the message was updated. + :vartype updated_at: datetime + :ivar accessed_at: Last time a message was sent, or the last time there + was a receive request to this queue. + :vartype accessed_at: datetime + :ivar size_in_bytes: The size of the queue, in bytes. + :vartype size_in_bytes: long + :ivar message_count: The number of messages in the queue. + :vartype message_count: long + :param lock_duration: ISO 8601 timespan duration of a peek-lock; that is, + the amount of time that the message is locked for other receivers. The + maximum value for LockDuration is 5 minutes; the default value is 1 + minute. + :type lock_duration: timedelta + :param max_size_in_megabytes: The maximum size of the queue in megabytes, + which is the size of memory allocated for the queue. Default is 1024. + :type max_size_in_megabytes: int + :param requires_duplicate_detection: A value indicating if this queue + requires duplicate detection. + :type requires_duplicate_detection: bool + :param requires_session: A value that indicates whether the queue supports + the concept of sessions. + :type requires_session: bool + :param default_message_time_to_live: ISO 8601 default message timespan to + live value. This is the duration after which the message expires, starting + from when the message is sent to Service Bus. This is the default value + used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: timedelta + :param dead_lettering_on_message_expiration: A value that indicates + whether this queue has dead letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :param duplicate_detection_history_time_window: ISO 8601 timeSpan + structure that defines the duration of the duplicate detection history. + The default value is 10 minutes. + :type duplicate_detection_history_time_window: timedelta + :param max_delivery_count: The maximum delivery count. A message is + automatically deadlettered after this number of deliveries. default value + is 10. + :type max_delivery_count: int + :param status: Enumerates the possible values for the status of a + messaging entity. Possible values include: 'Active', 'Disabled', + 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', + 'Renaming', 'Unknown' + :type status: str or ~azure.mgmt.servicebus.models.EntityStatus + :param enable_batched_operations: Value that indicates whether server-side + batched operations are enabled. + :type enable_batched_operations: bool + :param auto_delete_on_idle: ISO 8061 timeSpan idle interval after which + the queue is automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: timedelta + :param enable_partitioning: A value that indicates whether the queue is to + be partitioned across multiple message brokers. + :type enable_partitioning: bool + :param enable_express: A value that indicates whether Express Entities are + enabled. An express queue holds a message in memory temporarily before + writing it to persistent storage. + :type enable_express: bool + :param forward_to: Queue/Topic name to forward the messages + :type forward_to: str + :param forward_dead_lettered_messages_to: Queue/Topic name to forward the + Dead Letter message + :type forward_dead_lettered_messages_to: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'count_details': {'readonly': True}, + 'created_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'accessed_at': {'readonly': True}, + 'size_in_bytes': {'readonly': True}, + 'message_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'count_details': {'key': 'properties.countDetails', 'type': 'MessageCountDetails'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'accessed_at': {'key': 'properties.accessedAt', 'type': 'iso-8601'}, + 'size_in_bytes': {'key': 'properties.sizeInBytes', 'type': 'long'}, + 'message_count': {'key': 'properties.messageCount', 'type': 'long'}, + 'lock_duration': {'key': 'properties.lockDuration', 'type': 'duration'}, + 'max_size_in_megabytes': {'key': 'properties.maxSizeInMegabytes', 'type': 'int'}, + 'requires_duplicate_detection': {'key': 'properties.requiresDuplicateDetection', 'type': 'bool'}, + 'requires_session': {'key': 'properties.requiresSession', 'type': 'bool'}, + 'default_message_time_to_live': {'key': 'properties.defaultMessageTimeToLive', 'type': 'duration'}, + 'dead_lettering_on_message_expiration': {'key': 'properties.deadLetteringOnMessageExpiration', 'type': 'bool'}, + 'duplicate_detection_history_time_window': {'key': 'properties.duplicateDetectionHistoryTimeWindow', 'type': 'duration'}, + 'max_delivery_count': {'key': 'properties.maxDeliveryCount', 'type': 'int'}, + 'status': {'key': 'properties.status', 'type': 'EntityStatus'}, + 'enable_batched_operations': {'key': 'properties.enableBatchedOperations', 'type': 'bool'}, + 'auto_delete_on_idle': {'key': 'properties.autoDeleteOnIdle', 'type': 'duration'}, + 'enable_partitioning': {'key': 'properties.enablePartitioning', 'type': 'bool'}, + 'enable_express': {'key': 'properties.enableExpress', 'type': 'bool'}, + 'forward_to': {'key': 'properties.forwardTo', 'type': 'str'}, + 'forward_dead_lettered_messages_to': {'key': 'properties.forwardDeadLetteredMessagesTo', 'type': 'str'}, + } + + def __init__(self, *, lock_duration=None, max_size_in_megabytes: int=None, requires_duplicate_detection: bool=None, requires_session: bool=None, default_message_time_to_live=None, dead_lettering_on_message_expiration: bool=None, duplicate_detection_history_time_window=None, max_delivery_count: int=None, status=None, enable_batched_operations: bool=None, auto_delete_on_idle=None, enable_partitioning: bool=None, enable_express: bool=None, forward_to: str=None, forward_dead_lettered_messages_to: str=None, **kwargs) -> None: + super(SBQueue, self).__init__(, **kwargs) + self.count_details = None + self.created_at = None + self.updated_at = None + self.accessed_at = None + self.size_in_bytes = None + self.message_count = None + self.lock_duration = lock_duration + self.max_size_in_megabytes = max_size_in_megabytes + self.requires_duplicate_detection = requires_duplicate_detection + self.requires_session = requires_session + self.default_message_time_to_live = default_message_time_to_live + self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration + self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.max_delivery_count = max_delivery_count + self.status = status + self.enable_batched_operations = enable_batched_operations + self.auto_delete_on_idle = auto_delete_on_idle + self.enable_partitioning = enable_partitioning + self.enable_express = enable_express + self.forward_to = forward_to + self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku.py index 49170e6cd447..f69f3b5de5fd 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku.py @@ -15,7 +15,9 @@ class SBSku(Model): """SKU of the namespace. - :param name: Name of this SKU. Possible values include: 'Basic', + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of this SKU. Possible values include: 'Basic', 'Standard', 'Premium' :type name: str or ~azure.mgmt.servicebus.models.SkuName :param tier: The billing tier of this particular SKU. Possible values @@ -36,8 +38,8 @@ class SBSku(Model): 'capacity': {'key': 'capacity', 'type': 'int'}, } - def __init__(self, name, tier=None, capacity=None): - super(SBSku, self).__init__() - self.name = name - self.tier = tier - self.capacity = capacity + def __init__(self, **kwargs): + super(SBSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + self.capacity = kwargs.get('capacity', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku_py3.py new file mode 100644 index 000000000000..f5adfee20c0a --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_sku_py3.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SBSku(Model): + """SKU of the namespace. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of this SKU. Possible values include: 'Basic', + 'Standard', 'Premium' + :type name: str or ~azure.mgmt.servicebus.models.SkuName + :param tier: The billing tier of this particular SKU. Possible values + include: 'Basic', 'Standard', 'Premium' + :type tier: str or ~azure.mgmt.servicebus.models.SkuTier + :param capacity: The specified messaging units for the tier. For Premium + tier, capacity are 1,2 and 4. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'SkuName'}, + 'tier': {'key': 'tier', 'type': 'SkuTier'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__(self, *, name, tier=None, capacity: int=None, **kwargs) -> None: + super(SBSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.capacity = capacity diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription.py index 73f667da65f0..426c99bcfd7c 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription.py @@ -111,22 +111,22 @@ class SBSubscription(Resource): 'forward_dead_lettered_messages_to': {'key': 'properties.forwardDeadLetteredMessagesTo', 'type': 'str'}, } - def __init__(self, lock_duration=None, requires_session=None, default_message_time_to_live=None, dead_lettering_on_filter_evaluation_exceptions=None, dead_lettering_on_message_expiration=None, duplicate_detection_history_time_window=None, max_delivery_count=None, status=None, enable_batched_operations=None, auto_delete_on_idle=None, forward_to=None, forward_dead_lettered_messages_to=None): - super(SBSubscription, self).__init__() + def __init__(self, **kwargs): + super(SBSubscription, self).__init__(**kwargs) self.message_count = None self.created_at = None self.accessed_at = None self.updated_at = None self.count_details = None - self.lock_duration = lock_duration - self.requires_session = requires_session - self.default_message_time_to_live = default_message_time_to_live - self.dead_lettering_on_filter_evaluation_exceptions = dead_lettering_on_filter_evaluation_exceptions - self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration - self.duplicate_detection_history_time_window = duplicate_detection_history_time_window - self.max_delivery_count = max_delivery_count - self.status = status - self.enable_batched_operations = enable_batched_operations - self.auto_delete_on_idle = auto_delete_on_idle - self.forward_to = forward_to - self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to + self.lock_duration = kwargs.get('lock_duration', None) + self.requires_session = kwargs.get('requires_session', None) + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.dead_lettering_on_filter_evaluation_exceptions = kwargs.get('dead_lettering_on_filter_evaluation_exceptions', None) + self.dead_lettering_on_message_expiration = kwargs.get('dead_lettering_on_message_expiration', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.max_delivery_count = kwargs.get('max_delivery_count', None) + self.status = kwargs.get('status', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.forward_to = kwargs.get('forward_to', None) + self.forward_dead_lettered_messages_to = kwargs.get('forward_dead_lettered_messages_to', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py new file mode 100644 index 000000000000..c845b0ef2fa5 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py @@ -0,0 +1,132 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class SBSubscription(Resource): + """Description of subscription resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar message_count: Number of messages. + :vartype message_count: long + :ivar created_at: Exact time the message was created. + :vartype created_at: datetime + :ivar accessed_at: Last time there was a receive request to this + subscription. + :vartype accessed_at: datetime + :ivar updated_at: The exact time the message was updated. + :vartype updated_at: datetime + :ivar count_details: Message count details + :vartype count_details: ~azure.mgmt.servicebus.models.MessageCountDetails + :param lock_duration: ISO 8061 lock duration timespan for the + subscription. The default value is 1 minute. + :type lock_duration: timedelta + :param requires_session: Value indicating if a subscription supports the + concept of sessions. + :type requires_session: bool + :param default_message_time_to_live: ISO 8061 Default message timespan to + live value. This is the duration after which the message expires, starting + from when the message is sent to Service Bus. This is the default value + used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: timedelta + :param dead_lettering_on_filter_evaluation_exceptions: Value that + indicates whether a subscription has dead letter support on filter + evaluation exceptions. + :type dead_lettering_on_filter_evaluation_exceptions: bool + :param dead_lettering_on_message_expiration: Value that indicates whether + a subscription has dead letter support when a message expires. + :type dead_lettering_on_message_expiration: bool + :param duplicate_detection_history_time_window: ISO 8601 timeSpan + structure that defines the duration of the duplicate detection history. + The default value is 10 minutes. + :type duplicate_detection_history_time_window: timedelta + :param max_delivery_count: Number of maximum deliveries. + :type max_delivery_count: int + :param status: Enumerates the possible values for the status of a + messaging entity. Possible values include: 'Active', 'Disabled', + 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', + 'Renaming', 'Unknown' + :type status: str or ~azure.mgmt.servicebus.models.EntityStatus + :param enable_batched_operations: Value that indicates whether server-side + batched operations are enabled. + :type enable_batched_operations: bool + :param auto_delete_on_idle: ISO 8061 timeSpan idle interval after which + the topic is automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: timedelta + :param forward_to: Queue/Topic name to forward the messages + :type forward_to: str + :param forward_dead_lettered_messages_to: Queue/Topic name to forward the + Dead Letter message + :type forward_dead_lettered_messages_to: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'message_count': {'readonly': True}, + 'created_at': {'readonly': True}, + 'accessed_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'count_details': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'message_count': {'key': 'properties.messageCount', 'type': 'long'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'accessed_at': {'key': 'properties.accessedAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'count_details': {'key': 'properties.countDetails', 'type': 'MessageCountDetails'}, + 'lock_duration': {'key': 'properties.lockDuration', 'type': 'duration'}, + 'requires_session': {'key': 'properties.requiresSession', 'type': 'bool'}, + 'default_message_time_to_live': {'key': 'properties.defaultMessageTimeToLive', 'type': 'duration'}, + 'dead_lettering_on_filter_evaluation_exceptions': {'key': 'properties.deadLetteringOnFilterEvaluationExceptions', 'type': 'bool'}, + 'dead_lettering_on_message_expiration': {'key': 'properties.deadLetteringOnMessageExpiration', 'type': 'bool'}, + 'duplicate_detection_history_time_window': {'key': 'properties.duplicateDetectionHistoryTimeWindow', 'type': 'duration'}, + 'max_delivery_count': {'key': 'properties.maxDeliveryCount', 'type': 'int'}, + 'status': {'key': 'properties.status', 'type': 'EntityStatus'}, + 'enable_batched_operations': {'key': 'properties.enableBatchedOperations', 'type': 'bool'}, + 'auto_delete_on_idle': {'key': 'properties.autoDeleteOnIdle', 'type': 'duration'}, + 'forward_to': {'key': 'properties.forwardTo', 'type': 'str'}, + 'forward_dead_lettered_messages_to': {'key': 'properties.forwardDeadLetteredMessagesTo', 'type': 'str'}, + } + + def __init__(self, *, lock_duration=None, requires_session: bool=None, default_message_time_to_live=None, dead_lettering_on_filter_evaluation_exceptions: bool=None, dead_lettering_on_message_expiration: bool=None, duplicate_detection_history_time_window=None, max_delivery_count: int=None, status=None, enable_batched_operations: bool=None, auto_delete_on_idle=None, forward_to: str=None, forward_dead_lettered_messages_to: str=None, **kwargs) -> None: + super(SBSubscription, self).__init__(, **kwargs) + self.message_count = None + self.created_at = None + self.accessed_at = None + self.updated_at = None + self.count_details = None + self.lock_duration = lock_duration + self.requires_session = requires_session + self.default_message_time_to_live = default_message_time_to_live + self.dead_lettering_on_filter_evaluation_exceptions = dead_lettering_on_filter_evaluation_exceptions + self.dead_lettering_on_message_expiration = dead_lettering_on_message_expiration + self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.max_delivery_count = max_delivery_count + self.status = status + self.enable_batched_operations = enable_batched_operations + self.auto_delete_on_idle = auto_delete_on_idle + self.forward_to = forward_to + self.forward_dead_lettered_messages_to = forward_dead_lettered_messages_to diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic.py index 5f0b806bed30..ce92872562e1 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic.py @@ -109,21 +109,21 @@ class SBTopic(Resource): 'enable_express': {'key': 'properties.enableExpress', 'type': 'bool'}, } - def __init__(self, default_message_time_to_live=None, max_size_in_megabytes=None, requires_duplicate_detection=None, duplicate_detection_history_time_window=None, enable_batched_operations=None, status=None, support_ordering=None, auto_delete_on_idle=None, enable_partitioning=None, enable_express=None): - super(SBTopic, self).__init__() + def __init__(self, **kwargs): + super(SBTopic, self).__init__(**kwargs) self.size_in_bytes = None self.created_at = None self.updated_at = None self.accessed_at = None self.subscription_count = None self.count_details = None - self.default_message_time_to_live = default_message_time_to_live - self.max_size_in_megabytes = max_size_in_megabytes - self.requires_duplicate_detection = requires_duplicate_detection - self.duplicate_detection_history_time_window = duplicate_detection_history_time_window - self.enable_batched_operations = enable_batched_operations - self.status = status - self.support_ordering = support_ordering - self.auto_delete_on_idle = auto_delete_on_idle - self.enable_partitioning = enable_partitioning - self.enable_express = enable_express + self.default_message_time_to_live = kwargs.get('default_message_time_to_live', None) + self.max_size_in_megabytes = kwargs.get('max_size_in_megabytes', None) + self.requires_duplicate_detection = kwargs.get('requires_duplicate_detection', None) + self.duplicate_detection_history_time_window = kwargs.get('duplicate_detection_history_time_window', None) + self.enable_batched_operations = kwargs.get('enable_batched_operations', None) + self.status = kwargs.get('status', None) + self.support_ordering = kwargs.get('support_ordering', None) + self.auto_delete_on_idle = kwargs.get('auto_delete_on_idle', None) + self.enable_partitioning = kwargs.get('enable_partitioning', None) + self.enable_express = kwargs.get('enable_express', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py new file mode 100644 index 000000000000..c4d66241b1c0 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py @@ -0,0 +1,129 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class SBTopic(Resource): + """Description of topic resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar size_in_bytes: Size of the topic, in bytes. + :vartype size_in_bytes: long + :ivar created_at: Exact time the message was created. + :vartype created_at: datetime + :ivar updated_at: The exact time the message was updated. + :vartype updated_at: datetime + :ivar accessed_at: Last time the message was sent, or a request was + received, for this topic. + :vartype accessed_at: datetime + :ivar subscription_count: Number of subscriptions. + :vartype subscription_count: int + :ivar count_details: Message count deatils + :vartype count_details: ~azure.mgmt.servicebus.models.MessageCountDetails + :param default_message_time_to_live: ISO 8601 Default message timespan to + live value. This is the duration after which the message expires, starting + from when the message is sent to Service Bus. This is the default value + used when TimeToLive is not set on a message itself. + :type default_message_time_to_live: timedelta + :param max_size_in_megabytes: Maximum size of the topic in megabytes, + which is the size of the memory allocated for the topic. Default is 1024. + :type max_size_in_megabytes: int + :param requires_duplicate_detection: Value indicating if this topic + requires duplicate detection. + :type requires_duplicate_detection: bool + :param duplicate_detection_history_time_window: ISO8601 timespan structure + that defines the duration of the duplicate detection history. The default + value is 10 minutes. + :type duplicate_detection_history_time_window: timedelta + :param enable_batched_operations: Value that indicates whether server-side + batched operations are enabled. + :type enable_batched_operations: bool + :param status: Enumerates the possible values for the status of a + messaging entity. Possible values include: 'Active', 'Disabled', + 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', + 'Renaming', 'Unknown' + :type status: str or ~azure.mgmt.servicebus.models.EntityStatus + :param support_ordering: Value that indicates whether the topic supports + ordering. + :type support_ordering: bool + :param auto_delete_on_idle: ISO 8601 timespan idle interval after which + the topic is automatically deleted. The minimum duration is 5 minutes. + :type auto_delete_on_idle: timedelta + :param enable_partitioning: Value that indicates whether the topic to be + partitioned across multiple message brokers is enabled. + :type enable_partitioning: bool + :param enable_express: Value that indicates whether Express Entities are + enabled. An express topic holds a message in memory temporarily before + writing it to persistent storage. + :type enable_express: bool + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'size_in_bytes': {'readonly': True}, + 'created_at': {'readonly': True}, + 'updated_at': {'readonly': True}, + 'accessed_at': {'readonly': True}, + 'subscription_count': {'readonly': True}, + 'count_details': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'size_in_bytes': {'key': 'properties.sizeInBytes', 'type': 'long'}, + 'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'}, + 'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'}, + 'accessed_at': {'key': 'properties.accessedAt', 'type': 'iso-8601'}, + 'subscription_count': {'key': 'properties.subscriptionCount', 'type': 'int'}, + 'count_details': {'key': 'properties.countDetails', 'type': 'MessageCountDetails'}, + 'default_message_time_to_live': {'key': 'properties.defaultMessageTimeToLive', 'type': 'duration'}, + 'max_size_in_megabytes': {'key': 'properties.maxSizeInMegabytes', 'type': 'int'}, + 'requires_duplicate_detection': {'key': 'properties.requiresDuplicateDetection', 'type': 'bool'}, + 'duplicate_detection_history_time_window': {'key': 'properties.duplicateDetectionHistoryTimeWindow', 'type': 'duration'}, + 'enable_batched_operations': {'key': 'properties.enableBatchedOperations', 'type': 'bool'}, + 'status': {'key': 'properties.status', 'type': 'EntityStatus'}, + 'support_ordering': {'key': 'properties.supportOrdering', 'type': 'bool'}, + 'auto_delete_on_idle': {'key': 'properties.autoDeleteOnIdle', 'type': 'duration'}, + 'enable_partitioning': {'key': 'properties.enablePartitioning', 'type': 'bool'}, + 'enable_express': {'key': 'properties.enableExpress', 'type': 'bool'}, + } + + def __init__(self, *, default_message_time_to_live=None, max_size_in_megabytes: int=None, requires_duplicate_detection: bool=None, duplicate_detection_history_time_window=None, enable_batched_operations: bool=None, status=None, support_ordering: bool=None, auto_delete_on_idle=None, enable_partitioning: bool=None, enable_express: bool=None, **kwargs) -> None: + super(SBTopic, self).__init__(, **kwargs) + self.size_in_bytes = None + self.created_at = None + self.updated_at = None + self.accessed_at = None + self.subscription_count = None + self.count_details = None + self.default_message_time_to_live = default_message_time_to_live + self.max_size_in_megabytes = max_size_in_megabytes + self.requires_duplicate_detection = requires_duplicate_detection + self.duplicate_detection_history_time_window = duplicate_detection_history_time_window + self.enable_batched_operations = enable_batched_operations + self.status = status + self.support_ordering = support_ordering + self.auto_delete_on_idle = auto_delete_on_idle + self.enable_partitioning = enable_partitioning + self.enable_express = enable_express diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/service_bus_management_client_enums.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/service_bus_management_client_enums.py index 52f86b7f900b..a313fa144d3b 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/service_bus_management_client_enums.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/service_bus_management_client_enums.py @@ -12,34 +12,34 @@ from enum import Enum -class SkuName(Enum): +class SkuName(str, Enum): basic = "Basic" standard = "Standard" premium = "Premium" -class SkuTier(Enum): +class SkuTier(str, Enum): basic = "Basic" standard = "Standard" premium = "Premium" -class AccessRights(Enum): +class AccessRights(str, Enum): manage = "Manage" send = "Send" listen = "Listen" -class KeyType(Enum): +class KeyType(str, Enum): primary_key = "PrimaryKey" secondary_key = "SecondaryKey" -class EntityStatus(Enum): +class EntityStatus(str, Enum): active = "Active" disabled = "Disabled" @@ -52,7 +52,7 @@ class EntityStatus(Enum): unknown = "Unknown" -class UnavailableReason(Enum): +class UnavailableReason(str, Enum): none = "None" invalid_name = "InvalidName" @@ -62,26 +62,26 @@ class UnavailableReason(Enum): too_many_namespace_in_current_subscription = "TooManyNamespaceInCurrentSubscription" -class FilterType(Enum): +class FilterType(str, Enum): sql_filter = "SqlFilter" correlation_filter = "CorrelationFilter" -class EncodingCaptureDescription(Enum): +class EncodingCaptureDescription(str, Enum): avro = "Avro" avro_deflate = "AvroDeflate" -class ProvisioningStateDR(Enum): +class ProvisioningStateDR(str, Enum): accepted = "Accepted" succeeded = "Succeeded" failed = "Failed" -class RoleDisasterRecovery(Enum): +class RoleDisasterRecovery(str, Enum): primary = "Primary" primary_not_replicating = "PrimaryNotReplicating" diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter.py index 2b59a37f752f..b8dd211d6bee 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter.py @@ -40,8 +40,8 @@ class SqlFilter(Model): 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, } - def __init__(self, sql_expression=None, requires_preprocessing=True): - super(SqlFilter, self).__init__() - self.sql_expression = sql_expression + def __init__(self, **kwargs): + super(SqlFilter, self).__init__(**kwargs) + self.sql_expression = kwargs.get('sql_expression', None) self.compatibility_level = None - self.requires_preprocessing = requires_preprocessing + self.requires_preprocessing = kwargs.get('requires_preprocessing', True) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter_py3.py new file mode 100644 index 000000000000..d6de31b2536b --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_filter_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SqlFilter(Model): + """Represents a filter which is a composition of an expression and an action + that is executed in the pub/sub pipeline. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param sql_expression: The SQL expression. e.g. MyProperty='ABC' + :type sql_expression: str + :ivar compatibility_level: This property is reserved for future use. An + integer value showing the compatibility level, currently hard-coded to 20. + Default value: 20 . + :vartype compatibility_level: int + :param requires_preprocessing: Value that indicates whether the rule + action requires preprocessing. Default value: True . + :type requires_preprocessing: bool + """ + + _validation = { + 'compatibility_level': {'readonly': True}, + } + + _attribute_map = { + 'sql_expression': {'key': 'sqlExpression', 'type': 'str'}, + 'compatibility_level': {'key': 'compatibilityLevel', 'type': 'int'}, + 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, + } + + def __init__(self, *, sql_expression: str=None, requires_preprocessing: bool=True, **kwargs) -> None: + super(SqlFilter, self).__init__(**kwargs) + self.sql_expression = sql_expression + self.compatibility_level = None + self.requires_preprocessing = requires_preprocessing diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action.py index 0150ca05ae2c..e6ef4d1fdb4e 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action.py @@ -26,5 +26,11 @@ class SqlRuleAction(Action): :type requires_preprocessing: bool """ - def __init__(self, sql_expression=None, compatibility_level=None, requires_preprocessing=True): - super(SqlRuleAction, self).__init__(sql_expression=sql_expression, compatibility_level=compatibility_level, requires_preprocessing=requires_preprocessing) + _attribute_map = { + 'sql_expression': {'key': 'sqlExpression', 'type': 'str'}, + 'compatibility_level': {'key': 'compatibilityLevel', 'type': 'int'}, + 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(SqlRuleAction, self).__init__(**kwargs) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py new file mode 100644 index 000000000000..94786ea833d5 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sql_rule_action_py3.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .action import Action + + +class SqlRuleAction(Action): + """Represents set of actions written in SQL language-based syntax that is + performed against a ServiceBus.Messaging.BrokeredMessage . + + :param sql_expression: SQL expression. e.g. MyProperty='ABC' + :type sql_expression: str + :param compatibility_level: This property is reserved for future use. An + integer value showing the compatibility level, currently hard-coded to 20. + :type compatibility_level: int + :param requires_preprocessing: Value that indicates whether the rule + action requires preprocessing. Default value: True . + :type requires_preprocessing: bool + """ + + _attribute_map = { + 'sql_expression': {'key': 'sqlExpression', 'type': 'str'}, + 'compatibility_level': {'key': 'compatibilityLevel', 'type': 'int'}, + 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, + } + + def __init__(self, *, sql_expression: str=None, compatibility_level: int=None, requires_preprocessing: bool=True, **kwargs) -> None: + super(SqlRuleAction, self).__init__(sql_expression=sql_expression, compatibility_level=compatibility_level, requires_preprocessing=requires_preprocessing, **kwargs) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource.py index 192adcc84b2c..dcd13ff085ec 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource.py @@ -18,13 +18,15 @@ class TrackedResource(Resource): Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: Resource Id :vartype id: str :ivar name: Resource name :vartype name: str :ivar type: Resource type :vartype type: str - :param location: The Geo-location where the resource lives + :param location: Required. The Geo-location where the resource lives :type location: str :param tags: Resource tags :type tags: dict[str, str] @@ -45,7 +47,7 @@ class TrackedResource(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, location, tags=None): - super(TrackedResource, self).__init__() - self.location = location - self.tags = tags + def __init__(self, **kwargs): + super(TrackedResource, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py new file mode 100644 index 000000000000..406a774c9951 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class TrackedResource(Resource): + """The Resource definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Required. The Geo-location where the resource lives + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, *, location: str, tags=None, **kwargs) -> None: + super(TrackedResource, self).__init__(, **kwargs) + self.location = location + self.tags = tags diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py index 5d83acaffd93..bd43b157b35e 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/namespaces_operations.py @@ -11,8 +11,8 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrest.exceptions import DeserializationError -from msrestazure.azure_operation import AzureOperationPoller +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling from .. import models @@ -288,7 +288,7 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): """Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. @@ -300,13 +300,16 @@ def create_or_update( :param parameters: Parameters supplied to create a namespace resource. :type parameters: ~azure.mgmt.servicebus.models.SBNamespace :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: An instance of AzureOperationPoller that returns SBNamespace - or ClientRawResponse if raw=true + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns SBNamespace or + ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.servicebus.models.SBNamespace] - or ~msrest.pipeline.ClientRawResponse + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.servicebus.models.SBNamespace]] :raises: :class:`ErrorResponseException` """ @@ -318,28 +321,8 @@ def create_or_update( raw=True, **operation_config ) - if raw: - return raw_result - - # Construct and send request - def long_running_send(): - return raw_result.response - - def get_long_running_status(status_link, headers=None): - - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - header_parameters = {} - header_parameters['x-ms-client-request-id'] = raw_result.response.request.headers['x-ms-client-request-id'] - return self._client.send( - request, header_parameters, stream=False, **operation_config) def get_long_running_output(response): - - if response.status_code not in [200, 201, 202]: - raise models.ErrorResponseException(self._deserialize, response) - deserialized = self._deserialize('SBNamespace', response) if raw: @@ -348,12 +331,13 @@ def get_long_running_output(response): return deserialized - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} @@ -394,7 +378,7 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, custom_headers=None, raw=False, polling=True, **operation_config): """Deletes an existing namespace. This operation also removes all associated resources under the namespace. @@ -404,12 +388,14 @@ def delete( :param namespace_name: The namespace name :type namespace_name: str :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: An instance of AzureOperationPoller that returns None or - ClientRawResponse if raw=true + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrest.pipeline.ClientRawResponse + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: :class:`ErrorResponseException` """ @@ -420,38 +406,19 @@ def delete( raw=True, **operation_config ) - if raw: - return raw_result - - # Construct and send request - def long_running_send(): - return raw_result.response - - def get_long_running_status(status_link, headers=None): - - request = self._client.get(status_link) - if headers: - request.headers.update(headers) - header_parameters = {} - header_parameters['x-ms-client-request-id'] = raw_result.response.request.headers['x-ms-client-request-id'] - return self._client.send( - request, header_parameters, stream=False, **operation_config) def get_long_running_output(response): - - if response.status_code not in [200, 202, 204]: - raise models.ErrorResponseException(self._deserialize, response) - if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response - long_running_operation_timeout = operation_config.get( + lro_delay = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) - return AzureOperationPoller( - long_running_send, get_long_running_output, - get_long_running_status, long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}'} def get( From 97d270c01a3adfe4241af728a1a54da334a0e6f2 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 26 Mar 2018 14:34:59 -0700 Subject: [PATCH 3/8] Generated from cb47714a72869d9271ef4a750f5997d4d070aaf2 (#2282) removed 'enableSubscriptionPartitioning' depricated property --- .../azure/mgmt/servicebus/models/correlation_filter.py | 4 ---- .../azure/mgmt/servicebus/models/correlation_filter_py3.py | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py index dfb1585de553..0240fa3e10fd 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py @@ -15,8 +15,6 @@ class CorrelationFilter(Model): """Represents the correlation filter expression. - :param properties: dictionary object for custom filters - :type properties: dict[str, str] :param correlation_id: Identifier of the correlation. :type correlation_id: str :param message_id: Identifier of the message. @@ -39,7 +37,6 @@ class CorrelationFilter(Model): """ _attribute_map = { - 'properties': {'key': 'properties', 'type': '{str}'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'to': {'key': 'to', 'type': 'str'}, @@ -53,7 +50,6 @@ class CorrelationFilter(Model): def __init__(self, **kwargs): super(CorrelationFilter, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) self.correlation_id = kwargs.get('correlation_id', None) self.message_id = kwargs.get('message_id', None) self.to = kwargs.get('to', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py index a611bad640f0..9132a8229287 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py @@ -15,8 +15,6 @@ class CorrelationFilter(Model): """Represents the correlation filter expression. - :param properties: dictionary object for custom filters - :type properties: dict[str, str] :param correlation_id: Identifier of the correlation. :type correlation_id: str :param message_id: Identifier of the message. @@ -39,7 +37,6 @@ class CorrelationFilter(Model): """ _attribute_map = { - 'properties': {'key': 'properties', 'type': '{str}'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'to': {'key': 'to', 'type': 'str'}, @@ -51,9 +48,8 @@ class CorrelationFilter(Model): 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, } - def __init__(self, *, properties=None, correlation_id: str=None, message_id: str=None, to: str=None, reply_to: str=None, label: str=None, session_id: str=None, reply_to_session_id: str=None, content_type: str=None, requires_preprocessing: bool=True, **kwargs) -> None: + def __init__(self, *, correlation_id: str=None, message_id: str=None, to: str=None, reply_to: str=None, label: str=None, session_id: str=None, reply_to_session_id: str=None, content_type: str=None, requires_preprocessing: bool=True, **kwargs) -> None: super(CorrelationFilter, self).__init__(**kwargs) - self.properties = properties self.correlation_id = correlation_id self.message_id = message_id self.to = to From b7bf51888f75ccb859cfc1f7f39a2ec12752910e Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 4 Apr 2018 16:23:45 -0700 Subject: [PATCH 4/8] Update version.py --- azure-mgmt-servicebus/azure/mgmt/servicebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py index 5c2dbfde66c5..266f5a486d79 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2017-04-01" +VERSION = "0.5.0" From 5c4b214968b7fbed3d9d4d6004a5b2c7bd242a58 Mon Sep 17 00:00:00 2001 From: Ajit Navasare Date: Mon, 23 Apr 2018 17:56:46 -0700 Subject: [PATCH 5/8] test fixes (#2357) * Generated from 53d1a0f7b7527828b2cdec46ed4fe3af768b11f4 (#1946) updated POST opretions for Authorization rules for Queues and Topics * Generated from eb292024b547ba2920c6cbe2231e8ee44a2c71ef (#2049) Added enableBatchedOperations property to ServiceBus Queue * Fix double azure-common install that breaks bdist_wheel * Generated from bc96045bf6a0e056903d0a2d798202ff9bd05165 (#2249) added 'properties' to corelationfilter * Generated from cb47714a72869d9271ef4a750f5997d4d070aaf2 (#2282) removed 'enableSubscriptionPartitioning' depricated property * Update version.py * Updated Tests --- ...ilability.test_sb_namespace_available.yaml | 13 +- ...ebus_namespace.test_sb_namespace_curd.yaml | 1370 +++++++++++++++-- ...t_servicebus_queue.test_sb_queue_curd.yaml | 296 ++-- ...t_servicebus_topic.test_sb_topic_curd.yaml | 294 ++-- ...ubscription.test_sb_subscription_curd.yaml | 234 +-- ...c_subscription_rule.test_sb_rule_curd.yaml | 250 +-- .../test_azure_mgmt_servicebus_namespace.py | 10 +- .../tests/test_azure_mgmt_servicebus_queue.py | 10 +- .../tests/test_azure_mgmt_servicebus_topic.py | 6 +- ...zure_mgmt_servicebus_topic_subscription.py | 6 +- ...mgmt_servicebus_topic_subscription_rule.py | 20 +- 11 files changed, 1830 insertions(+), 679 deletions(-) diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_check_name_availability.test_sb_namespace_available.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_check_name_availability.test_sb_namespace_available.yaml index 36130048a467..acc17ce6c50d 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_check_name_availability.test_sb_namespace_available.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_check_name_availability.test_sb_namespace_available.yaml @@ -7,8 +7,8 @@ interactions: Connection: [keep-alive] Content-Length: ['44'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceBus/CheckNameAvailability?api-version=2017-04-01 @@ -18,14 +18,15 @@ interactions: cache-control: [no-cache] content-length: ['53'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:28:18 GMT'] + date: ['Sat, 21 Apr 2018 00:30:31 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_namespace.test_sb_namespace_curd.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_namespace.test_sb_namespace_curd.yaml index 84d25e6b8077..eac55b5a3fd2 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_namespace.test_sb_namespace_curd.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_namespace.test_sb_namespace_curd.yaml @@ -8,27 +8,55 @@ interactions: Connection: [keep-alive] Content-Length: ['97'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2017-11-01T00:12:14.07Z","updatedAt":"2017-11-01T00:12:14.07Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2018-04-21T00:27:30.67Z","updatedAt":"2018-04-21T00:27:30.67Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}'} headers: cache-control: [no-cache] - content-length: ['695'] + content-length: ['717'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:12:15 GMT'] + date: ['Sat, 21 Apr 2018 00:27:31 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 + response: + body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.ServiceBus/Namespaces","location":"West + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2018-04-21T00:27:30.67Z","updatedAt":"2018-04-21T00:27:54.417Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}'} + headers: + cache-control: [no-cache] + content-length: ['716'] + content-type: [application/json; charset=utf-8] + date: ['Sat, 21 Apr 2018 00:28:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -37,26 +65,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2017-11-01T00:12:14.07Z","updatedAt":"2017-11-01T00:12:14.07Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2018-04-21T00:27:30.67Z","updatedAt":"2018-04-21T00:27:54.417Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['695'] + content-length: ['716'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:12:31 GMT'] + date: ['Sat, 21 Apr 2018 00:28:01 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -65,26 +94,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces?api-version=2017-04-01 response: body: {string: '{"value":[{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2017-11-01T00:12:14.07Z","updatedAt":"2017-11-01T00:12:14.07Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/"}}]}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2018-04-21T00:27:30.67Z","updatedAt":"2018-04-21T00:27:54.417Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}]}'} headers: cache-control: [no-cache] - content-length: ['707'] + content-length: ['728'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:12:32 GMT'] + date: ['Sat, 21 Apr 2018 00:28:02 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -93,49 +123,1097 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceBus/namespaces?api-version=2017-04-01 response: - body: {string: '{"value":[{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk8578/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk3587","name":"SBNamespace-onesdk3587","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk3587","createdAt":"2017-10-17T23:49:52.647Z","updatedAt":"2017-10-17T23:50:52.84Z","serviceBusEndpoint":"https://SBNamespace-onesdk3587.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2017-11-01T00:12:14.07Z","updatedAt":"2017-11-01T00:12:14.07Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk2439/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk5876","name":"SBNamespace-onesdk5876","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk5876","createdAt":"2017-10-18T00:15:47.633Z","updatedAt":"2017-10-18T00:16:46.08Z","serviceBusEndpoint":"https://SBNamespace-onesdk5876.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ServiceBus-Namespace-onesdk3170","name":"ServiceBus-Namespace-onesdk3170","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:servicebus-namespace-onesdk3170","createdAt":"2017-10-16T23:44:57.887Z","updatedAt":"2017-10-16T23:57:02.303Z","serviceBusEndpoint":"https://ServiceBus-Namespace-onesdk3170.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-228","name":"sdk-Namespace-228","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-228","createdAt":"2017-10-31T17:12:21.467Z","updatedAt":"2017-10-31T17:15:20.197Z","serviceBusEndpoint":"https://sdk-Namespace-228.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk5479/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk652","name":"SBNamespace-onesdk652","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk652","createdAt":"2017-10-18T00:00:10.7Z","updatedAt":"2017-10-18T00:00:34.297Z","serviceBusEndpoint":"https://SBNamespace-onesdk652.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myFluentResourceGroup/providers/Microsoft.ServiceBus/namespaces/test-namespace-hahaa","name":"test-namespace-hahaa","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:test-namespace-hahaa","createdAt":"2017-08-11T23:21:18.69Z","updatedAt":"2017-08-11T23:34:24.543Z","serviceBusEndpoint":"https://test-namespace-hahaa.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk5446/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk8721","name":"SBNamespace-onesdk8721","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk8721","createdAt":"2017-10-17T23:19:44.073Z","updatedAt":"2017-10-17T23:20:46.787Z","serviceBusEndpoint":"https://SBNamespace-onesdk8721.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6718","name":"sdk-Namespace-6718","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-6718","createdAt":"2017-10-23T18:00:41.033Z","updatedAt":"2017-10-23T18:02:34.053Z","serviceBusEndpoint":"https://sdk-Namespace-6718.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ServiceBus-Namespace-onesdk1901","name":"ServiceBus-Namespace-onesdk1901","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:servicebus-namespace-onesdk1901","createdAt":"2017-10-17T00:01:02.55Z","updatedAt":"2017-10-17T00:49:44.763Z","serviceBusEndpoint":"https://ServiceBus-Namespace-onesdk1901.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5855","name":"sdk-Namespace-5855","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-5855","createdAt":"2017-10-30T17:24:30.95Z","updatedAt":"2017-10-30T17:27:39.917Z","serviceBusEndpoint":"https://sdk-Namespace-5855.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ServiceBus-Namespace-onesdk5279","name":"ServiceBus-Namespace-onesdk5279","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:servicebus-namespace-onesdk5279","createdAt":"2017-10-16T23:35:45.913Z","updatedAt":"2017-10-16T23:43:36.183Z","serviceBusEndpoint":"https://ServiceBus-Namespace-onesdk5279.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7302","name":"sdk-Namespace-7302","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-7302","createdAt":"2017-09-23T02:34:15.73Z","updatedAt":"2017-09-23T02:35:50.27Z","serviceBusEndpoint":"https://sdk-Namespace-7302.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2665","name":"sdk-Namespace-2665","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-2665","createdAt":"2017-09-23T02:32:26.777Z","updatedAt":"2017-09-23T02:34:08.663Z","serviceBusEndpoint":"https://sdk-Namespace-2665.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk4369/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk2962","name":"SBNamespace-onesdk2962","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk2962","createdAt":"2017-10-17T23:26:53.27Z","updatedAt":"2017-10-17T23:27:13.987Z","serviceBusEndpoint":"https://SBNamespace-onesdk2962.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ServiceBus-Namespace-onesdk1768","name":"ServiceBus-Namespace-onesdk1768","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:servicebus-namespace-onesdk1768","createdAt":"2017-10-16T23:46:52.95Z","updatedAt":"2017-10-17T00:04:50.35Z","serviceBusEndpoint":"https://ServiceBus-Namespace-onesdk1768.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk6227/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk596","name":"SBNamespace-onesdk596","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk596","createdAt":"2017-10-17T23:42:07.263Z","updatedAt":"2017-10-17T23:42:32.407Z","serviceBusEndpoint":"https://SBNamespace-onesdk596.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk1961/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk6430","name":"SBNamespace-onesdk6430","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk6430","createdAt":"2017-10-17T23:52:50.24Z","updatedAt":"2017-10-17T23:53:12.97Z","serviceBusEndpoint":"https://SBNamespace-onesdk6430.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9576","name":"sdk-Namespace-9576","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-9576","createdAt":"2017-10-31T17:24:53.367Z","updatedAt":"2017-10-31T17:28:05.523Z","serviceBusEndpoint":"https://sdk-Namespace-9576.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ServiceBus-Namespace-onesdk4537","name":"ServiceBus-Namespace-onesdk4537","type":"Microsoft.ServiceBus/Namespaces","location":"South - Central US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:servicebus-namespace-onesdk4537","createdAt":"2017-10-17T00:03:52.927Z","updatedAt":"2017-10-17T01:07:23.677Z","serviceBusEndpoint":"https://ServiceBus-Namespace-onesdk4537.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk2837/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk5115","name":"SBNamespace-onesdk5115","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk5115","createdAt":"2017-10-17T23:51:06.473Z","updatedAt":"2017-10-17T23:51:29.977Z","serviceBusEndpoint":"https://SBNamespace-onesdk5115.servicebus.windows.net:443/"}},{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5120","name":"sdk-Namespace-5120","type":"Microsoft.ServiceBus/Namespaces","location":"Australia - East","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sdk-namespace-5120","createdAt":"2017-09-23T02:36:33.483Z","updatedAt":"2017-09-23T02:38:33.347Z","serviceBusEndpoint":"https://sdk-Namespace-5120.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk2533/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk6807","name":"SBNamespace-onesdk6807","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk6807","createdAt":"2017-10-18T00:01:57.653Z","updatedAt":"2017-10-18T00:02:20.307Z","serviceBusEndpoint":"https://SBNamespace-onesdk6807.servicebus.windows.net:443/"}},{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RGName-onesdk1505/providers/Microsoft.ServiceBus/namespaces/SBNamespace-onesdk5252","name":"SBNamespace-onesdk5252","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:sbnamespace-onesdk5252","createdAt":"2017-10-17T23:21:13.357Z","updatedAt":"2017-10-17T23:21:37.357Z","serviceBusEndpoint":"https://SBNamespace-onesdk5252.servicebus.windows.net:443/"}}]}'} + body: {string: "{\"value\":[{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestEurope/providers/Microsoft.ServiceBus/namespaces/quicktest-sbe2\"\ + ,\"name\":\"quicktest-sbe2\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:quicktest-sbe2\"\ + ,\"createdAt\":\"2015-10-01T17:49:41.35Z\",\"updatedAt\":\"2017-08-09T20:15:07.987Z\"\ + ,\"serviceBusEndpoint\":\"https://quicktest-sbe2.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/MassiveSB\"\ + ,\"name\":\"MassiveSB\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:massivesb\",\"createdAt\"\ + :\"2016-10-31T21:03:32.36Z\",\"updatedAt\":\"2017-08-17T21:35:02.51Z\",\"\ + serviceBusEndpoint\":\"https://MassiveSB.servicebus.windows.net:443/\",\"\ + status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-CentralUS/providers/Microsoft.ServiceBus/namespaces/rrama-dm2-011-createlatency\"\ + ,\"name\":\"rrama-dm2-011-createlatency\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-dm2-011-createlatency\"\ + ,\"createdAt\":\"2017-08-16T16:59:51.647Z\",\"updatedAt\":\"2017-08-17T21:58:31.533Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-dm2-011-createlatency.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SoutheastAsia/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-southeast-asia\"\ + ,\"name\":\"sbgm-testns-prod-southeast-asia\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Southeast Asia\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-southeast-asia\"\ + ,\"createdAt\":\"2015-06-16T21:25:43.823Z\",\"updatedAt\":\"2017-08-22T17:14:36.883Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-southeast-asia.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ardsouza-resourcemovetest-group2/providers/Microsoft.ServiceBus/namespaces/ardsouza-5-11-movetest-SBNamespace\"\ + ,\"name\":\"ardsouza-5-11-movetest-SBNamespace\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-5-11-movetest-sbnamespace\"\ + ,\"createdAt\":\"2017-05-11T23:04:08.75Z\",\"updatedAt\":\"2017-08-25T02:17:31.693Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-5-11-movetest-SBNamespace.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutestgrp/providers/Microsoft.ServiceBus/namespaces/testvinsustd928\"\ + ,\"name\":\"testvinsustd928\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Brazil South\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsustd928\"\ + ,\"createdAt\":\"2015-09-29T01:56:34.36Z\",\"updatedAt\":\"2017-08-15T23:15:17.073Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsustd928.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-12-9\"\ + ,\"name\":\"ardsouza-12-9\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-12-9\"\ + ,\"createdAt\":\"2017-12-09T22:36:39.203Z\",\"updatedAt\":\"2017-12-09T22:39:28.777Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-12-9.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":4},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/newVinsu/providers/Microsoft.ServiceBus/namespaces/testvinsuWatsonIssue\"\ + ,\"name\":\"testvinsuWatsonIssue\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsuwatsonissue\"\ + ,\"createdAt\":\"2016-10-31T19:32:04.88Z\",\"updatedAt\":\"2016-10-31T19:32:52.853Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsuWatsonIssue.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-CentralUS/providers/Microsoft.ServiceBus/namespaces/rrama-ind-premrepro\"\ + ,\"name\":\"rrama-ind-premrepro\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South India\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-ind-premrepro\"\ + ,\"createdAt\":\"2017-06-21T17:18:26.42Z\",\"updatedAt\":\"2017-08-15T18:51:09.393Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-ind-premrepro.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/msatestns2\"\ + ,\"name\":\"msatestns2\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"West Central US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:msatestns2\"\ + ,\"createdAt\":\"2017-09-15T23:36:00.15Z\",\"updatedAt\":\"2017-09-15T23:37:19.307Z\"\ + ,\"serviceBusEndpoint\":\"https://msatestns2.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/\xE4\ + group/providers/Microsoft.ServiceBus/namespaces/slacktype\",\"name\":\"slacktype\"\ + ,\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\":\"Central US\"\ + ,\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\",\"metricId\"\ + :\"00000000-0000-0000-0000-000000000000:slacktype\",\"createdAt\":\"2017-04-06T17:33:55.433Z\"\ + ,\"updatedAt\":\"2017-08-17T21:49:43.89Z\",\"serviceBusEndpoint\":\"https://slacktype.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vijayjavaclient/providers/Microsoft.ServiceBus/namespaces/vijayjavaclient\"\ + ,\"name\":\"vijayjavaclient\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vijayjavaclient\"\ + ,\"createdAt\":\"2016-10-19T21:43:01.853Z\",\"updatedAt\":\"2017-08-17T21:28:49.553Z\"\ + ,\"serviceBusEndpoint\":\"https://vijayjavaclient.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1921-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1921-ns\"\ + ,\"name\":\"sb-dotnet-av-1921-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1921-ns\"\ + ,\"createdAt\":\"2017-08-03T01:36:14.313Z\",\"updatedAt\":\"2017-08-03T01:36:41.58Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1921-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1971-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1971-ns\"\ + ,\"name\":\"sb-dotnet-av-1971-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1971-ns\"\ + ,\"createdAt\":\"2017-08-03T17:15:33.937Z\",\"updatedAt\":\"2017-08-03T17:15:56.47Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1971-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1431-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1431-ns\"\ + ,\"name\":\"sb-dotnet-av-1431-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1431-ns\"\ + ,\"createdAt\":\"2017-07-19T23:50:49.357Z\",\"updatedAt\":\"2017-07-19T23:51:15.73Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1431-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alitest/providers/Microsoft.ServiceBus/namespaces/sbusns-secondary-ali\"\ + ,\"name\":\"sbusns-secondary-ali\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbusns-secondary-ali\"\ + ,\"createdAt\":\"2018-02-28T19:56:20.963Z\",\"updatedAt\":\"2018-03-13T16:53:12.613Z\"\ + ,\"serviceBusEndpoint\":\"https://sbusns-secondary-ali.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-NorthCentralUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-north-central-us\"\ + ,\"name\":\"sbgm-testns-prod-north-central-us\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-north-central-us\"\ + ,\"createdAt\":\"2015-06-16T21:20:53.3Z\",\"updatedAt\":\"2017-01-12T23:23:59.237Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-north-central-us.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-5211-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-5211-ns\"\ + ,\"name\":\"sb-dotnet-av-5211-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-5211-ns\"\ + ,\"createdAt\":\"2018-04-20T00:38:10.65Z\",\"updatedAt\":\"2018-04-20T00:38:34.013Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-5211-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaSoutheast/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-australia-southeast\"\ + ,\"name\":\"sbgm-testns-prod-australia-southeast\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia Southeast\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-australia-southeast\"\ + ,\"createdAt\":\"2015-06-16T21:21:04.137Z\",\"updatedAt\":\"2017-08-15T22:01:28.533Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-australia-southeast.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-NorthEurope/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-north-europe\"\ + ,\"name\":\"sbgm-testns-prod-north-europe\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-north-europe\"\ + ,\"createdAt\":\"2015-06-16T21:23:19.077Z\",\"updatedAt\":\"2017-08-24T22:23:51.167Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-north-europe.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5384\"\ + ,\"name\":\"sdk-Namespace-5384\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-5384\"\ + ,\"createdAt\":\"2017-08-09T03:38:18.78Z\",\"updatedAt\":\"2017-08-17T20:51:01.44Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-5384.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/BlockFrancoWriteFromThisNamespace\"\ + ,\"name\":\"BlockFrancoWriteFromThisNamespace\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:blockfrancowritefromthisnamespace\"\ + ,\"createdAt\":\"2017-10-26T21:24:20.907Z\",\"updatedAt\":\"2017-10-26T21:24:48.63Z\"\ + ,\"serviceBusEndpoint\":\"https://BlockFrancoWriteFromThisNamespace.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestEurope/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-west-europe\"\ + ,\"name\":\"sbgm-testns-prod-west-europe\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-west-europe\"\ + ,\"createdAt\":\"2015-06-16T21:24:15.37Z\",\"updatedAt\":\"2017-08-09T19:47:10.35Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-west-europe.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-811-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-811-ns\"\ + ,\"name\":\"sb-dotnet-av-811-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-811-ns\"\ + ,\"createdAt\":\"2017-07-01T06:59:45.367Z\",\"updatedAt\":\"2017-07-01T07:00:13.087Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-811-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/ardsouza-crudtest-2-11-2018\"\ + ,\"name\":\"ardsouza-crudtest-2-11-2018\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-crudtest-2-11-2018\"\ + ,\"createdAt\":\"2018-02-12T00:21:08.58Z\",\"updatedAt\":\"2018-02-12T00:21:32.967Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-crudtest-2-11-2018.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-east-us\"\ + ,\"name\":\"sbgm-testns-prod-east-us\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-east-us\"\ + ,\"createdAt\":\"2015-06-16T21:18:41.58Z\",\"updatedAt\":\"2017-01-12T23:23:42.847Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-east-us.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-JapanWest/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-japan-west\"\ + ,\"name\":\"sbgm-testns-prod-japan-west\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Japan West\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-japan-west\"\ + ,\"createdAt\":\"2015-06-16T21:28:52.083Z\",\"updatedAt\":\"2017-08-17T23:51:22.437Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-japan-west.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4702-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4702-ns\"\ + ,\"name\":\"sb-dotnet-av-4702-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4702-ns\"\ + ,\"createdAt\":\"2018-01-11T01:52:58.307Z\",\"updatedAt\":\"2018-01-11T01:53:25.38Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4702-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-5231-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-5231-ns\"\ + ,\"name\":\"sb-dotnet-av-5231-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-5231-ns\"\ + ,\"createdAt\":\"2018-04-20T01:50:05.41Z\",\"updatedAt\":\"2018-04-20T01:50:30.14Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-5231-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/rrama-ns-8-23\"\ + ,\"name\":\"rrama-ns-8-23\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-ns-8-23\"\ + ,\"createdAt\":\"2016-08-23T20:48:45.577Z\",\"updatedAt\":\"2017-08-25T01:17:00.177Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-ns-8-23.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nemakam/providers/Microsoft.ServiceBus/namespaces/nemakamtest1\"\ + ,\"name\":\"nemakamtest1\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US 2\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:nemakamtest1\"\ + ,\"createdAt\":\"2017-01-03T23:45:59.5Z\",\"updatedAt\":\"2017-08-17T22:03:35.653Z\"\ + ,\"serviceBusEndpoint\":\"https://nemakamtest1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-NorthEurope/providers/Microsoft.ServiceBus/namespaces/quicktest-sbe\"\ + ,\"name\":\"quicktest-sbe\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"North Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:quicktest-sbe\"\ + ,\"createdAt\":\"2015-10-01T17:47:51.28Z\",\"updatedAt\":\"2017-01-12T23:24:44.033Z\"\ + ,\"serviceBusEndpoint\":\"https://quicktest-sbe.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-JapanEast/providers/Microsoft.ServiceBus/namespaces/testvinsukw918\"\ + ,\"name\":\"testvinsukw918\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Japan East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsukw918\"\ + ,\"createdAt\":\"2015-09-18T20:49:16.85Z\",\"updatedAt\":\"2017-08-16T03:43:27.323Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsukw918.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2690\"\ + ,\"name\":\"sdk-Namespace-2690\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-2690\"\ + ,\"createdAt\":\"2017-08-09T23:33:00.2Z\",\"updatedAt\":\"2017-08-17T20:52:24.153Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-2690.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/newVinsu/providers/Microsoft.ServiceBus/namespaces/vinsuamqpsqlperftest314\"\ + ,\"name\":\"vinsuamqpsqlperftest314\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vinsuamqpsqlperftest314\"\ + ,\"createdAt\":\"2017-03-14T17:40:15.657Z\",\"updatedAt\":\"2017-08-23T20:01:51.8Z\"\ + ,\"serviceBusEndpoint\":\"https://vinsuamqpsqlperftest314.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4411-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4411-ns\"\ + ,\"name\":\"sb-dotnet-av-4411-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4411-ns\"\ + ,\"createdAt\":\"2017-12-15T00:12:31.82Z\",\"updatedAt\":\"2017-12-15T00:12:55.42Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4411-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-2352-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-2352-ns\"\ + ,\"name\":\"sb-dotnet-av-2352-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-2352-ns\"\ + ,\"createdAt\":\"2017-08-11T16:10:27.7Z\",\"updatedAt\":\"2017-08-11T16:10:53.8Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-2352-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/testpartition\"\ + ,\"name\":\"testpartition\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testpartition\"\ + ,\"createdAt\":\"2016-10-19T00:19:15.623Z\",\"updatedAt\":\"2017-08-25T01:33:48.217Z\"\ + ,\"serviceBusEndpoint\":\"https://testpartition.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-781-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-781-ns\"\ + ,\"name\":\"sb-dotnet-av-781-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-781-ns\"\ + ,\"createdAt\":\"2017-06-30T21:53:15.56Z\",\"updatedAt\":\"2017-06-30T21:53:38.45Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-781-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-5131-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-5131-ns\"\ + ,\"name\":\"sb-dotnet-av-5131-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-5131-ns\"\ + ,\"createdAt\":\"2018-04-02T23:14:14.907Z\",\"updatedAt\":\"2018-04-02T23:14:38.003Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-5131-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RichardTestGroup/providers/Microsoft.ServiceBus/namespaces/aaa-001\"\ + ,\"name\":\"aaa-001\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:aaa-001\",\"createdAt\"\ + :\"2017-05-11T19:42:23.74Z\",\"updatedAt\":\"2017-08-25T02:17:30.693Z\",\"\ + serviceBusEndpoint\":\"https://aaa-001.servicebus.windows.net:443/\",\"status\"\ + :\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"},\"id\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-2221-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-2221-ns\"\ + ,\"name\":\"sb-dotnet-av-2221-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-2221-ns\"\ + ,\"createdAt\":\"2017-08-10T06:08:29.383Z\",\"updatedAt\":\"2017-08-10T06:08:56.89Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-2221-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AAA-Default-ServiceBus-NewRegions-Testing/providers/Microsoft.ServiceBus/namespaces/Ardsouza-Canada-EastTest\"\ + ,\"name\":\"Ardsouza-Canada-EastTest\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Canada East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-canada-easttest\"\ + ,\"createdAt\":\"2017-05-02T19:38:28.617Z\",\"updatedAt\":\"2017-08-22T16:57:53.587Z\"\ + ,\"serviceBusEndpoint\":\"https://Ardsouza-Canada-EastTest.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-3291-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-3291-ns\"\ + ,\"name\":\"sb-dotnet-av-3291-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-3291-ns\"\ + ,\"createdAt\":\"2017-09-16T00:15:22.96Z\",\"updatedAt\":\"2017-09-16T00:15:47.757Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-3291-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TestingthePwr2017\"\ + ,\"name\":\"TestingthePwr2017\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingthepwr2017\"\ + ,\"createdAt\":\"2017-07-23T23:34:02.043Z\",\"updatedAt\":\"2017-07-23T23:34:27.567Z\"\ + ,\"serviceBusEndpoint\":\"https://TestingthePwr2017.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-91-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-91-ns\"\ + ,\"name\":\"sb-dotnet-av-91-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-91-ns\"\ + ,\"createdAt\":\"2017-06-02T21:53:09.447Z\",\"updatedAt\":\"2017-06-02T21:53:31.99Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-91-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TestingRCPwr201711\"\ + ,\"name\":\"TestingRCPwr201711\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingrcpwr201711\"\ + ,\"createdAt\":\"2017-08-08T17:09:26.94Z\",\"updatedAt\":\"2017-08-08T17:11:13.497Z\"\ + ,\"serviceBusEndpoint\":\"https://TestingRCPwr201711.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutest15/providers/Microsoft.ServiceBus/namespaces/vinsuafterSendFix\"\ + ,\"name\":\"vinsuafterSendFix\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vinsuaftersendfix\"\ + ,\"createdAt\":\"2017-01-21T02:37:11.79Z\",\"updatedAt\":\"2017-08-25T01:49:28.46Z\"\ + ,\"serviceBusEndpoint\":\"https://vinsuafterSendFix.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4381-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4381-ns\"\ + ,\"name\":\"sb-dotnet-av-4381-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4381-ns\"\ + ,\"createdAt\":\"2017-12-14T20:48:32.503Z\",\"updatedAt\":\"2017-12-14T20:48:57.247Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4381-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-CentralIndia/providers/Microsoft.ServiceBus/namespaces/rrama-upgradetest\"\ + ,\"name\":\"rrama-upgradetest\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-upgradetest\"\ + ,\"createdAt\":\"2017-06-02T00:29:37.667Z\",\"updatedAt\":\"2017-06-02T00:29:59.72Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-upgradetest.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-2201-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-2201-ns\"\ + ,\"name\":\"sb-dotnet-av-2201-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-2201-ns\"\ + ,\"createdAt\":\"2017-08-10T04:30:13.05Z\",\"updatedAt\":\"2017-08-10T04:30:38.317Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-2201-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutest/providers/Microsoft.ServiceBus/namespaces/partOnBasic\"\ + ,\"name\":\"partOnBasic\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:partonbasic\"\ + ,\"createdAt\":\"2016-12-14T22:59:00.21Z\",\"updatedAt\":\"2017-08-25T16:57:09.9Z\"\ + ,\"serviceBusEndpoint\":\"https://partOnBasic.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4342-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4342-ns\"\ + ,\"name\":\"sb-dotnet-av-4342-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4342-ns\"\ + ,\"createdAt\":\"2017-12-14T00:31:45.843Z\",\"updatedAt\":\"2017-12-14T00:32:13.4Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4342-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-292-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-292-ns\"\ + ,\"name\":\"sb-dotnet-av-292-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-292-ns\"\ + ,\"createdAt\":\"2017-06-15T23:33:08.713Z\",\"updatedAt\":\"2017-06-15T23:33:29.027Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-292-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-3201-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-3201-ns\"\ + ,\"name\":\"sb-dotnet-av-3201-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-3201-ns\"\ + ,\"createdAt\":\"2017-09-14T22:09:43.817Z\",\"updatedAt\":\"2017-09-14T22:10:06.693Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-3201-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2455\"\ + ,\"name\":\"sdk-Namespace-2455\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-2455\"\ + ,\"createdAt\":\"2017-08-16T00:31:53.02Z\",\"updatedAt\":\"2017-08-17T20:55:39.073Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-2455.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AkkaTesting/providers/Microsoft.ServiceBus/namespaces/abhigarg-testns1\"\ + ,\"name\":\"abhigarg-testns1\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:abhigarg-testns1\"\ + ,\"createdAt\":\"2018-03-01T00:20:01.927Z\",\"updatedAt\":\"2018-03-01T00:20:30.91Z\"\ + ,\"serviceBusEndpoint\":\"https://abhigarg-testns1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mysamplesvtest/providers/Microsoft.ServiceBus/namespaces/sampleeh\"\ + ,\"name\":\"sampleeh\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:sampleeh\",\"createdAt\"\ + :\"2016-08-08T17:00:25.86Z\",\"updatedAt\":\"2017-08-17T21:25:15.643Z\",\"\ + serviceBusEndpoint\":\"https://sampleeh.servicebus.windows.net:443/\",\"status\"\ + :\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"},\"id\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4781-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4781-ns\"\ + ,\"name\":\"sb-dotnet-av-4781-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4781-ns\"\ + ,\"createdAt\":\"2018-02-13T01:49:53.82Z\",\"updatedAt\":\"2018-02-13T01:50:20.427Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4781-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-CentralIndia/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-central-india\"\ + ,\"name\":\"sbgm-testns-prod-central-india\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central India\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Created\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-central-india\"\ + ,\"createdAt\":\"2015-09-25T18:52:18.553Z\",\"updatedAt\":\"2017-01-12T23:24:34.61Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-central-india.servicebus.windows.net:443/\"\ + ,\"status\":\"Activating\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4631-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4631-ns\"\ + ,\"name\":\"sb-dotnet-av-4631-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4631-ns\"\ + ,\"createdAt\":\"2017-12-15T20:10:07.88Z\",\"updatedAt\":\"2017-12-15T20:10:32.637Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4631-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-2291-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-2291-ns\"\ + ,\"name\":\"sb-dotnet-av-2291-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-2291-ns\"\ + ,\"createdAt\":\"2017-08-11T02:37:27.16Z\",\"updatedAt\":\"2017-08-11T02:37:51.697Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-2291-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4571-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4571-ns\"\ + ,\"name\":\"sb-dotnet-av-4571-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4571-ns\"\ + ,\"createdAt\":\"2017-12-15T11:40:40.7Z\",\"updatedAt\":\"2017-12-15T11:41:08.183Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4571-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutestgrp/providers/Microsoft.ServiceBus/namespaces/testvinsubasic924\"\ + ,\"name\":\"testvinsubasic924\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsubasic924\"\ + ,\"createdAt\":\"2015-09-25T00:43:22.303Z\",\"updatedAt\":\"2015-09-25T00:43:28.823Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsubasic924.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinaytest/providers/Microsoft.ServiceBus/namespaces/testvinsuprem928\"\ + ,\"name\":\"testvinsuprem928\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsuprem928\"\ + ,\"createdAt\":\"2015-09-29T02:00:30.503Z\",\"updatedAt\":\"2018-02-02T19:11:10.453Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsuprem928.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinaytest/providers/Microsoft.ServiceBus/namespaces/testvinsubasic928\"\ + ,\"name\":\"testvinsubasic928\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East Asia\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsubasic928\"\ + ,\"createdAt\":\"2015-09-29T01:58:45.487Z\",\"updatedAt\":\"2017-08-03T01:18:41.713Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsubasic928.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-sn1\"\ + ,\"name\":\"sbgm-testns-prod-sn1\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-sn1\"\ + ,\"createdAt\":\"2015-06-16T21:18:20.947Z\",\"updatedAt\":\"2017-01-12T23:23:42.847Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-sn1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-testNS-4-28-5\"\ + ,\"name\":\"ardsouza-testNS-4-28-5\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-testns-4-28-5\"\ + ,\"createdAt\":\"2017-04-29T03:05:38.65Z\",\"updatedAt\":\"2017-08-25T02:11:28.32Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-testNS-4-28-5.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-testNS-4-28-4\"\ + ,\"name\":\"ardsouza-testNS-4-28-4\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-testns-4-28-4\"\ + ,\"createdAt\":\"2017-04-29T02:35:09.907Z\",\"updatedAt\":\"2017-08-25T02:16:57.767Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-testNS-4-28-4.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-testNS-4-28-3\"\ + ,\"name\":\"ardsouza-testNS-4-28-3\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-testns-4-28-3\"\ + ,\"createdAt\":\"2017-04-29T02:22:27.973Z\",\"updatedAt\":\"2017-08-25T02:11:02.937Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-testNS-4-28-3.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-testNS-4-28-2\"\ + ,\"name\":\"ardsouza-testNS-4-28-2\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-testns-4-28-2\"\ + ,\"createdAt\":\"2017-04-29T02:16:41.393Z\",\"updatedAt\":\"2017-08-25T02:11:28.07Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-testNS-4-28-2.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vijayjavaclienttests/providers/Microsoft.ServiceBus/namespaces/vijayaadtest\"\ + ,\"name\":\"vijayaadtest\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"East US 2\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vijayaadtest\"\ + ,\"createdAt\":\"2017-12-15T02:02:38.617Z\",\"updatedAt\":\"2017-12-15T02:03:05.287Z\"\ + ,\"serviceBusEndpoint\":\"https://vijayaadtest.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4812-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4812-ns\"\ + ,\"name\":\"sb-dotnet-av-4812-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4812-ns\"\ + ,\"createdAt\":\"2018-02-13T04:40:11.337Z\",\"updatedAt\":\"2018-02-13T04:40:37.177Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4812-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alitest/providers/Microsoft.ServiceBus/namespaces/alitestsb-1\"\ + ,\"name\":\"alitestsb-1\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:alitestsb-1\"\ + ,\"createdAt\":\"2017-12-07T23:18:52.473Z\",\"updatedAt\":\"2017-12-07T23:20:10.82Z\"\ + ,\"serviceBusEndpoint\":\"https://alitestsb-1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alitest/providers/Microsoft.ServiceBus/namespaces/alitestsb\"\ + ,\"name\":\"alitestsb\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"East US 2\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:alitestsb\",\"createdAt\"\ + :\"2017-11-20T18:24:43.903Z\",\"updatedAt\":\"2017-11-20T18:25:17.637Z\",\"\ + serviceBusEndpoint\":\"https://alitestsb.servicebus.windows.net:443/\",\"\ + status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/binzy-premium\"\ + ,\"name\":\"binzy-premium\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:binzy-premium\"\ + ,\"createdAt\":\"2016-10-03T23:06:39.077Z\",\"updatedAt\":\"2017-12-15T23:59:13.023Z\"\ + ,\"serviceBusEndpoint\":\"https://binzy-premium.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vijaypremiumjavaclienttests/providers/Microsoft.ServiceBus/namespaces/vijaypremiumjavaclienttests\"\ + ,\"name\":\"vijaypremiumjavaclienttests\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vijaypremiumjavaclienttests\"\ + ,\"createdAt\":\"2017-07-11T22:26:21.55Z\",\"updatedAt\":\"2017-07-11T22:27:49.84Z\"\ + ,\"serviceBusEndpoint\":\"https://vijaypremiumjavaclienttests.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-761-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-761-ns\"\ + ,\"name\":\"sb-dotnet-av-761-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-761-ns\"\ + ,\"createdAt\":\"2017-06-30T07:56:03.837Z\",\"updatedAt\":\"2017-06-30T07:56:26.197Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-761-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EventHubGeoDRResourceGroup/providers/Microsoft.ServiceBus/namespaces/sb-geodr-scus-1ardsouza-3-13-2018\"\ + ,\"name\":\"sb-geodr-scus-1ardsouza-3-13-2018\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-geodr-scus-1ardsouza-3-13-2018\"\ + ,\"createdAt\":\"2018-03-13T17:04:46.317Z\",\"updatedAt\":\"2018-03-13T17:16:44.78Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-geodr-scus-1ardsouza-3-13-2018.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-EventHub-BrazilSouth/providers/Microsoft.ServiceBus/namespaces/sampletestns\"\ + ,\"name\":\"sampletestns\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sampletestns\"\ + ,\"createdAt\":\"2017-05-12T17:00:21.603Z\",\"updatedAt\":\"2017-08-25T02:21:02.64Z\"\ + ,\"serviceBusEndpoint\":\"https://sampletestns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-3131-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-3131-ns\"\ + ,\"name\":\"sb-dotnet-av-3131-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-3131-ns\"\ + ,\"createdAt\":\"2017-09-14T21:32:21.263Z\",\"updatedAt\":\"2017-09-14T21:32:46.933Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-3131-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-3191-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-3191-ns\"\ + ,\"name\":\"sb-dotnet-av-3191-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-3191-ns\"\ + ,\"createdAt\":\"2017-09-14T22:07:59.72Z\",\"updatedAt\":\"2017-09-14T22:08:22.42Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-3191-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestResourceGroup/providers/Microsoft.ServiceBus/namespaces/ardsouza-12-10-test\"\ + ,\"name\":\"ardsouza-12-10-test\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-12-10-test\"\ + ,\"createdAt\":\"2017-12-10T17:35:47.113Z\",\"updatedAt\":\"2017-12-10T17:36:28.713Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-12-10-test.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/clemensrbactestmessaging\"\ + ,\"name\":\"clemensrbactestmessaging\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:clemensrbactestmessaging\"\ + ,\"createdAt\":\"2017-11-30T18:11:30.993Z\",\"updatedAt\":\"2017-12-13T17:38:29.58Z\"\ + ,\"serviceBusEndpoint\":\"https://clemensrbactestmessaging.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-5101-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-5101-ns\"\ + ,\"name\":\"sb-dotnet-av-5101-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-5101-ns\"\ + ,\"createdAt\":\"2018-03-30T00:12:33.793Z\",\"updatedAt\":\"2018-03-30T00:12:56.787Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-5101-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TEstingServicebusNamespace\"\ + ,\"name\":\"TEstingServicebusNamespace\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingservicebusnamespace\"\ + ,\"createdAt\":\"2017-07-20T00:33:46.673Z\",\"updatedAt\":\"2017-07-20T00:34:12.827Z\"\ + ,\"serviceBusEndpoint\":\"https://TEstingServicebusNamespace.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TestingArmTeplateAuto\"\ + ,\"name\":\"TestingArmTeplateAuto\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingarmteplateauto\"\ + ,\"createdAt\":\"2018-01-12T23:08:32.84Z\",\"updatedAt\":\"2018-01-12T23:16:12.38Z\"\ + ,\"serviceBusEndpoint\":\"https://TestingArmTeplateAuto.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1055\"\ + ,\"name\":\"sdk-Namespace-1055\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-1055\"\ + ,\"createdAt\":\"2017-08-16T00:39:00.04Z\",\"updatedAt\":\"2017-08-17T20:49:59.757Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-1055.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-testNS-4-28\"\ + ,\"name\":\"ardsouza-testNS-4-28\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-testns-4-28\"\ + ,\"createdAt\":\"2017-04-29T02:07:09.213Z\",\"updatedAt\":\"2017-08-25T02:16:57.05Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-testNS-4-28.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/newVinsu/providers/Microsoft.ServiceBus/namespaces/testdotnetcoreissue122\"\ + ,\"name\":\"testdotnetcoreissue122\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testdotnetcoreissue122\"\ + ,\"createdAt\":\"2017-12-02T22:44:49.697Z\",\"updatedAt\":\"2017-12-02T22:45:43.703Z\"\ + ,\"serviceBusEndpoint\":\"https://testdotnetcoreissue122.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vijayjavaclienttests/providers/Microsoft.ServiceBus/namespaces/vijayjavaclienttests\"\ + ,\"name\":\"vijayjavaclienttests\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:vijayjavaclienttests\"\ + ,\"createdAt\":\"2017-05-26T19:42:19.41Z\",\"updatedAt\":\"2017-08-17T21:51:34.353Z\"\ + ,\"serviceBusEndpoint\":\"https://vijayjavaclienttests.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutestgrp/providers/Microsoft.ServiceBus/namespaces/testvinsuStandard924\"\ + ,\"name\":\"testvinsuStandard924\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testvinsustandard924\"\ + ,\"createdAt\":\"2015-09-25T00:34:59.83Z\",\"updatedAt\":\"2015-09-25T00:35:03.9Z\"\ + ,\"serviceBusEndpoint\":\"https://testvinsuStandard924.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TestingArmTeplateAuto1\"\ + ,\"name\":\"TestingArmTeplateAuto1\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingarmteplateauto1\"\ + ,\"createdAt\":\"2018-01-13T00:03:43.23Z\",\"updatedAt\":\"2018-01-13T00:04:08.823Z\"\ + ,\"serviceBusEndpoint\":\"https://TestingArmTeplateAuto1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EventHubGeoDRResourceGroup/providers/Microsoft.ServiceBus/namespaces/sb-geodr-ncus-1ardsouza-3-13-2018\"\ + ,\"name\":\"sb-geodr-ncus-1ardsouza-3-13-2018\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-geodr-ncus-1ardsouza-3-13-2018\"\ + ,\"createdAt\":\"2018-03-13T17:06:25.38Z\",\"updatedAt\":\"2018-03-13T17:16:41.773Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-geodr-ncus-1ardsouza-3-13-2018.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastAsia/providers/Microsoft.ServiceBus/namespaces/testhkn94\"\ + ,\"name\":\"testhkn94\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"East Asia\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:testhkn94\",\"createdAt\"\ + :\"2015-09-04T12:21:47.223Z\",\"updatedAt\":\"2017-08-03T01:06:19.253Z\",\"\ + serviceBusEndpoint\":\"https://testhkn94.servicebus.windows.net:443/\",\"\ + status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-341-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-341-ns\"\ + ,\"name\":\"sb-dotnet-av-341-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-341-ns\"\ + ,\"createdAt\":\"2017-06-16T23:10:08.27Z\",\"updatedAt\":\"2017-06-16T23:10:33.223Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-341-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-south-central-us\"\ + ,\"name\":\"sbgm-testns-prod-south-central-us\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-south-central-us\"\ + ,\"createdAt\":\"2015-06-16T21:21:58.993Z\",\"updatedAt\":\"2017-08-25T19:57:36.087Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-south-central-us.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TemplateNamspaceAutofwd\"\ + ,\"name\":\"TemplateNamspaceAutofwd\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:templatenamspaceautofwd\"\ + ,\"createdAt\":\"2018-01-13T00:16:40.47Z\",\"updatedAt\":\"2018-01-13T00:17:06.947Z\"\ + ,\"serviceBusEndpoint\":\"https://TemplateNamspaceAutofwd.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1901-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1901-ns\"\ + ,\"name\":\"sb-dotnet-av-1901-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1901-ns\"\ + ,\"createdAt\":\"2017-08-03T01:18:31.183Z\",\"updatedAt\":\"2017-08-03T01:18:58.497Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1901-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-711-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-711-ns\"\ + ,\"name\":\"sb-dotnet-av-711-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-711-ns\"\ + ,\"createdAt\":\"2017-06-30T02:19:49.3Z\",\"updatedAt\":\"2017-06-30T02:20:13.493Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-711-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-2232-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-2232-ns\"\ + ,\"name\":\"sb-dotnet-av-2232-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-2232-ns\"\ + ,\"createdAt\":\"2017-08-10T06:30:30.913Z\",\"updatedAt\":\"2017-08-10T06:30:54.147Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-2232-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1711-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1711-ns\"\ + ,\"name\":\"sb-dotnet-av-1711-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1711-ns\"\ + ,\"createdAt\":\"2017-07-27T22:14:08.153Z\",\"updatedAt\":\"2017-07-27T22:14:31.02Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1711-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace\"\ + ,\"name\":\"testingpythontestcasenamespace\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"\ + },\"properties\":{\"provisioningState\":\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace\"\ + ,\"createdAt\":\"2018-04-21T00:27:30.67Z\",\"updatedAt\":\"2018-04-21T00:27:54.417Z\"\ + ,\"serviceBusEndpoint\":\"https://testingpythontestcasenamespace.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestIndia/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-west-india\"\ + ,\"name\":\"sbgm-testns-prod-west-india\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West India\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-west-india\"\ + ,\"createdAt\":\"2017-01-20T23:53:32.69Z\",\"updatedAt\":\"2017-01-20T23:53:56.937Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-west-india.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dstucki-test-rg-usw/providers/Microsoft.ServiceBus/namespaces/dstucki-sb-usw\"\ + ,\"name\":\"dstucki-sb-usw\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:dstucki-sb-usw\"\ + ,\"createdAt\":\"2018-01-23T19:47:12.25Z\",\"updatedAt\":\"2018-01-30T21:12:01.27Z\"\ + ,\"serviceBusEndpoint\":\"https://dstucki-sb-usw.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.ServiceBus/namespaces/ardsouza-test7-24\"\ + ,\"name\":\"ardsouza-test7-24\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Canada Central\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:ardsouza-test7-24\"\ + ,\"createdAt\":\"2017-07-24T23:34:29.137Z\",\"updatedAt\":\"2017-07-24T23:34:51.3Z\"\ + ,\"serviceBusEndpoint\":\"https://ardsouza-test7-24.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/rrama-8-22\"\ + ,\"name\":\"rrama-8-22\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-8-22\",\"createdAt\"\ + :\"2016-08-22T23:06:13.51Z\",\"updatedAt\":\"2017-08-25T01:15:37.553Z\",\"\ + serviceBusEndpoint\":\"https://rrama-8-22.servicebus.windows.net:443/\",\"\ + status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/binzytest/providers/Microsoft.ServiceBus/namespaces/rrama-ns-8-9\"\ + ,\"name\":\"rrama-ns-8-9\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-ns-8-9\"\ + ,\"createdAt\":\"2016-08-09T23:05:49.883Z\",\"updatedAt\":\"2017-08-25T01:11:13.767Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-ns-8-9.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-731-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-731-ns\"\ + ,\"name\":\"sb-dotnet-av-731-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-731-ns\"\ + ,\"createdAt\":\"2017-06-30T05:16:14.243Z\",\"updatedAt\":\"2017-06-30T05:16:39.583Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-731-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TwitterGroup/providers/Microsoft.ServiceBus/namespaces/saz-test-22\"\ + ,\"name\":\"saz-test-22\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:saz-test-22\"\ + ,\"createdAt\":\"2016-07-06T00:00:07.063Z\",\"updatedAt\":\"2017-08-25T01:06:33.797Z\"\ + ,\"serviceBusEndpoint\":\"https://saz-test-22.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1421-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1421-ns\"\ + ,\"name\":\"sb-dotnet-av-1421-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1421-ns\"\ + ,\"createdAt\":\"2017-07-19T19:41:41.643Z\",\"updatedAt\":\"2017-07-19T19:42:08.99Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1421-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4531-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4531-ns\"\ + ,\"name\":\"sb-dotnet-av-4531-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4531-ns\"\ + ,\"createdAt\":\"2017-12-15T11:21:34.167Z\",\"updatedAt\":\"2017-12-15T11:21:59.73Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4531-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-311-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-311-ns\"\ + ,\"name\":\"sb-dotnet-av-311-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-311-ns\"\ + ,\"createdAt\":\"2017-06-16T00:49:46.527Z\",\"updatedAt\":\"2017-06-16T00:50:07.52Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-311-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/RapscallionsDisabled\"\ + ,\"name\":\"RapscallionsDisabled\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rapscallionsdisabled\"\ + ,\"createdAt\":\"2016-10-06T21:36:02.35Z\",\"updatedAt\":\"2017-08-17T21:28:17.957Z\"\ + ,\"serviceBusEndpoint\":\"https://RapscallionsDisabled.servicebus.windows.net:443/\"\ + ,\"status\":\"Disabled\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-BizTalk-West-US/providers/Microsoft.ServiceBus/namespaces/oiwjoidjojs\"\ + ,\"name\":\"oiwjoidjojs\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:oiwjoidjojs\"\ + ,\"createdAt\":\"2017-04-26T22:26:11.71Z\",\"updatedAt\":\"2017-04-26T22:27:29.077Z\"\ + ,\"serviceBusEndpoint\":\"https://oiwjoidjojs.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4216\"\ + ,\"name\":\"sdk-Namespace-4216\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-4216\"\ + ,\"createdAt\":\"2017-08-09T23:36:40.42Z\",\"updatedAt\":\"2017-08-17T20:47:30.167Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-4216.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4322-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4322-ns\"\ + ,\"name\":\"sb-dotnet-av-4322-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4322-ns\"\ + ,\"createdAt\":\"2017-12-13T19:45:46.753Z\",\"updatedAt\":\"2017-12-13T19:46:10.733Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4322-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4491-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4491-ns\"\ + ,\"name\":\"sb-dotnet-av-4491-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4491-ns\"\ + ,\"createdAt\":\"2017-12-15T09:29:28.107Z\",\"updatedAt\":\"2017-12-15T09:30:05.927Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4491-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Basic\",\"tier\":\"Basic\"},\"\ + id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/Rapscallion\"\ + ,\"name\":\"Rapscallion\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rapscallion\"\ + ,\"createdAt\":\"2016-08-22T23:24:10.64Z\",\"updatedAt\":\"2017-08-17T21:25:41.847Z\"\ + ,\"serviceBusEndpoint\":\"https://Rapscallion.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RapscallionResources/providers/Microsoft.ServiceBus/namespaces/Rapscallions\"\ + ,\"name\":\"Rapscallions\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rapscallions\"\ + ,\"createdAt\":\"2016-08-23T17:41:32.93Z\",\"updatedAt\":\"2017-08-17T21:25:43.197Z\"\ + ,\"serviceBusEndpoint\":\"https://Rapscallions.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4511-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4511-ns\"\ + ,\"name\":\"sb-dotnet-av-4511-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4511-ns\"\ + ,\"createdAt\":\"2017-12-15T10:30:12.217Z\",\"updatedAt\":\"2017-12-15T10:30:40.197Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4511-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-331-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-331-ns\"\ + ,\"name\":\"sb-dotnet-av-331-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-331-ns\"\ + ,\"createdAt\":\"2017-06-16T18:47:43.827Z\",\"updatedAt\":\"2017-06-16T18:48:09.61Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-331-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-1871-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-1871-ns\"\ + ,\"name\":\"sb-dotnet-av-1871-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-1871-ns\"\ + ,\"createdAt\":\"2017-08-02T22:34:52.633Z\",\"updatedAt\":\"2017-08-02T22:35:19.733Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-1871-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-282-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-282-ns\"\ + ,\"name\":\"sb-dotnet-av-282-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-282-ns\"\ + ,\"createdAt\":\"2017-06-15T21:55:36.727Z\",\"updatedAt\":\"2017-06-15T21:55:58.583Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-282-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-3681-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-3681-ns\"\ + ,\"name\":\"sb-dotnet-av-3681-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-3681-ns\"\ + ,\"createdAt\":\"2017-10-07T00:29:31.463Z\",\"updatedAt\":\"2017-10-07T00:29:54.887Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-3681-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alitest/providers/Microsoft.ServiceBus/namespaces/sbns-primary-ali\"\ + ,\"name\":\"sbns-primary-ali\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US 2\",\"tags\":{\"displayName\":\"ServiceBus1\"},\"\ + properties\":{\"provisioningState\":\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbns-primary-ali\"\ + ,\"createdAt\":\"2018-02-28T01:50:32.4Z\",\"updatedAt\":\"2018-03-13T16:53:15.663Z\"\ + ,\"serviceBusEndpoint\":\"https://sbns-primary-ali.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TwitterGroup/providers/Microsoft.ServiceBus/namespaces/saz-test-222\"\ + ,\"name\":\"saz-test-222\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:saz-test-222\"\ + ,\"createdAt\":\"2016-07-06T00:14:40.12Z\",\"updatedAt\":\"2017-08-25T01:03:04.827Z\"\ + ,\"serviceBusEndpoint\":\"https://saz-test-222.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.ServiceBus/namespaces/deadletterforwardtotest\"\ + ,\"name\":\"deadletterforwardtotest\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:deadletterforwardtotest\"\ + ,\"createdAt\":\"2017-07-27T17:38:39.35Z\",\"updatedAt\":\"2017-07-27T17:39:12.15Z\"\ + ,\"serviceBusEndpoint\":\"https://deadletterforwardtotest.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4441-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4441-ns\"\ + ,\"name\":\"sb-dotnet-av-4441-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4441-ns\"\ + ,\"createdAt\":\"2017-12-15T04:55:32.543Z\",\"updatedAt\":\"2017-12-15T04:55:57.27Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4441-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testeh-delete/providers/Microsoft.ServiceBus/namespaces/rrama-arm-easdtus-8-4-2\"\ + ,\"name\":\"rrama-arm-easdtus-8-4-2\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-arm-easdtus-8-4-2\"\ + ,\"createdAt\":\"2017-08-04T17:27:56.02Z\",\"updatedAt\":\"2017-08-04T17:28:22.91Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-arm-easdtus-8-4-2.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testeh-delete/providers/Microsoft.ServiceBus/namespaces/rrama-arm-easdtus-8-4-1\"\ + ,\"name\":\"rrama-arm-easdtus-8-4-1\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:rrama-arm-easdtus-8-4-1\"\ + ,\"createdAt\":\"2017-08-04T17:21:35.86Z\",\"updatedAt\":\"2017-08-04T17:22:01.66Z\"\ + ,\"serviceBusEndpoint\":\"https://rrama-arm-easdtus-8-4-1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-CentralUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-central-us\"\ + ,\"name\":\"sbgm-testns-prod-central-us\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-central-us\"\ + ,\"createdAt\":\"2015-06-16T21:17:36.18Z\",\"updatedAt\":\"2017-01-12T23:24:03.893Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-central-us.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4792-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4792-ns\"\ + ,\"name\":\"sb-dotnet-av-4792-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4792-ns\"\ + ,\"createdAt\":\"2018-02-13T02:24:40.277Z\",\"updatedAt\":\"2018-02-13T02:25:07.41Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4792-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alitest/providers/Microsoft.ServiceBus/namespaces/alitestsb-backup\"\ + ,\"name\":\"alitestsb-backup\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"North Central US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:alitestsb-backup\"\ + ,\"createdAt\":\"2017-12-07T22:21:52.317Z\",\"updatedAt\":\"2017-12-07T22:22:21.23Z\"\ + ,\"serviceBusEndpoint\":\"https://alitestsb-backup.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/LuesbuebliResources/providers/Microsoft.ServiceBus/namespaces/sblues\"\ + ,\"name\":\"sblues\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"Central US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:sblues\",\"createdAt\"\ + :\"2016-09-01T01:03:51.877Z\",\"updatedAt\":\"2017-08-17T21:23:20.527Z\",\"\ + serviceBusEndpoint\":\"https://sblues.servicebus.windows.net:443/\",\"status\"\ + :\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"},\"id\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastUS2/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-east-us-2\"\ + ,\"name\":\"sbgm-testns-prod-east-us-2\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-east-us-2\"\ + ,\"createdAt\":\"2015-06-16T21:19:47.437Z\",\"updatedAt\":\"2017-01-12T23:24:05.097Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-east-us-2.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/testingTopicAuto11\"\ + ,\"name\":\"testingTopicAuto11\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingtopicauto11\"\ + ,\"createdAt\":\"2018-01-12T23:58:06.097Z\",\"updatedAt\":\"2018-01-12T23:58:35.127Z\"\ + ,\"serviceBusEndpoint\":\"https://testingTopicAuto11.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4332-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4332-ns\"\ + ,\"name\":\"sb-dotnet-av-4332-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4332-ns\"\ + ,\"createdAt\":\"2017-12-13T22:56:21.083Z\",\"updatedAt\":\"2017-12-13T22:56:47.513Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4332-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-SouthIndia/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-south-india\"\ + ,\"name\":\"sbgm-testns-prod-south-india\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"South India\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Created\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-south-india\"\ + ,\"createdAt\":\"2015-09-25T18:53:03.69Z\",\"updatedAt\":\"2017-01-12T23:24:39.58Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-south-india.servicebus.windows.net:443/\"\ + ,\"status\":\"Activating\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-JapanEast/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-japan-east\"\ + ,\"name\":\"sbgm-testns-prod-japan-east\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Japan East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-japan-east\"\ + ,\"createdAt\":\"2015-06-18T01:53:13.697Z\",\"updatedAt\":\"2017-08-16T03:42:22.983Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-japan-east.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4611-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4611-ns\"\ + ,\"name\":\"sb-dotnet-av-4611-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4611-ns\"\ + ,\"createdAt\":\"2017-12-15T19:23:03.03Z\",\"updatedAt\":\"2017-12-15T19:23:28.387Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4611-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vijayjavaclienttests/providers/Microsoft.ServiceBus/namespaces/VijayBYNS\"\ + ,\"name\":\"VijayBYNS\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"location\"\ + :\"West US\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"metricId\":\"00000000-0000-0000-0000-000000000000:vijaybyns\",\"createdAt\"\ + :\"2018-01-04T23:24:03.083Z\",\"updatedAt\":\"2018-01-04T23:24:26.063Z\",\"\ + serviceBusEndpoint\":\"https://VijayBYNS.servicebus.windows.net:443/\",\"\ + status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2850\"\ + ,\"name\":\"sdk-Namespace-2850\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sdk-namespace-2850\"\ + ,\"createdAt\":\"2017-08-16T00:33:12.503Z\",\"updatedAt\":\"2017-08-17T20:47:43.95Z\"\ + ,\"serviceBusEndpoint\":\"https://sdk-Namespace-2850.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-BrazilSouth/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-brazil-south\"\ + ,\"name\":\"sbgm-testns-prod-brazil-south\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Brazil South\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-brazil-south\"\ + ,\"createdAt\":\"2015-06-16T21:26:22.883Z\",\"updatedAt\":\"2017-08-15T23:24:43.767Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-brazil-south.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\"\ + ,\"capacity\":4},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vinsutest/providers/Microsoft.ServiceBus/namespaces/premiumrepro1032017\"\ + ,\"name\":\"premiumrepro1032017\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:premiumrepro1032017\"\ + ,\"createdAt\":\"2016-10-03T21:58:59.23Z\",\"updatedAt\":\"2016-10-03T21:59:53.897Z\"\ + ,\"serviceBusEndpoint\":\"https://premiumrepro1032017.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/TestingRCPwr2017\"\ + ,\"name\":\"TestingRCPwr2017\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:testingrcpwr2017\"\ + ,\"createdAt\":\"2017-08-08T01:14:33.473Z\",\"updatedAt\":\"2017-08-08T01:15:02.303Z\"\ + ,\"serviceBusEndpoint\":\"https://TestingRCPwr2017.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-AustraliaEast/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-australia-east\"\ + ,\"name\":\"sbgm-testns-prod-australia-east\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-australia-east\"\ + ,\"createdAt\":\"2015-06-16T21:19:52.407Z\",\"updatedAt\":\"2017-08-17T18:58:27.143Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-australia-east.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4822-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4822-ns\"\ + ,\"name\":\"sb-dotnet-av-4822-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4822-ns\"\ + ,\"createdAt\":\"2018-02-13T05:17:25.433Z\",\"updatedAt\":\"2018-02-13T05:17:51.43Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4822-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-4362-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-4362-ns\"\ + ,\"name\":\"sb-dotnet-av-4362-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-4362-ns\"\ + ,\"createdAt\":\"2017-12-14T03:31:01.483Z\",\"updatedAt\":\"2017-12-14T03:31:26.583Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-4362-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sb-dotnet-av-5091-rg/providers/Microsoft.ServiceBus/namespaces/sb-dotnet-av-5091-ns\"\ + ,\"name\":\"sb-dotnet-av-5091-ns\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"West US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sb-dotnet-av-5091-ns\"\ + ,\"createdAt\":\"2018-03-29T23:50:43.503Z\",\"updatedAt\":\"2018-03-29T23:51:06.183Z\"\ + ,\"serviceBusEndpoint\":\"https://sb-dotnet-av-5091-ns.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/newVinsu/providers/Microsoft.ServiceBus/namespaces/newVinsu1028\"\ + ,\"name\":\"newVinsu1028\",\"type\":\"Microsoft.ServiceBus/Namespaces\",\"\ + location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\":\"\ + Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:newvinsu1028\"\ + ,\"createdAt\":\"2016-10-28T17:34:58.937Z\",\"updatedAt\":\"2017-08-25T16:39:31.713Z\"\ + ,\"serviceBusEndpoint\":\"https://newVinsu1028.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastAsia/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-east-asia\"\ + ,\"name\":\"sbgm-testns-prod-east-asia\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East Asia\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-east-asia\"\ + ,\"createdAt\":\"2015-06-16T21:24:47.43Z\",\"updatedAt\":\"2017-08-03T01:00:57.87Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-east-asia.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\"\ + },\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-ServiceBus-EastUS/providers/Microsoft.ServiceBus/namespaces/sbgm-testns-prod-ch1\"\ + ,\"name\":\"sbgm-testns-prod-ch1\",\"type\":\"Microsoft.ServiceBus/Namespaces\"\ + ,\"location\":\"East US\",\"tags\":{},\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"metricId\":\"00000000-0000-0000-0000-000000000000:sbgm-testns-prod-ch1\"\ + ,\"createdAt\":\"2015-06-16T21:22:38.45Z\",\"updatedAt\":\"2017-01-12T23:23:42.847Z\"\ + ,\"serviceBusEndpoint\":\"https://sbgm-testns-prod-ch1.servicebus.windows.net:443/\"\ + ,\"status\":\"Active\"}}]}"} headers: cache-control: [no-cache] - content-length: ['14775'] + content-length: ['92081'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:12:33 GMT'] + date: ['Sat, 21 Apr 2018 00:28:02 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -144,26 +1222,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey?api-version=2017-04-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"","location":"West US","properties":{"rights":["Listen","Manage","Send"]}}'} headers: cache-control: [no-cache] - content-length: ['428'] + content-length: ['378'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:12:50 GMT'] + date: ['Sat, 21 Apr 2018 00:28:19 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{"properties": {"rights": ["Send", "Listen"]}}' @@ -173,27 +1252,28 @@ interactions: Connection: [keep-alive] Content-Length: ['46'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy?api-version=2017-04-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"","location":"West US","properties":{"rights":["Send","Listen"]}}'} headers: cache-control: [no-cache] - content-length: ['403'] + content-length: ['353'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:07 GMT'] + date: ['Sat, 21 Apr 2018 00:28:35 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -202,26 +1282,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy?api-version=2017-04-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"","location":"West US","properties":{"rights":["Send","Listen"]}}'} headers: cache-control: [no-cache] - content-length: ['403'] + content-length: ['353'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:09 GMT'] + date: ['Sat, 21 Apr 2018 00:28:36 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{"properties": {"rights": ["Send", "Listen", "Manage"]}}' @@ -231,27 +1312,28 @@ interactions: Connection: [keep-alive] Content-Length: ['56'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy?api-version=2017-04-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"","location":"West US","properties":{"rights":["Send","Listen","Manage"]}}'} headers: cache-control: [no-cache] - content-length: ['412'] + content-length: ['362'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:26 GMT'] + date: ['Sat, 21 Apr 2018 00:28:52 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -260,27 +1342,28 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules?api-version=2017-04-01 response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West - US","properties":{"rights":["Listen","Manage","Send"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"","location":"West + US","properties":{"rights":["Listen","Manage","Send"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy","name":"testingauthrulepy","type":"","location":"West US","properties":{"rights":["Send","Listen","Manage"]}}]}'} headers: cache-control: [no-cache] - content-length: ['853'] + content-length: ['753'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:28 GMT'] + date: ['Sat, 21 Apr 2018 00:28:54 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -290,25 +1373,26 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=LcWIORUeHud+aEohddSkzAAZnLRYkNffGYjZqMOQ2OQ=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=93J3HUaR1MTgjbFMD3LuYmyp1HVbuCasAbgoHCuWAb4=","primaryKey":"LcWIORUeHud+aEohddSkzAAZnLRYkNffGYjZqMOQ2OQ=","secondaryKey":"93J3HUaR1MTgjbFMD3LuYmyp1HVbuCasAbgoHCuWAb4=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kZTROPc/pT8xeE6Zte7GxldXVbkb5Vso/OBxJ950+lg=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=iN+3Fy9mWI5a8T0A3y2k94ASOMlDBF8TED/4NG1gMnY=","primaryKey":"kZTROPc/pT8xeE6Zte7GxldXVbkb5Vso/OBxJ950+lg=","secondaryKey":"iN+3Fy9mWI5a8T0A3y2k94ASOMlDBF8TED/4NG1gMnY=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['547'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:29 GMT'] + date: ['Sat, 21 Apr 2018 00:28:56 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -319,26 +1403,27 @@ interactions: Connection: [keep-alive] Content-Length: ['25'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=5VWVfYn7VYxMvVTJnwVzsONgGEYRX/2M2LjJH2TR/Q8=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=93J3HUaR1MTgjbFMD3LuYmyp1HVbuCasAbgoHCuWAb4=","primaryKey":"5VWVfYn7VYxMvVTJnwVzsONgGEYRX/2M2LjJH2TR/Q8=","secondaryKey":"93J3HUaR1MTgjbFMD3LuYmyp1HVbuCasAbgoHCuWAb4=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=6E6NfG2hkSM+iG9aMVV7+hanwVU6irnocBWR2UVSQek=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=iN+3Fy9mWI5a8T0A3y2k94ASOMlDBF8TED/4NG1gMnY=","primaryKey":"6E6NfG2hkSM+iG9aMVV7+hanwVU6irnocBWR2UVSQek=","secondaryKey":"iN+3Fy9mWI5a8T0A3y2k94ASOMlDBF8TED/4NG1gMnY=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['547'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:13:46 GMT'] + date: ['Sat, 21 Apr 2018 00:29:12 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: '{"keyType": "SecondaryKey"}' @@ -348,25 +1433,26 @@ interactions: Connection: [keep-alive] Content-Length: ['27'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=5VWVfYn7VYxMvVTJnwVzsONgGEYRX/2M2LjJH2TR/Q8=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=RhOXrEvgiSFCDTw336un+Ix3qa2v2XpXU3VcedFsiDE=","primaryKey":"5VWVfYn7VYxMvVTJnwVzsONgGEYRX/2M2LjJH2TR/Q8=","secondaryKey":"RhOXrEvgiSFCDTw336un+Ix3qa2v2XpXU3VcedFsiDE=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=6E6NfG2hkSM+iG9aMVV7+hanwVU6irnocBWR2UVSQek=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=jvtCmmuhQKR8w6iHfEAo9bt4OpUOpXqTAHBOy51aSio=","primaryKey":"6E6NfG2hkSM+iG9aMVV7+hanwVU6irnocBWR2UVSQek=","secondaryKey":"jvtCmmuhQKR8w6iHfEAo9bt4OpUOpXqTAHBOy51aSio=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['547'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:14:01 GMT'] + date: ['Sat, 21 Apr 2018 00:29:28 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -377,8 +1463,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -387,13 +1473,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 00:14:19 GMT'] + date: ['Sat, 21 Apr 2018 00:29:45 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -402,26 +1489,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules?api-version=2017-04-01 response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"Microsoft.ServiceBus/Namespaces/AuthorizationRules","location":"West + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/AuthorizationRules/RootManageSharedAccessKey","name":"RootManageSharedAccessKey","type":"","location":"West US","properties":{"rights":["Listen","Manage","Send"]}}]}'} headers: cache-control: [no-cache] - content-length: ['440'] + content-length: ['390'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 00:14:19 GMT'] + date: ['Sat, 21 Apr 2018 00:29:46 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -431,8 +1519,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 @@ -441,13 +1529,37 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 00:15:02 GMT'] + date: ['Sat, 21 Apr 2018 00:29:47 GMT'] expires: ['-1'] location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/operationresults/testingpythontestcasenamespace?api-version=2017-04-01'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_namespace_test_sb_namespace_curdde57183c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasenamespace/operationresults/testingpythontestcasenamespace?api-version=2017-04-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 21 Apr 2018 00:30:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_queue.test_sb_queue_curd.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_queue.test_sb_queue_curd.yaml index 5bc74b906005..451845184a9e 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_queue.test_sb_queue_curd.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_queue.test_sb_queue_curd.yaml @@ -8,26 +8,27 @@ interactions: Connection: [keep-alive] Content-Length: ['97'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue","name":"testingpythontestcasequeue","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2017-11-01T01:21:06.637Z","updatedAt":"2017-11-01T01:21:06.637Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2018-04-21T00:30:43.68Z","updatedAt":"2018-04-21T00:30:43.68Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/","status":"Activating"}}'} headers: cache-control: [no-cache] - content-length: ['673'] + content-length: ['693'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:06 GMT'] + date: ['Sat, 21 Apr 2018 00:30:44 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -36,27 +37,26 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue","name":"testingpythontestcasequeue","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2017-11-01T01:21:06.637Z","updatedAt":"2017-11-01T01:21:06.637Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2018-04-21T00:30:43.68Z","updatedAt":"2018-04-21T00:31:07.017Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['673'] + content-length: ['692'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:08 GMT'] + date: ['Sat, 21 Apr 2018 00:31:14 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -65,54 +65,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue","name":"testingpythontestcasequeue","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2017-11-01T01:21:06.637Z","updatedAt":"2017-11-01T01:21:06.637Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2018-04-21T00:30:43.68Z","updatedAt":"2018-04-21T00:31:07.017Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['673'] + content-length: ['692'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:24 GMT'] + date: ['Sat, 21 Apr 2018 00:31:15 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue?api-version=2017-04-01 - response: - body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue","name":"testingpythontestcasequeue","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasequeue","createdAt":"2017-11-01T01:21:06.637Z","updatedAt":"2017-11-01T01:21:38.01Z","serviceBusEndpoint":"https://testingpythontestcasequeue.servicebus.windows.net:443/"}}'} - headers: - cache-control: [no-cache] - content-length: ['674'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -122,26 +95,27 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue","name":"testingpythonsdkqueue","type":"Microsoft.ServiceBus/Namespaces/Queues","location":"West - US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2017-11-01T01:21:46.13Z","updatedAt":"2017-11-01T01:21:46.787Z","accessedAt":"0001-01-01T00:00:00"}}'} + US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"enableBatchedOperations":true,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2018-04-21T00:31:18.083Z","updatedAt":"2018-04-21T00:31:18.147Z","accessedAt":"0001-01-01T00:00:00"}}'} headers: cache-control: [no-cache] - content-length: ['1033'] + content-length: ['1065'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:46 GMT'] + date: ['Sat, 21 Apr 2018 00:31:18 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -151,26 +125,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue","name":"testingpythonsdkqueue","type":"Microsoft.ServiceBus/Namespaces/Queues","location":"West - US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2017-11-01T01:21:46.13Z","updatedAt":"2017-11-01T01:21:46.787Z","accessedAt":"0001-01-01T00:00:00Z"}}'} + US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"enableBatchedOperations":true,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2018-04-21T00:31:18.083Z","updatedAt":"2018-04-21T00:31:18.147Z","accessedAt":"0001-01-01T00:00:00Z"}}'} headers: cache-control: [no-cache] - content-length: ['1034'] + content-length: ['1066'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:47 GMT'] + date: ['Sat, 21 Apr 2018 00:31:21 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -179,26 +154,28 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues?api-version=2017-04-01 response: body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue","name":"testingpythonsdkqueue","type":"Microsoft.ServiceBus/Namespaces/Queues","location":"West - US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2017-11-01T01:21:46.13Z","updatedAt":"2017-11-01T01:21:46.787Z","accessedAt":"0001-01-01T00:00:00Z"}}]}'} + US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"enableBatchedOperations":true,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":10,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"2018-04-21T00:31:18.083Z","updatedAt":"2018-04-21T00:31:18.147Z","accessedAt":"0001-01-01T00:00:00Z"}}]}'} headers: cache-control: [no-cache] - content-length: ['1046'] + content-length: ['1078'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:49 GMT'] + date: ['Sat, 21 Apr 2018 00:31:22 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-inline-count: [''] status: {code: 200, message: OK} - request: body: '{"properties": {"maxSizeInMegabytes": 1024, "maxDeliveryCount": 5, "enableExpress": @@ -209,26 +186,27 @@ interactions: Connection: [keep-alive] Content-Length: ['90'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue","name":"testingpythonsdkqueue","type":"Microsoft.ServiceBus/Namespaces/Queues","location":"West - US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":1024,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":5,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":true,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"0001-01-01T00:00:00","updatedAt":"0001-01-01T00:00:00","accessedAt":"0001-01-01T00:00:00"}}'} + US","properties":{"lockDuration":"PT1M","maxSizeInMegabytes":1024,"requiresDuplicateDetection":false,"requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"enableBatchedOperations":true,"duplicateDetectionHistoryTimeWindow":"PT10M","maxDeliveryCount":5,"sizeInBytes":0,"messageCount":0,"status":"Active","autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":true,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"createdAt":"0001-01-01T00:00:00","updatedAt":"0001-01-01T00:00:00","accessedAt":"0001-01-01T00:00:00"}}'} headers: cache-control: [no-cache] - content-length: ['1022'] + content-length: ['1053'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:50 GMT'] + date: ['Sat, 21 Apr 2018 00:31:24 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -239,8 +217,8 @@ interactions: Connection: [keep-alive] Content-Length: ['46'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -251,15 +229,16 @@ interactions: cache-control: [no-cache] content-length: ['427'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:52 GMT'] + date: ['Sat, 21 Apr 2018 00:31:25 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -268,8 +247,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -280,14 +259,15 @@ interactions: cache-control: [no-cache] content-length: ['427'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:53 GMT'] + date: ['Sat, 21 Apr 2018 00:31:26 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{"properties": {"rights": ["Send", "Listen", "Manage"]}}' @@ -297,8 +277,8 @@ interactions: Connection: [keep-alive] Content-Length: ['56'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -309,14 +289,15 @@ interactions: cache-control: [no-cache] content-length: ['436'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:55 GMT'] + date: ['Sat, 21 Apr 2018 00:31:28 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -326,8 +307,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules?api-version=2017-04-01 @@ -338,14 +319,15 @@ interactions: cache-control: [no-cache] content-length: ['448'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:55 GMT'] + date: ['Sat, 21 Apr 2018 00:31:28 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -355,26 +337,27 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy/ListKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=7Am7XOY6KeZZqa/x5FmzmDahMXH+sz9ZAfTFZHL2Wpk=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Ze7Mkz7/mF0Y4SWurtRFEGdBUnxPJ5Xsaz918zu0+z4=;EntityPath=testingpythonsdkqueue","primaryKey":"7Am7XOY6KeZZqa/x5FmzmDahMXH+sz9ZAfTFZHL2Wpk=","secondaryKey":"Ze7Mkz7/mF0Y4SWurtRFEGdBUnxPJ5Xsaz918zu0+z4=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=L/jeGDlEQG3PMZ9Wxi/oLIDeXef/iyut05Zb0YLMKfI=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=yY2I4ga5Z7LGmczOcCYZ0vvYc0/vDV500E46Evh9uyQ=;EntityPath=testingpythonsdkqueue","primaryKey":"L/jeGDlEQG3PMZ9Wxi/oLIDeXef/iyut05Zb0YLMKfI=","secondaryKey":"yY2I4ga5Z7LGmczOcCYZ0vvYc0/vDV500E46Evh9uyQ=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:57 GMT'] + date: ['Sat, 21 Apr 2018 00:31:29 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: '{"keyType": "PrimaryKey"}' @@ -384,26 +367,27 @@ interactions: Connection: [keep-alive] Content-Length: ['25'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Z4Tf/ofGOy1zSQa6QwsamWbEk/96xfbHdSqq3EslF9E=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Ze7Mkz7/mF0Y4SWurtRFEGdBUnxPJ5Xsaz918zu0+z4=;EntityPath=testingpythonsdkqueue","primaryKey":"Z4Tf/ofGOy1zSQa6QwsamWbEk/96xfbHdSqq3EslF9E=","secondaryKey":"Ze7Mkz7/mF0Y4SWurtRFEGdBUnxPJ5Xsaz918zu0+z4=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=9a1fkmlNDNe1zPMEv5zPfq+gPcd1IM6nLJ8uKBUiXcM=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=yY2I4ga5Z7LGmczOcCYZ0vvYc0/vDV500E46Evh9uyQ=;EntityPath=testingpythonsdkqueue","primaryKey":"9a1fkmlNDNe1zPMEv5zPfq+gPcd1IM6nLJ8uKBUiXcM=","secondaryKey":"yY2I4ga5Z7LGmczOcCYZ0vvYc0/vDV500E46Evh9uyQ=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:58 GMT'] + date: ['Sat, 21 Apr 2018 00:31:30 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: '{"keyType": "SecondaryKey"}' @@ -413,25 +397,26 @@ interactions: Connection: [keep-alive] Content-Length: ['27'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Z4Tf/ofGOy1zSQa6QwsamWbEk/96xfbHdSqq3EslF9E=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=aCjMADvDOlqKkutd5nF5Qh0FckbvwMBHGlfS5Q7ENDY=;EntityPath=testingpythonsdkqueue","primaryKey":"Z4Tf/ofGOy1zSQa6QwsamWbEk/96xfbHdSqq3EslF9E=","secondaryKey":"aCjMADvDOlqKkutd5nF5Qh0FckbvwMBHGlfS5Q7ENDY=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=9a1fkmlNDNe1zPMEv5zPfq+gPcd1IM6nLJ8uKBUiXcM=;EntityPath=testingpythonsdkqueue","secondaryConnectionString":"Endpoint=sb://testingpythontestcasequeue.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=MZuaN9HpO0yZhwmJAUcdxVHF2Bg27hcAy9i/Dmuf+IQ=;EntityPath=testingpythonsdkqueue","primaryKey":"9a1fkmlNDNe1zPMEv5zPfq+gPcd1IM6nLJ8uKBUiXcM=","secondaryKey":"MZuaN9HpO0yZhwmJAUcdxVHF2Bg27hcAy9i/Dmuf+IQ=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:21:59 GMT'] + date: ['Sat, 21 Apr 2018 00:31:31 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -442,8 +427,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -452,12 +437,13 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:22:01 GMT'] + date: ['Sat, 21 Apr 2018 00:31:33 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -467,8 +453,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue/authorizationRules?api-version=2017-04-01 @@ -478,14 +464,15 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:22:02 GMT'] + date: ['Sat, 21 Apr 2018 00:31:34 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -495,8 +482,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/queues/testingpythonsdkqueue?api-version=2017-04-01 @@ -505,13 +492,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:22:04 GMT'] + date: ['Sat, 21 Apr 2018 00:31:35 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -521,8 +509,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue?api-version=2017-04-01 @@ -531,13 +519,37 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:22:06 GMT'] + date: ['Sat, 21 Apr 2018 00:31:36 GMT'] expires: ['-1'] location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/operationresults/testingpythontestcasequeue?api-version=2017-04-01'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_queue_test_sb_queue_curd2a35152c/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasequeue/operationresults/testingpythontestcasequeue?api-version=2017-04-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 21 Apr 2018 00:32:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic.test_sb_topic_curd.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic.test_sb_topic_curd.yaml index ee4cb3880a15..3dfb092cf369 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic.test_sb_topic_curd.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic.test_sb_topic_curd.yaml @@ -8,55 +8,28 @@ interactions: Connection: [keep-alive] Content-Length: ['97'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic","name":"testingpythontestcasetopic","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2017-11-01T01:22:24.763Z","updatedAt":"2017-11-01T01:22:24.763Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2018-04-21T00:33:59.467Z","updatedAt":"2018-04-21T00:33:59.467Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/","status":"Activating"}}'} headers: cache-control: [no-cache] - content-length: ['673'] + content-length: ['695'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:22:24 GMT'] + date: ['Sat, 21 Apr 2018 00:33:59 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic?api-version=2017-04-01 - response: - body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic","name":"testingpythontestcasetopic","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2017-11-01T01:22:24.763Z","updatedAt":"2017-11-01T01:22:24.763Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/"}}'} - headers: - cache-control: [no-cache] - content-length: ['673'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:22:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -64,27 +37,26 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic","name":"testingpythontestcasetopic","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2017-11-01T01:22:24.763Z","updatedAt":"2017-11-01T01:22:24.763Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2018-04-21T00:33:59.467Z","updatedAt":"2018-04-21T00:34:23.203Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['673'] + content-length: ['693'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:22:41 GMT'] + date: ['Sat, 21 Apr 2018 00:34:30 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -93,26 +65,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic","name":"testingpythontestcasetopic","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2017-11-01T01:22:24.763Z","updatedAt":"2017-11-01T01:22:50.703Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasetopic","createdAt":"2018-04-21T00:33:59.467Z","updatedAt":"2018-04-21T00:34:23.203Z","serviceBusEndpoint":"https://testingpythontestcasetopic.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['675'] + content-length: ['693'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:22:57 GMT'] + date: ['Sat, 21 Apr 2018 00:34:31 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -122,26 +95,27 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:23:00.973Z","updatedAt":"2017-11-01T01:23:01.16Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:34:34.043Z","updatedAt":"2018-04-21T00:34:34.183Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['983'] + content-length: ['984'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:00 GMT'] + date: ['Sat, 21 Apr 2018 00:34:33 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -151,26 +125,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:23:00.973Z","updatedAt":"2017-11-01T01:23:01.16Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:34:34.043Z","updatedAt":"2018-04-21T00:34:34.183Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['984'] + content-length: ['985'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:03 GMT'] + date: ['Sat, 21 Apr 2018 00:34:34 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -179,26 +154,28 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics?api-version=2017-04-01 response: body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:23:00.973Z","updatedAt":"2017-11-01T01:23:01.16Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}]}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:34:34.043Z","updatedAt":"2018-04-21T00:34:34.183Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}]}'} headers: cache-control: [no-cache] - content-length: ['996'] + content-length: ['997'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:04 GMT'] + date: ['Sat, 21 Apr 2018 00:34:36 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-inline-count: [''] status: {code: 200, message: OK} - request: body: '{"properties": {"maxSizeInMegabytes": 1024, "enableBatchedOperations": @@ -209,8 +186,8 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic?api-version=2017-04-01 @@ -221,14 +198,15 @@ interactions: cache-control: [no-cache] content-length: ['973'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:05 GMT'] + date: ['Sat, 21 Apr 2018 00:34:38 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -239,8 +217,8 @@ interactions: Connection: [keep-alive] Content-Length: ['46'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -251,15 +229,16 @@ interactions: cache-control: [no-cache] content-length: ['427'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:06 GMT'] + date: ['Sat, 21 Apr 2018 00:34:40 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -268,8 +247,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -280,14 +259,15 @@ interactions: cache-control: [no-cache] content-length: ['427'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:07 GMT'] + date: ['Sat, 21 Apr 2018 00:34:40 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{"properties": {"rights": ["Send", "Listen", "Manage"]}}' @@ -297,8 +277,8 @@ interactions: Connection: [keep-alive] Content-Length: ['56'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -309,15 +289,16 @@ interactions: cache-control: [no-cache] content-length: ['436'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:10 GMT'] + date: ['Sat, 21 Apr 2018 00:34:42 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -326,8 +307,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules?api-version=2017-04-01 @@ -338,14 +319,15 @@ interactions: cache-control: [no-cache] content-length: ['448'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:10 GMT'] + date: ['Sat, 21 Apr 2018 00:34:43 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -355,25 +337,26 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy/ListKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=yQkdFdmCjp2r8lWOjkIreOaLnQbLyik7oE/Z00om5/Y=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=271ZcsWbPdEgZnQZBa4WpJOVt1EIPunt01Au4BZx9+o=;EntityPath=testingpythonsdktopic","primaryKey":"yQkdFdmCjp2r8lWOjkIreOaLnQbLyik7oE/Z00om5/Y=","secondaryKey":"271ZcsWbPdEgZnQZBa4WpJOVt1EIPunt01Au4BZx9+o=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=EJRFXg6APMBOguIn7f5hXTyCmbAjLjQRmNDDcwsb6go=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=qYH1bp0447J9CVqYejVR3MODJGKcJPG2Sel6buReH9Q=;EntityPath=testingpythonsdktopic","primaryKey":"EJRFXg6APMBOguIn7f5hXTyCmbAjLjQRmNDDcwsb6go=","secondaryKey":"qYH1bp0447J9CVqYejVR3MODJGKcJPG2Sel6buReH9Q=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:11 GMT'] + date: ['Sat, 21 Apr 2018 00:34:43 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -384,25 +367,26 @@ interactions: Connection: [keep-alive] Content-Length: ['25'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=lGDlXO1GjNhnKYkixPck2HODLPQT+ehNS976u3P+CVQ=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=271ZcsWbPdEgZnQZBa4WpJOVt1EIPunt01Au4BZx9+o=;EntityPath=testingpythonsdktopic","primaryKey":"lGDlXO1GjNhnKYkixPck2HODLPQT+ehNS976u3P+CVQ=","secondaryKey":"271ZcsWbPdEgZnQZBa4WpJOVt1EIPunt01Au4BZx9+o=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=guBMVKlg99ZciGOi4uXNsy9rf0RrOazg1CTNaCq6DqU=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=qYH1bp0447J9CVqYejVR3MODJGKcJPG2Sel6buReH9Q=;EntityPath=testingpythonsdktopic","primaryKey":"guBMVKlg99ZciGOi4uXNsy9rf0RrOazg1CTNaCq6DqU=","secondaryKey":"qYH1bp0447J9CVqYejVR3MODJGKcJPG2Sel6buReH9Q=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:12 GMT'] + date: ['Sat, 21 Apr 2018 00:34:44 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -413,26 +397,27 @@ interactions: Connection: [keep-alive] Content-Length: ['27'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: - body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=lGDlXO1GjNhnKYkixPck2HODLPQT+ehNS976u3P+CVQ=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=5FSAghCCCeXKrgjiIWy4rox6NH8D8JzC4aP1WKhBLbI=;EntityPath=testingpythonsdktopic","primaryKey":"lGDlXO1GjNhnKYkixPck2HODLPQT+ehNS976u3P+CVQ=","secondaryKey":"5FSAghCCCeXKrgjiIWy4rox6NH8D8JzC4aP1WKhBLbI=","keyName":"testingauthrulepy"}'} + body: {string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=guBMVKlg99ZciGOi4uXNsy9rf0RrOazg1CTNaCq6DqU=;EntityPath=testingpythonsdktopic","secondaryConnectionString":"Endpoint=sb://testingpythontestcasetopic.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Z0uQaPxN5HpNy5bve5Z2L/byGHJQCyPh/PUzduTSwCE=;EntityPath=testingpythonsdktopic","primaryKey":"guBMVKlg99ZciGOi4uXNsy9rf0RrOazg1CTNaCq6DqU=","secondaryKey":"Z0uQaPxN5HpNy5bve5Z2L/byGHJQCyPh/PUzduTSwCE=","keyName":"testingauthrulepy"}'} headers: cache-control: [no-cache] content-length: ['605'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:13 GMT'] + date: ['Sat, 21 Apr 2018 00:34:46 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -442,8 +427,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules/testingauthrulepy?api-version=2017-04-01 @@ -452,13 +437,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:23:15 GMT'] + date: ['Sat, 21 Apr 2018 00:34:47 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -467,8 +453,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic/authorizationRules?api-version=2017-04-01 @@ -478,14 +464,15 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:23:16 GMT'] + date: ['Sat, 21 Apr 2018 00:34:47 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -495,8 +482,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/topics/testingpythonsdktopic?api-version=2017-04-01 @@ -505,12 +492,13 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:23:17 GMT'] + date: ['Sat, 21 Apr 2018 00:34:49 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -521,8 +509,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic?api-version=2017-04-01 @@ -531,13 +519,37 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:23:19 GMT'] + date: ['Sat, 21 Apr 2018 00:34:51 GMT'] expires: ['-1'] location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/operationresults/testingpythontestcasetopic?api-version=2017-04-01'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_test_sb_topic_curd29a11520/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasetopic/operationresults/testingpythontestcasetopic?api-version=2017-04-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 21 Apr 2018 00:35:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription.test_sb_subscription_curd.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription.test_sb_subscription_curd.yaml index 182a84596789..19fc8a449149 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription.test_sb_subscription_curd.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription.test_sb_subscription_curd.yaml @@ -8,55 +8,28 @@ interactions: Connection: [keep-alive] Content-Length: ['97'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription","name":"testingpythontestcasesubscription","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2017-11-01T01:24:46.417Z","updatedAt":"2017-11-01T01:24:46.417Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2018-04-21T00:43:10.35Z","updatedAt":"2018-04-21T00:43:10.35Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/","status":"Activating"}}'} headers: cache-control: [no-cache] - content-length: ['721'] + content-length: ['741'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:24:47 GMT'] + date: ['Sat, 21 Apr 2018 00:43:10 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription?api-version=2017-04-01 - response: - body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription","name":"testingpythontestcasesubscription","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2017-11-01T01:24:46.417Z","updatedAt":"2017-11-01T01:24:46.417Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/"}}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:24:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -64,27 +37,26 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription","name":"testingpythontestcasesubscription","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2017-11-01T01:24:46.417Z","updatedAt":"2017-11-01T01:24:46.417Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2018-04-21T00:43:10.35Z","updatedAt":"2018-04-21T00:43:33.243Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['721'] + content-length: ['740'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:04 GMT'] + date: ['Sat, 21 Apr 2018 00:43:41 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -93,26 +65,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription","name":"testingpythontestcasesubscription","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2017-11-01T01:24:46.417Z","updatedAt":"2017-11-01T01:25:12.397Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasesubscription","createdAt":"2018-04-21T00:43:10.35Z","updatedAt":"2018-04-21T00:43:33.243Z","serviceBusEndpoint":"https://testingpythontestcasesubscription.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['723'] + content-length: ['740'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:19 GMT'] + date: ['Sat, 21 Apr 2018 00:43:41 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -122,27 +95,28 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:25:22.723Z","updatedAt":"2017-11-01T01:25:22.863Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:43:44.763Z","updatedAt":"2018-04-21T00:43:44.84Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['1011'] + content-length: ['1010'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:22 GMT'] + date: ['Sat, 21 Apr 2018 00:43:44 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -151,26 +125,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:25:22.723Z","updatedAt":"2017-11-01T01:25:22.863Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:43:44.763Z","updatedAt":"2018-04-21T00:43:44.84Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['1012'] + content-length: ['1011'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:23 GMT'] + date: ['Sat, 21 Apr 2018 00:43:46 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -180,26 +155,27 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:25:26.0535169Z","updatedAt":"2017-11-01T01:25:26.0535169Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:43:48.7684716Z","updatedAt":"2018-04-21T00:43:48.7684716Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} headers: cache-control: [no-cache] - content-length: ['992'] + content-length: ['1041'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:25 GMT'] + date: ['Sat, 21 Apr 2018 00:43:48 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: @@ -209,26 +185,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:25:25.7190881Z","updatedAt":"2017-11-01T01:25:25.7190881Z","accessedAt":"2017-11-01T01:25:25.72Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:43:48.7831449Z","updatedAt":"2018-04-21T00:43:48.7831449Z","accessedAt":"2018-04-21T00:43:48.7831449Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} headers: cache-control: [no-cache] - content-length: ['996'] + content-length: ['1050'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:27 GMT'] + date: ['Sat, 21 Apr 2018 00:43:49 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -237,26 +214,28 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions?api-version=2017-04-01 response: body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:25:25.7190881Z","updatedAt":"2017-11-01T01:25:25.7190881Z","accessedAt":"2017-11-01T01:25:25.72Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}]}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:43:48.7831449Z","updatedAt":"2018-04-21T00:43:48.7831449Z","accessedAt":"2018-04-21T00:43:48.7831449Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}]}'} headers: cache-control: [no-cache] - content-length: ['1008'] + content-length: ['1062'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:27 GMT'] + date: ['Sat, 21 Apr 2018 00:43:50 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-inline-count: [''] status: {code: 200, message: OK} - request: body: '{"properties": {"deadLetteringOnMessageExpiration": true, "enableBatchedOperations": @@ -267,27 +246,28 @@ interactions: Connection: [keep-alive] Content-Length: ['91'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:25:28.8006969Z","updatedAt":"2017-11-01T01:25:28.8006969Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":true,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:43:52.6680403Z","updatedAt":"2018-04-21T00:43:52.6680403Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} headers: cache-control: [no-cache] - content-length: ['991'] + content-length: ['1040'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:25:28 GMT'] + date: ['Sat, 21 Apr 2018 00:43:51 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -297,8 +277,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 @@ -307,13 +287,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:25:29 GMT'] + date: ['Sat, 21 Apr 2018 00:43:53 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -323,8 +304,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/topics/testingpythonsdktopic?api-version=2017-04-01 @@ -333,13 +314,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:25:30 GMT'] + date: ['Sat, 21 Apr 2018 00:43:58 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -349,8 +331,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription?api-version=2017-04-01 @@ -359,13 +341,37 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:25:33 GMT'] + date: ['Sat, 21 Apr 2018 00:44:00 GMT'] expires: ['-1'] location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/operationresults/testingpythontestcasesubscription?api-version=2017-04-01'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_test_sb_subscription_curd2f101daa/providers/Microsoft.ServiceBus/namespaces/testingpythontestcasesubscription/operationresults/testingpythontestcasesubscription?api-version=2017-04-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 21 Apr 2018 00:44:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription_rule.test_sb_rule_curd.yaml b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription_rule.test_sb_rule_curd.yaml index cdf16b705f65..4bbcb815f614 100644 --- a/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription_rule.test_sb_rule_curd.yaml +++ b/azure-mgmt-servicebus/tests/recordings/test_azure_mgmt_servicebus_topic_subscription_rule.test_sb_rule_curd.yaml @@ -8,55 +8,28 @@ interactions: Connection: [keep-alive] Content-Length: ['97'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule","name":"testingpythontestcaserule","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2017-11-01T01:26:47.177Z","updatedAt":"2017-11-01T01:26:47.177Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2018-04-21T00:48:51.573Z","updatedAt":"2018-04-21T00:48:51.573Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/","status":"Activating"}}'} headers: cache-control: [no-cache] - content-length: ['686'] + content-length: ['708'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:26:47 GMT'] + date: ['Sat, 21 Apr 2018 00:48:51 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule?api-version=2017-04-01 - response: - body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule","name":"testingpythontestcaserule","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2017-11-01T01:26:47.177Z","updatedAt":"2017-11-01T01:26:47.177Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/"}}'} - headers: - cache-control: [no-cache] - content-length: ['686'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:26:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null @@ -64,27 +37,26 @@ interactions: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] - accept-language: [en-US] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule","name":"testingpythontestcaserule","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2017-11-01T01:26:47.177Z","updatedAt":"2017-11-01T01:26:47.177Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2018-04-21T00:48:51.573Z","updatedAt":"2018-04-21T00:49:15.673Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['686'] + content-length: ['706'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:04 GMT'] + date: ['Sat, 21 Apr 2018 00:49:21 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -93,26 +65,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule?api-version=2017-04-01 response: body: {string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule","name":"testingpythontestcaserule","type":"Microsoft.ServiceBus/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2017-11-01T01:26:47.177Z","updatedAt":"2017-11-01T01:27:10.993Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/"}}'} + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaserule","createdAt":"2018-04-21T00:48:51.573Z","updatedAt":"2018-04-21T00:49:15.673Z","serviceBusEndpoint":"https://testingpythontestcaserule.servicebus.windows.net:443/","status":"Active"}}'} headers: cache-control: [no-cache] - content-length: ['688'] + content-length: ['706'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:20 GMT'] + date: ['Sat, 21 Apr 2018 00:49:23 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -122,27 +95,28 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:27:23.587Z","updatedAt":"2017-11-01T01:27:23.633Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:49:26.46Z","updatedAt":"2018-04-21T00:49:26.617Z","accessedAt":"0001-01-01T00:00:00","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['1000'] + content-length: ['999'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:22 GMT'] + date: ['Sat, 21 Apr 2018 00:49:27 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -151,26 +125,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic","name":"testingpythonsdktopic","type":"Microsoft.ServiceBus/Namespaces/Topics","location":"West - US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2017-11-01T01:27:23.587Z","updatedAt":"2017-11-01T01:27:23.633Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} + US","properties":{"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","maxSizeInMegabytes":5120,"requiresDuplicateDetection":false,"duplicateDetectionHistoryTimeWindow":"PT10M","enableBatchedOperations":true,"sizeInBytes":0,"status":"Active","supportOrdering":true,"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S","enablePartitioning":false,"enableExpress":false,"createdAt":"2018-04-21T00:49:26.46Z","updatedAt":"2018-04-21T00:49:26.617Z","accessedAt":"0001-01-01T00:00:00Z","subscriptionCount":0,"countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0}}}'} headers: cache-control: [no-cache] - content-length: ['1001'] + content-length: ['1000'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:24 GMT'] + date: ['Sat, 21 Apr 2018 00:49:27 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -180,27 +155,28 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:27:26.0535608Z","updatedAt":"2017-11-01T01:27:26.0535608Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:49:30.4059948Z","updatedAt":"2018-04-21T00:49:30.4059948Z","accessedAt":"0001-01-01T00:00:00","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} headers: cache-control: [no-cache] - content-length: ['981'] + content-length: ['1030'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:26 GMT'] + date: ['Sat, 21 Apr 2018 00:49:30 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -209,26 +185,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription","name":"testingpythonsdksubscription","type":"Microsoft.ServiceBus/Namespaces/Topics/Subscriptions","location":"West - US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2017-11-01T01:27:26.3368073Z","updatedAt":"2017-11-01T01:27:26.3368073Z","accessedAt":"2017-11-01T01:27:26.337Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} + US","properties":{"lockDuration":"PT1M","requiresSession":false,"defaultMessageTimeToLive":"P10675199DT2H48M5.4775807S","deadLetteringOnMessageExpiration":false,"deadLetteringOnFilterEvaluationExceptions":true,"messageCount":0,"maxDeliveryCount":10,"status":"Active","enableBatchedOperations":true,"createdAt":"2018-04-21T00:49:30.4125879Z","updatedAt":"2018-04-21T00:49:30.4125879Z","accessedAt":"2018-04-21T00:49:30.413Z","countDetails":{"activeMessageCount":0,"deadLetterMessageCount":0,"scheduledMessageCount":0,"transferMessageCount":0,"transferDeadLetterMessageCount":0},"autoDeleteOnIdle":"P10675199DT2H48M5.4775807S"}}'} headers: cache-control: [no-cache] - content-length: ['986'] + content-length: ['1035'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:27 GMT'] + date: ['Sat, 21 Apr 2018 00:49:30 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: '{}' @@ -238,8 +215,8 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription/rules/testingpythonsdkrule?api-version=2017-04-01 @@ -250,15 +227,16 @@ interactions: cache-control: [no-cache] content-length: ['550'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:29 GMT'] + date: ['Sat, 21 Apr 2018 00:49:34 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -267,8 +245,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription/rules/testingpythonsdkrule?api-version=2017-04-01 @@ -279,14 +257,15 @@ interactions: cache-control: [no-cache] content-length: ['550'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:30 GMT'] + date: ['Sat, 21 Apr 2018 00:49:35 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -295,8 +274,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription/rules?api-version=2017-04-01 @@ -307,14 +286,16 @@ interactions: cache-control: [no-cache] content-length: ['562'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:30 GMT'] + date: ['Sat, 21 Apr 2018 00:49:36 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-inline-count: [''] status: {code: 200, message: OK} - request: body: '{"properties": {"filterType": "SqlFilter", "sqlFilter": {"sqlExpression": @@ -325,8 +306,8 @@ interactions: Connection: [keep-alive] Content-Length: ['127'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription/rules/testingpythonsdkrule?api-version=2017-04-01 @@ -337,14 +318,15 @@ interactions: cache-control: [no-cache] content-length: ['564'] content-type: [application/json; charset=utf-8] - date: ['Wed, 01 Nov 2017 01:27:32 GMT'] + date: ['Sat, 21 Apr 2018 00:49:38 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: @@ -355,8 +337,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic/subscriptions/testingpythonsdksubscription?api-version=2017-04-01 @@ -365,13 +347,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:27:33 GMT'] + date: ['Sat, 21 Apr 2018 00:49:39 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -381,8 +364,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/topics/testingpythonsdktopic?api-version=2017-04-01 @@ -391,13 +374,14 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:27:35 GMT'] + date: ['Sat, 21 Apr 2018 00:49:41 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -407,8 +391,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.17 - msrest_azure/0.4.15 servicebusmanagementclient/0.3.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule?api-version=2017-04-01 @@ -417,13 +401,37 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 01 Nov 2017 01:27:36 GMT'] + date: ['Sat, 21 Apr 2018 00:49:42 GMT'] expires: ['-1'] location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/operationresults/testingpythontestcaserule?api-version=2017-04-01'] pragma: [no-cache] - server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0] - server-sb: [Service-Bus-Resource-Provider/SN1] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.25 azure-mgmt-servicebus/0.5.0 Azure-SDK-For-Python] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_servicebus_topic_subscription_rule_test_sb_rule_curdd7b71c54/providers/Microsoft.ServiceBus/namespaces/testingpythontestcaserule/operationresults/testingpythontestcaserule?api-version=2017-04-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 21 Apr 2018 00:50:13 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Service-Bus-Resource-Provider/CH3, Microsoft-HTTPAPI/2.0] + server-sb: [Service-Bus-Resource-Provider/CH3] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_namespace.py b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_namespace.py index 61a7592d60ef..29b420b3f817 100644 --- a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_namespace.py +++ b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_namespace.py @@ -31,9 +31,9 @@ def test_sb_namespace_curd(self, resource_group, location): # Create a Namespace namespace_name = "testingpythontestcasenamespace" - namespaceparameter=SBNamespace(location,{'tag1':'value1','tag2':'value2'},SBSku(SkuName.standard)) - creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter,None,True).output - self.assertEqual(creatednamespace.name,namespace_name) + namespaceparameter=SBNamespace(location=location,tags={'tag1':'value1','tag2':'value2'},sku=SBSku(name=SkuName.standard)) + creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter).result() + self.assertEqual(creatednamespace.name, namespace_name) # # # Get created Namespace # @@ -42,7 +42,7 @@ def test_sb_namespace_curd(self, resource_group, location): # Get the List of Namespaces under the resourceGroup - list_by_resource_group - listbyresourcegroupresponse = list(self.servicebus_client.namespaces.list_by_resource_group(resource_group_name,False,False)) + listbyresourcegroupresponse = list(self.servicebus_client.namespaces.list_by_resource_group(resource_group_name)) self.assertGreater(len(listbyresourcegroupresponse),0,"No Namespace returned, List is empty") self.assertEqual(listbyresourcegroupresponse[0].name,namespace_name,"Created namespace not found - ListByResourgroup") @@ -98,7 +98,7 @@ def test_sb_namespace_curd(self, resource_group, location): self.assertEqual(createnamespaceauthorule[0].name, defaultauthorule_name) # Delete the create namespace - deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name,None,True).output + deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name).result() #------------------------------------------------------------------------------ if __name__ == '__main__': diff --git a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_queue.py b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_queue.py index 6844859d918b..3cb729416e6a 100644 --- a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_queue.py +++ b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_queue.py @@ -32,8 +32,8 @@ def test_sb_queue_curd(self, resource_group, location): # Create a Namespace namespace_name = "testingpythontestcasequeue" - namespaceparameter = SBNamespace(location, {'tag1': 'value1', 'tag2': 'value2'}, SBSku(SkuName.standard)) - creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter,None,True).output + namespaceparameter = SBNamespace(location=location, tags={'tag1': 'value1', 'tag2': 'value2'}, sku=SBSku(name=SkuName.standard)) + creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter).result() self.assertEqual(creatednamespace.name, namespace_name) while (self.servicebus_client.namespaces.get(resource_group_name, namespace_name).provisioning_state != 'Succeeded'): @@ -56,7 +56,7 @@ def test_sb_queue_curd(self, resource_group, location): self.assertEqual(listbynamespacequeueresponse[0].name, queue_name) # update queue - updatequeueresponse = self.servicebus_client.queues.create_or_update(resource_group_name, namespace_name, queue_name, SBQueue( enable_express=True, max_delivery_count=5, max_size_in_megabytes=1024 )) + updatequeueresponse = self.servicebus_client.queues.create_or_update(resource_group_name, namespace_name, queue_name, SBQueue(enable_express=True, max_delivery_count=5, max_size_in_megabytes=1024 )) self.assertEqual(updatequeueresponse.name, queue_name) self.assertEqual(updatequeueresponse.max_delivery_count, 5) self.assertEqual(updatequeueresponse.max_size_in_megabytes, 1024) @@ -93,7 +93,7 @@ def test_sb_queue_curd(self, resource_group, location): # regenerate Keys for authorizationrule - Primary regenrateSecondarykeyauthorizationrule = self.servicebus_client.queues.regenerate_keys(resource_group_name,namespace_name, queue_name, authoRule_name,'SecondaryKey') - self.assertNotEqual(listkeysauthorizationrule.secondary_key,regenrateSecondarykeyauthorizationrule.secondary_key) + self.assertNotEqual(listkeysauthorizationrule.secondary_key, regenrateSecondarykeyauthorizationrule.secondary_key) # delete the authorizationrule self.servicebus_client.queues.delete_authorization_rule(resource_group_name, namespace_name, queue_name, authoRule_name) @@ -106,7 +106,7 @@ def test_sb_queue_curd(self, resource_group, location): self.servicebus_client.queues.delete(resource_group_name, namespace_name, queue_name) # Delete the create namespace - deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name,None,True).output + deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name).result() #------------------------------------------------------------------------------ if __name__ == '__main__': diff --git a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic.py b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic.py index 9791f3315cb3..e9f8fce9103e 100644 --- a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic.py +++ b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic.py @@ -32,8 +32,8 @@ def test_sb_topic_curd(self, resource_group, location): # Create a Namespace namespace_name = "testingpythontestcasetopic" - namespaceparameter = SBNamespace(location, {'tag1': 'value1', 'tag2': 'value2'}, SBSku(SkuName.standard)) - creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter,None,True).output + namespaceparameter = SBNamespace(location=location, tags={'tag1': 'value1', 'tag2': 'value2'}, sku=SBSku(name=SkuName.standard)) + creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter).result() self.assertEqual(creatednamespace.name, namespace_name) while (self.servicebus_client.namespaces.get(resource_group_name, namespace_name).provisioning_state != 'Succeeded'): @@ -106,7 +106,7 @@ def test_sb_topic_curd(self, resource_group, location): self.servicebus_client.topics.delete(resource_group_name, namespace_name, topic_name) # Delete the create namespace - deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name,None,True).output + deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name).result() #------------------------------------------------------------------------------ if __name__ == '__main__': diff --git a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription.py b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription.py index 77ce448b510f..84ca1c29ef05 100644 --- a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription.py +++ b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription.py @@ -32,8 +32,8 @@ def test_sb_subscription_curd(self, resource_group, location): # Create a Namespace namespace_name = "testingpythontestcasesubscription" - namespaceparameter = SBNamespace(location, {'tag1': 'value1', 'tag2': 'value2'}, SBSku(SkuName.standard)) - creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter,None,True).output + namespaceparameter = SBNamespace(location=location, tags={'tag1': 'value1', 'tag2': 'value2'}, sku=SBSku(name=SkuName.standard)) + creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter).result() self.assertEqual(creatednamespace.name, namespace_name) while (self.servicebus_client.namespaces.get(resource_group_name, namespace_name).provisioning_state != 'Succeeded'): @@ -75,7 +75,7 @@ def test_sb_subscription_curd(self, resource_group, location): self.servicebus_client.topics.delete(resource_group_name, namespace_name, topic_name) # Delete the create namespace - deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name,None,True).output + deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name).result() #------------------------------------------------------------------------------ if __name__ == '__main__': diff --git a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription_rule.py b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription_rule.py index 713427ef32ec..268e86541613 100644 --- a/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription_rule.py +++ b/azure-mgmt-servicebus/tests/test_azure_mgmt_servicebus_topic_subscription_rule.py @@ -32,8 +32,8 @@ def test_sb_rule_curd(self, resource_group, location): # Create a Namespace namespace_name = "testingpythontestcaserule" - namespaceparameter = SBNamespace(location, {'tag1': 'value1', 'tag2': 'value2'}, SBSku(SkuName.standard)) - creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter,None,True).output + namespaceparameter = SBNamespace(location=location, tags={'tag1': 'value1', 'tag2': 'value2'}, sku=SBSku(name=SkuName.standard)) + creatednamespace = self.servicebus_client.namespaces.create_or_update(resource_group_name, namespace_name, namespaceparameter).result() self.assertEqual(creatednamespace.name, namespace_name) while (self.servicebus_client.namespaces.get(resource_group_name, namespace_name).provisioning_state != 'Succeeded'): @@ -43,25 +43,25 @@ def test_sb_rule_curd(self, resource_group, location): # Create a Topic topic_name = "testingpythonsdktopic" - createtopicresponse = self.servicebus_client.topics.create_or_update(resource_group_name, namespace_name,topic_name,SBTopic()) + createtopicresponse = self.servicebus_client.topics.create_or_update(resource_group_name, namespace_name, topic_name, SBTopic()) self.assertEqual(createtopicresponse.name, topic_name) # Get the created Topic - gettopicresponse = self.servicebus_client.topics.get(resource_group_name, namespace_name,topic_name) + gettopicresponse = self.servicebus_client.topics.get(resource_group_name, namespace_name, topic_name) self.assertEqual(gettopicresponse.name, topic_name) # Create subscription subscription_name = "testingpythonsdksubscription" - createsubscriptionresponse =self.servicebus_client.subscriptions.create_or_update(resource_group_name, namespace_name,topic_name,subscription_name,SBSubscription()) + createsubscriptionresponse =self.servicebus_client.subscriptions.create_or_update(resource_group_name, namespace_name, topic_name, subscription_name, SBSubscription()) self.assertEqual(createsubscriptionresponse.name, subscription_name) # Get created subscription - getsubscriptionresponse = self.servicebus_client.subscriptions.get(resource_group_name,namespace_name, topic_name,subscription_name) + getsubscriptionresponse = self.servicebus_client.subscriptions.get(resource_group_name, namespace_name, topic_name,subscription_name) self.assertEqual(getsubscriptionresponse.name, subscription_name) # create rule rule_name = "testingpythonsdkrule" - createruleresponse = self.servicebus_client.rules.create_or_update(resource_group_name,namespace_name, topic_name,subscription_name,rule_name,Rule()) + createruleresponse = self.servicebus_client.rules.create_or_update(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, Rule()) self.assertEqual(createruleresponse.name, rule_name) # get create rule @@ -74,8 +74,8 @@ def test_sb_rule_curd(self, resource_group, location): # update create rule with filter and action strSqlExp = "myproperty='test'" - ruleparameter = Rule(None,FilterType.sql_filter,SqlFilter(sql_expression=strSqlExp),None) - createruleresponse = self.servicebus_client.rules.create_or_update(resource_group_name, namespace_name,topic_name, subscription_name, rule_name,ruleparameter) + ruleparameter = Rule(action=None, filter_type=FilterType.sql_filter, sql_filter=SqlFilter(sql_expression=strSqlExp), correlation_filter=None) + createruleresponse = self.servicebus_client.rules.create_or_update(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, ruleparameter) self.assertEqual(createruleresponse.name, rule_name) # Delete the created subscription @@ -85,7 +85,7 @@ def test_sb_rule_curd(self, resource_group, location): self.servicebus_client.topics.delete(resource_group_name, namespace_name, topic_name) # Delete the create namespace - deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name,None,True).output + deletenamespace = self.servicebus_client.namespaces.delete(resource_group_name, namespace_name).result() #------------------------------------------------------------------------------ if __name__ == '__main__': From 1a024467fe8dc8b8df4b57914d276e0f3379364a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 26 Apr 2018 13:49:33 -0700 Subject: [PATCH 6/8] [AutoPR servicebus/resource-manager] Service Bus: added $skip and $top to list commands (#2472) * Generated from 8dcd1fb891075f38d26f230c0d3078629ba6b34f added $skip and $top to list commands * Generated from 69e26f29dd3395f76d8b5cc8852f25506e9d7697 removed skip and top for namespaces --- .../azure/mgmt/servicebus/models/__init__.py | 5 + .../models/arm_disaster_recovery_py3.py | 2 +- .../servicebus/models/correlation_filter.py | 4 + .../models/correlation_filter_py3.py | 6 +- .../mgmt/servicebus/models/eventhub_py3.py | 2 +- .../models/migration_config_properties.py | 61 +++ .../migration_config_properties_paged.py | 27 ++ .../models/migration_config_properties_py3.py | 61 +++ .../models/resource_namespace_patch_py3.py | 2 +- .../azure/mgmt/servicebus/models/rule_py3.py | 2 +- .../models/sb_authorization_rule_py3.py | 2 +- .../mgmt/servicebus/models/sb_queue_py3.py | 2 +- .../servicebus/models/sb_subscription_py3.py | 2 +- .../mgmt/servicebus/models/sb_topic_py3.py | 2 +- .../servicebus/models/tracked_resource_py3.py | 2 +- .../mgmt/servicebus/operations/__init__.py | 2 + .../migration_configs_operations.py | 453 ++++++++++++++++++ .../operations/queues_operations.py | 14 +- .../servicebus/operations/rules_operations.py | 14 +- .../operations/subscriptions_operations.py | 14 +- .../operations/topics_operations.py | 14 +- .../service_bus_management_client.py | 11 +- .../azure/mgmt/servicebus/version.py | 2 +- 23 files changed, 688 insertions(+), 18 deletions(-) create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_paged.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py create mode 100644 azure-mgmt-servicebus/azure/mgmt/servicebus/operations/migration_configs_operations.py diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py index 09ea5c935ca7..28d9624d67c0 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/__init__.py @@ -40,6 +40,7 @@ from .capture_description_py3 import CaptureDescription from .eventhub_py3 import Eventhub from .arm_disaster_recovery_py3 import ArmDisasterRecovery + from .migration_config_properties_py3 import MigrationConfigProperties except (SyntaxError, ImportError): from .tracked_resource import TrackedResource from .resource import Resource @@ -71,10 +72,12 @@ from .capture_description import CaptureDescription from .eventhub import Eventhub from .arm_disaster_recovery import ArmDisasterRecovery + from .migration_config_properties import MigrationConfigProperties from .operation_paged import OperationPaged from .sb_namespace_paged import SBNamespacePaged from .sb_authorization_rule_paged import SBAuthorizationRulePaged from .arm_disaster_recovery_paged import ArmDisasterRecoveryPaged +from .migration_config_properties_paged import MigrationConfigPropertiesPaged from .sb_queue_paged import SBQueuePaged from .sb_topic_paged import SBTopicPaged from .sb_subscription_paged import SBSubscriptionPaged @@ -125,10 +128,12 @@ 'CaptureDescription', 'Eventhub', 'ArmDisasterRecovery', + 'MigrationConfigProperties', 'OperationPaged', 'SBNamespacePaged', 'SBAuthorizationRulePaged', 'ArmDisasterRecoveryPaged', + 'MigrationConfigPropertiesPaged', 'SBQueuePaged', 'SBTopicPaged', 'SBSubscriptionPaged', diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py index 2b3c46023fd0..da8dd42bd676 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_py3.py @@ -61,7 +61,7 @@ class ArmDisasterRecovery(Resource): } def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **kwargs) -> None: - super(ArmDisasterRecovery, self).__init__(, **kwargs) + super(ArmDisasterRecovery, self).__init__(**kwargs) self.provisioning_state = None self.partner_namespace = partner_namespace self.alternate_name = alternate_name diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py index 0240fa3e10fd..dfb1585de553 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter.py @@ -15,6 +15,8 @@ class CorrelationFilter(Model): """Represents the correlation filter expression. + :param properties: dictionary object for custom filters + :type properties: dict[str, str] :param correlation_id: Identifier of the correlation. :type correlation_id: str :param message_id: Identifier of the message. @@ -37,6 +39,7 @@ class CorrelationFilter(Model): """ _attribute_map = { + 'properties': {'key': 'properties', 'type': '{str}'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'to': {'key': 'to', 'type': 'str'}, @@ -50,6 +53,7 @@ class CorrelationFilter(Model): def __init__(self, **kwargs): super(CorrelationFilter, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) self.correlation_id = kwargs.get('correlation_id', None) self.message_id = kwargs.get('message_id', None) self.to = kwargs.get('to', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py index 9132a8229287..a611bad640f0 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/correlation_filter_py3.py @@ -15,6 +15,8 @@ class CorrelationFilter(Model): """Represents the correlation filter expression. + :param properties: dictionary object for custom filters + :type properties: dict[str, str] :param correlation_id: Identifier of the correlation. :type correlation_id: str :param message_id: Identifier of the message. @@ -37,6 +39,7 @@ class CorrelationFilter(Model): """ _attribute_map = { + 'properties': {'key': 'properties', 'type': '{str}'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'to': {'key': 'to', 'type': 'str'}, @@ -48,8 +51,9 @@ class CorrelationFilter(Model): 'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, } - def __init__(self, *, correlation_id: str=None, message_id: str=None, to: str=None, reply_to: str=None, label: str=None, session_id: str=None, reply_to_session_id: str=None, content_type: str=None, requires_preprocessing: bool=True, **kwargs) -> None: + def __init__(self, *, properties=None, correlation_id: str=None, message_id: str=None, to: str=None, reply_to: str=None, label: str=None, session_id: str=None, reply_to_session_id: str=None, content_type: str=None, requires_preprocessing: bool=True, **kwargs) -> None: super(CorrelationFilter, self).__init__(**kwargs) + self.properties = properties self.correlation_id = correlation_id self.message_id = message_id self.to = to diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py index 8e22e43c612b..9d6e8c179ae0 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/eventhub_py3.py @@ -71,7 +71,7 @@ class Eventhub(Resource): } def __init__(self, *, message_retention_in_days: int=None, partition_count: int=None, status=None, capture_description=None, **kwargs) -> None: - super(Eventhub, self).__init__(, **kwargs) + super(Eventhub, self).__init__(**kwargs) self.partition_ids = None self.created_at = None self.updated_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py new file mode 100644 index 000000000000..41e40e01db75 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class MigrationConfigProperties(Resource): + """Single item in List or Get Migration Config operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar provisioning_state: Provisioning state of Migration Configuration + :vartype provisioning_state: str + :param target_namespace: Required. Existing premium Namespace ARM Id name + which has no entities, will be used for migration + :type target_namespace: str + :param post_migration_name: Required. Name to access Standard Namespace + after migration + :type post_migration_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'target_namespace': {'required': True}, + 'post_migration_name': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, + 'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MigrationConfigProperties, self).__init__(**kwargs) + self.provisioning_state = None + self.target_namespace = kwargs.get('target_namespace', None) + self.post_migration_name = kwargs.get('post_migration_name', None) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_paged.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_paged.py new file mode 100644 index 000000000000..2f654c36e371 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class MigrationConfigPropertiesPaged(Paged): + """ + A paging container for iterating over a list of :class:`MigrationConfigProperties ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[MigrationConfigProperties]'} + } + + def __init__(self, *args, **kwargs): + + super(MigrationConfigPropertiesPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py new file mode 100644 index 000000000000..69f12b76d433 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/migration_config_properties_py3.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class MigrationConfigProperties(Resource): + """Single item in List or Get Migration Config operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :ivar provisioning_state: Provisioning state of Migration Configuration + :vartype provisioning_state: str + :param target_namespace: Required. Existing premium Namespace ARM Id name + which has no entities, will be used for migration + :type target_namespace: str + :param post_migration_name: Required. Name to access Standard Namespace + after migration + :type post_migration_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'target_namespace': {'required': True}, + 'post_migration_name': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, + 'post_migration_name': {'key': 'properties.postMigrationName', 'type': 'str'}, + } + + def __init__(self, *, target_namespace: str, post_migration_name: str, **kwargs) -> None: + super(MigrationConfigProperties, self).__init__(**kwargs) + self.provisioning_state = None + self.target_namespace = target_namespace + self.post_migration_name = post_migration_name diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py index 852de43eff40..b3e16e7aefe3 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/resource_namespace_patch_py3.py @@ -45,6 +45,6 @@ class ResourceNamespacePatch(Resource): } def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: - super(ResourceNamespacePatch, self).__init__(, **kwargs) + super(ResourceNamespacePatch, self).__init__(**kwargs) self.location = location self.tags = tags diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py index f17ee0a77ebb..1d8782b33615 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/rule_py3.py @@ -53,7 +53,7 @@ class Rule(Resource): } def __init__(self, *, action=None, filter_type=None, sql_filter=None, correlation_filter=None, **kwargs) -> None: - super(Rule, self).__init__(, **kwargs) + super(Rule, self).__init__(**kwargs) self.action = action self.filter_type = filter_type self.sql_filter = sql_filter diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py index ed1eb02748f9..b19b3f0b6293 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_authorization_rule_py3.py @@ -45,5 +45,5 @@ class SBAuthorizationRule(Resource): } def __init__(self, *, rights, **kwargs) -> None: - super(SBAuthorizationRule, self).__init__(, **kwargs) + super(SBAuthorizationRule, self).__init__(**kwargs) self.rights = rights diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py index 996055c4c27b..dd370f7146ae 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_queue_py3.py @@ -132,7 +132,7 @@ class SBQueue(Resource): } def __init__(self, *, lock_duration=None, max_size_in_megabytes: int=None, requires_duplicate_detection: bool=None, requires_session: bool=None, default_message_time_to_live=None, dead_lettering_on_message_expiration: bool=None, duplicate_detection_history_time_window=None, max_delivery_count: int=None, status=None, enable_batched_operations: bool=None, auto_delete_on_idle=None, enable_partitioning: bool=None, enable_express: bool=None, forward_to: str=None, forward_dead_lettered_messages_to: str=None, **kwargs) -> None: - super(SBQueue, self).__init__(, **kwargs) + super(SBQueue, self).__init__(**kwargs) self.count_details = None self.created_at = None self.updated_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py index c845b0ef2fa5..2c730d0bdd68 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_subscription_py3.py @@ -112,7 +112,7 @@ class SBSubscription(Resource): } def __init__(self, *, lock_duration=None, requires_session: bool=None, default_message_time_to_live=None, dead_lettering_on_filter_evaluation_exceptions: bool=None, dead_lettering_on_message_expiration: bool=None, duplicate_detection_history_time_window=None, max_delivery_count: int=None, status=None, enable_batched_operations: bool=None, auto_delete_on_idle=None, forward_to: str=None, forward_dead_lettered_messages_to: str=None, **kwargs) -> None: - super(SBSubscription, self).__init__(, **kwargs) + super(SBSubscription, self).__init__(**kwargs) self.message_count = None self.created_at = None self.accessed_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py index c4d66241b1c0..36087b83451d 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/sb_topic_py3.py @@ -110,7 +110,7 @@ class SBTopic(Resource): } def __init__(self, *, default_message_time_to_live=None, max_size_in_megabytes: int=None, requires_duplicate_detection: bool=None, duplicate_detection_history_time_window=None, enable_batched_operations: bool=None, status=None, support_ordering: bool=None, auto_delete_on_idle=None, enable_partitioning: bool=None, enable_express: bool=None, **kwargs) -> None: - super(SBTopic, self).__init__(, **kwargs) + super(SBTopic, self).__init__(**kwargs) self.size_in_bytes = None self.created_at = None self.updated_at = None diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py index 406a774c9951..2caa0475de57 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/models/tracked_resource_py3.py @@ -48,6 +48,6 @@ class TrackedResource(Resource): } def __init__(self, *, location: str, tags=None, **kwargs) -> None: - super(TrackedResource, self).__init__(, **kwargs) + super(TrackedResource, self).__init__(**kwargs) self.location = location self.tags = tags diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/__init__.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/__init__.py index a6b1de616461..581b76b7eba4 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/__init__.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/__init__.py @@ -12,6 +12,7 @@ from .operations import Operations from .namespaces_operations import NamespacesOperations from .disaster_recovery_configs_operations import DisasterRecoveryConfigsOperations +from .migration_configs_operations import MigrationConfigsOperations from .queues_operations import QueuesOperations from .topics_operations import TopicsOperations from .subscriptions_operations import SubscriptionsOperations @@ -24,6 +25,7 @@ 'Operations', 'NamespacesOperations', 'DisasterRecoveryConfigsOperations', + 'MigrationConfigsOperations', 'QueuesOperations', 'TopicsOperations', 'SubscriptionsOperations', diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/migration_configs_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/migration_configs_operations.py new file mode 100644 index 000000000000..1e41c3ed0093 --- /dev/null +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/migration_configs_operations.py @@ -0,0 +1,453 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class MigrationConfigsOperations(object): + """MigrationConfigsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2017-04-01". + :ivar config_name: The configuration name. Should always be "$default". Constant value: "$default". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-04-01" + self.config_name = "$default" + + self.config = config + + def list( + self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + """Gets all migrationConfigurations. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of MigrationConfigProperties + :rtype: + ~azure.mgmt.servicebus.models.MigrationConfigPropertiesPaged[~azure.mgmt.servicebus.models.MigrationConfigProperties] + :raises: + :class:`ErrorResponseException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.MigrationConfigPropertiesPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.MigrationConfigPropertiesPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations'} + + + def _create_and_start_migration_initial( + self, resource_group_name, namespace_name, target_namespace, post_migration_name, custom_headers=None, raw=False, **operation_config): + parameters = models.MigrationConfigProperties(target_namespace=target_namespace, post_migration_name=post_migration_name) + + # Construct URL + url = self.create_and_start_migration.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'configName': self._serialize.url("self.config_name", self.config_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'MigrationConfigProperties') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('MigrationConfigProperties', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_and_start_migration( + self, resource_group_name, namespace_name, target_namespace, post_migration_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Creates Migration configuration and starts migration of enties from + Standard to Premium namespace. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param target_namespace: Existing premium Namespace ARM Id name which + has no entities, will be used for migration + :type target_namespace: str + :param post_migration_name: Name to access Standard Namespace after + migration + :type post_migration_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + MigrationConfigProperties or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.servicebus.models.MigrationConfigProperties] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.servicebus.models.MigrationConfigProperties]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._create_and_start_migration_initial( + resource_group_name=resource_group_name, + namespace_name=namespace_name, + target_namespace=target_namespace, + post_migration_name=post_migration_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('MigrationConfigProperties', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_and_start_migration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}'} + + def delete( + self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + """Deletes a MigrationConfiguration. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'configName': self._serialize.url("self.config_name", self.config_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200, 204]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}'} + + def get( + self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + """Retrieves Migration Config. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: MigrationConfigProperties or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.servicebus.models.MigrationConfigProperties or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'configName': self._serialize.url("self.config_name", self.config_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('MigrationConfigProperties', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}'} + + def complete_migration( + self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + """This operation Completes Migration of entities by pointing the + connection strings to Premium namespace and any enties created after + the operation will be under Premium Namespace. CompleteMigration + operation will fail when entity migration is in-progress. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.complete_migration.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'configName': self._serialize.url("self.config_name", self.config_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + complete_migration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/upgrade'} + + def revert( + self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + """This operation reverts Migration. + + :param resource_group_name: Name of the Resource group within the + Azure subscription. + :type resource_group_name: str + :param namespace_name: The namespace name + :type namespace_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.revert.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6), + 'configName': self._serialize.url("self.config_name", self.config_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + revert.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/revert'} diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py index f468f6d782a5..fa780e4abee1 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/queues_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list_by_namespace( - self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, skip=None, top=None, custom_headers=None, raw=False, **operation_config): """Gets the queues within a namespace. :param resource_group_name: Name of the Resource group within the @@ -45,6 +45,14 @@ def list_by_namespace( :type resource_group_name: str :param namespace_name: The namespace name :type namespace_name: str + :param skip: Skip is only used if a previous operation returned a + partial result. If a previous response contains a nextLink element, + the value of the nextLink element will include a skip parameter that + specifies a starting point to use for subsequent calls. + :type skip: int + :param top: May be used to limit the number of results to the most + recent N usageDetails. + :type top: int :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -71,6 +79,10 @@ def internal_paging(next_link=None, raw=False): # Construct parameters query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int', maximum=1000, minimum=0) + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int', maximum=1000, minimum=1) else: url = next_link diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py index 8421e3d5f40e..6d462efbf1a4 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/rules_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list_by_subscriptions( - self, resource_group_name, namespace_name, topic_name, subscription_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, topic_name, subscription_name, skip=None, top=None, custom_headers=None, raw=False, **operation_config): """List all the rules within given topic-subscription. :param resource_group_name: Name of the Resource group within the @@ -49,6 +49,14 @@ def list_by_subscriptions( :type topic_name: str :param subscription_name: The subscription name. :type subscription_name: str + :param skip: Skip is only used if a previous operation returned a + partial result. If a previous response contains a nextLink element, + the value of the nextLink element will include a skip parameter that + specifies a starting point to use for subsequent calls. + :type skip: int + :param top: May be used to limit the number of results to the most + recent N usageDetails. + :type top: int :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -77,6 +85,10 @@ def internal_paging(next_link=None, raw=False): # Construct parameters query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int', maximum=1000, minimum=0) + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int', maximum=1000, minimum=1) else: url = next_link diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py index 1253cdcdea17..5b9c8eefb42f 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/subscriptions_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list_by_topic( - self, resource_group_name, namespace_name, topic_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, topic_name, skip=None, top=None, custom_headers=None, raw=False, **operation_config): """List all the subscriptions under a specified topic. :param resource_group_name: Name of the Resource group within the @@ -47,6 +47,14 @@ def list_by_topic( :type namespace_name: str :param topic_name: The topic name. :type topic_name: str + :param skip: Skip is only used if a previous operation returned a + partial result. If a previous response contains a nextLink element, + the value of the nextLink element will include a skip parameter that + specifies a starting point to use for subsequent calls. + :type skip: int + :param top: May be used to limit the number of results to the most + recent N usageDetails. + :type top: int :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -74,6 +82,10 @@ def internal_paging(next_link=None, raw=False): # Construct parameters query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int', maximum=1000, minimum=0) + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int', maximum=1000, minimum=1) else: url = next_link diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py index 448092adcce2..40b3c5260a76 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/operations/topics_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list_by_namespace( - self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, namespace_name, skip=None, top=None, custom_headers=None, raw=False, **operation_config): """Gets all the topics in a namespace. :param resource_group_name: Name of the Resource group within the @@ -45,6 +45,14 @@ def list_by_namespace( :type resource_group_name: str :param namespace_name: The namespace name :type namespace_name: str + :param skip: Skip is only used if a previous operation returned a + partial result. If a previous response contains a nextLink element, + the value of the nextLink element will include a skip parameter that + specifies a starting point to use for subsequent calls. + :type skip: int + :param top: May be used to limit the number of results to the most + recent N usageDetails. + :type top: int :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -71,6 +79,10 @@ def internal_paging(next_link=None, raw=False): # Construct parameters query_parameters = {} query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int', maximum=1000, minimum=0) + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int', maximum=1000, minimum=1) else: url = next_link diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/service_bus_management_client.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/service_bus_management_client.py index 8f6fb7cea887..2eb08c7d4baf 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/service_bus_management_client.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/service_bus_management_client.py @@ -9,13 +9,14 @@ # regenerated. # -------------------------------------------------------------------------- -from msrest.service_client import ServiceClient +from msrest.service_client import SDKClient from msrest import Serializer, Deserializer from msrestazure import AzureConfiguration from .version import VERSION from .operations.operations import Operations from .operations.namespaces_operations import NamespacesOperations from .operations.disaster_recovery_configs_operations import DisasterRecoveryConfigsOperations +from .operations.migration_configs_operations import MigrationConfigsOperations from .operations.queues_operations import QueuesOperations from .operations.topics_operations import TopicsOperations from .operations.subscriptions_operations import SubscriptionsOperations @@ -60,7 +61,7 @@ def __init__( self.subscription_id = subscription_id -class ServiceBusManagementClient(object): +class ServiceBusManagementClient(SDKClient): """Azure Service Bus client :ivar config: Configuration for client. @@ -72,6 +73,8 @@ class ServiceBusManagementClient(object): :vartype namespaces: azure.mgmt.servicebus.operations.NamespacesOperations :ivar disaster_recovery_configs: DisasterRecoveryConfigs operations :vartype disaster_recovery_configs: azure.mgmt.servicebus.operations.DisasterRecoveryConfigsOperations + :ivar migration_configs: MigrationConfigs operations + :vartype migration_configs: azure.mgmt.servicebus.operations.MigrationConfigsOperations :ivar queues: Queues operations :vartype queues: azure.mgmt.servicebus.operations.QueuesOperations :ivar topics: Topics operations @@ -101,7 +104,7 @@ def __init__( self, credentials, subscription_id, base_url=None): self.config = ServiceBusManagementClientConfiguration(credentials, subscription_id, base_url) - self._client = ServiceClient(self.config.credentials, self.config) + super(ServiceBusManagementClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self.api_version = '2017-04-01' @@ -114,6 +117,8 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.disaster_recovery_configs = DisasterRecoveryConfigsOperations( self._client, self.config, self._serialize, self._deserialize) + self.migration_configs = MigrationConfigsOperations( + self._client, self.config, self._serialize, self._deserialize) self.queues = QueuesOperations( self._client, self.config, self._serialize, self._deserialize) self.topics = TopicsOperations( diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py index 266f5a486d79..5c2dbfde66c5 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.5.0" +VERSION = "2017-04-01" From 01fcad3ab0b2f1cdf9f120243738f39b1f37b264 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 26 Apr 2018 15:00:29 -0700 Subject: [PATCH 7/8] Generated from 0d81d201fe6d5174be33f52d93c73d827c53df46 (#2477) Py conf SB 0.5.0 --- azure-mgmt-servicebus/azure/mgmt/servicebus/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py index 5c2dbfde66c5..266f5a486d79 100644 --- a/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py +++ b/azure-mgmt-servicebus/azure/mgmt/servicebus/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2017-04-01" +VERSION = "0.5.0" From 475081ccc72a9133a777b6980cf85b2ab1493a96 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 26 Apr 2018 16:16:20 -0700 Subject: [PATCH 8/8] SB Mgmt 0.5.0 packaging --- azure-mgmt-servicebus/HISTORY.rst | 38 ++++++++++++++++++++++++++++++- azure-mgmt-servicebus/README.rst | 4 ++-- azure-mgmt-servicebus/setup.py | 2 +- 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/azure-mgmt-servicebus/HISTORY.rst b/azure-mgmt-servicebus/HISTORY.rst index a4b4b82c7892..ed48a904b6cb 100644 --- a/azure-mgmt-servicebus/HISTORY.rst +++ b/azure-mgmt-servicebus/HISTORY.rst @@ -3,10 +3,46 @@ Release History =============== -0.4.1 (XXXXXXXXXX) +0.5.0 (2018-04-26) ++++++++++++++++++ +**General Breaking changes** + +This version uses a next-generation code generator that *might* introduce breaking changes. + +- Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments. + To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "*" syntax for keyword-only arguments. +- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered. + While this is not a breaking change, the distinctions are important, and are documented here: + https://docs.python.org/3/library/enum.html#others + At a glance: + + - "is" should not be used at all. + - "format" will return the string value, where "%s" string formatting will return `NameOfEnum.stringvalue`. Format syntax should be prefered. + +- New Long Running Operation: + + - Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same. + - Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used. + - The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`, + without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`. + - New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`, + the response of the initial call will be returned without polling. + - `polling` parameter accepts instances of subclasses of `msrest.polling.PollingMethod`. + - `add_done_callback` will no longer raise if called after polling is finished, but will instead execute the callback right away. + +**SDK Features** + +- Client class can be used as a context manager to keep the underlying HTTP session open for performance + +**ServiceBus features** + - Add dead_lettering_on_filter_evaluation_exceptions +- Add enable_batched_operations property to ServiceBus Queue +- Add migration_config operations +- Add skip and top to list commands +- Add 'properties' to CorrelationFilter +- Remove 'enableSubscriptionPartitioning' deprecated property 0.4.0 (2017-12-12) ++++++++++++++++++ diff --git a/azure-mgmt-servicebus/README.rst b/azure-mgmt-servicebus/README.rst index b3ed43453805..928e43f1d77f 100644 --- a/azure-mgmt-servicebus/README.rst +++ b/azure-mgmt-servicebus/README.rst @@ -37,8 +37,8 @@ Usage ===== For code examples, see `Service Bus Management -`__ -on readthedocs.org. +`__ +on docs.microsoft.com. Provide Feedback diff --git a/azure-mgmt-servicebus/setup.py b/azure-mgmt-servicebus/setup.py index 87059e8f87c2..96fbfb500995 100644 --- a/azure-mgmt-servicebus/setup.py +++ b/azure-mgmt-servicebus/setup.py @@ -77,7 +77,7 @@ zip_safe=False, packages=find_packages(exclude=["tests"]), install_requires=[ - 'msrestazure~=0.4.11', + 'msrestazure>=0.4.27,<2.0.0', 'azure-common~=1.1', ], cmdclass=cmdclass