From fdf883da079041a788d40f1c75235f85b0aaa2cd Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 11 Sep 2020 09:58:11 +0800 Subject: [PATCH] eaRelease mgmt eventhub (#13608) * Update from release/v3 * release-eventhub Co-authored-by: SDK Automation --- sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md | 6 + sdk/eventhub/azure-mgmt-eventhub/README.md | 2 +- .../operations/_consumer_groups_operations.py | 8 +- .../operations/_event_hubs_operations.py | 19 +- .../v2018_01_01_preview/models/_models.py | 5 + .../v2018_01_01_preview/models/_models_py3.py | 7 +- .../operations/_consumer_groups_operations.py | 8 +- .../operations/_event_hubs_operations.py | 18 +- .../azure/mgmt/eventhub/version.py | 2 +- ...e_mgmt_eventhub.test_eh_eventhub_curd.yaml | 222 +++++++++--------- ...ilability.test_eh_namespace_available.yaml | 10 +- ...sumergroup.test_eh_consumergroup_curd.yaml | 192 +++++++-------- ...thub_namespace.test_eh_namespace_curd.yaml | 197 ++++++++-------- .../tests/test_azure_mgmt_eventhub.py | 2 + 14 files changed, 359 insertions(+), 339 deletions(-) diff --git a/sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md b/sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md index e3b804941383..decdca515a42 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md +++ b/sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 4.1.0 (2020-09-04) + +**Features** + + - Model NetworkRuleSet has a new parameter trusted_service_access_enabled + ## 4.0.0 (2020-06-12) **Features** diff --git a/sdk/eventhub/azure-mgmt-eventhub/README.md b/sdk/eventhub/azure-mgmt-eventhub/README.md index 24486fa49041..87505bffcee9 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/README.md +++ b/sdk/eventhub/azure-mgmt-eventhub/README.md @@ -7,7 +7,7 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( # Usage -For code examples, see [EventHub Management](https://docs.microsoft.com/python/api/overview/azure/event-hub?view=azure-python-preview) +For code examples, see [EventHub Management](https://docs.microsoft.com/python/api/overview/azure/event-hub) on docs.microsoft.com. diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_consumer_groups_operations.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_consumer_groups_operations.py index 01e3b125308f..da3f3f991c9d 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_consumer_groups_operations.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_consumer_groups_operations.py @@ -75,7 +75,7 @@ def create_or_update( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -146,7 +146,7 @@ def delete( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -206,7 +206,7 @@ def get( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -282,7 +282,7 @@ def prepare_request(next_link=None): 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_event_hubs_operations.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_event_hubs_operations.py index b29c5a82e64e..24eaf8d22be1 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_event_hubs_operations.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01/operations/_event_hubs_operations.py @@ -67,7 +67,7 @@ def prepare_request(next_link=None): 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -149,7 +149,7 @@ def create_or_update_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -220,7 +220,7 @@ def get_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -286,7 +286,7 @@ def delete_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -346,7 +346,7 @@ def list_keys( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -421,7 +421,7 @@ def regenerate_keys( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -578,7 +578,7 @@ def create_or_update( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -603,6 +603,7 @@ def create_or_update( # Construct and send request request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -645,7 +646,7 @@ def delete( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -702,7 +703,7 @@ def get( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models.py index e9e511d87af7..685d7203f205 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models.py @@ -1024,6 +1024,9 @@ class NetworkRuleSet(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str + :param trusted_service_access_enabled: Value that indicates whether + Trusted Service Access is Enabled or not. + :type trusted_service_access_enabled: bool :param default_action: Default Action for Network Rule Set. Possible values include: 'Allow', 'Deny' :type default_action: str or @@ -1046,6 +1049,7 @@ class NetworkRuleSet(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'trusted_service_access_enabled': {'key': 'properties.trustedServiceAccessEnabled', 'type': 'bool'}, 'default_action': {'key': 'properties.defaultAction', 'type': 'str'}, 'virtual_network_rules': {'key': 'properties.virtualNetworkRules', 'type': '[NWRuleSetVirtualNetworkRules]'}, 'ip_rules': {'key': 'properties.ipRules', 'type': '[NWRuleSetIpRules]'}, @@ -1053,6 +1057,7 @@ class NetworkRuleSet(Resource): def __init__(self, **kwargs): super(NetworkRuleSet, self).__init__(**kwargs) + self.trusted_service_access_enabled = kwargs.get('trusted_service_access_enabled', None) self.default_action = kwargs.get('default_action', None) self.virtual_network_rules = kwargs.get('virtual_network_rules', None) self.ip_rules = kwargs.get('ip_rules', None) diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models_py3.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models_py3.py index abdfe6cf97a9..87c5d274c3cd 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models_py3.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/models/_models_py3.py @@ -1024,6 +1024,9 @@ class NetworkRuleSet(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str + :param trusted_service_access_enabled: Value that indicates whether + Trusted Service Access is Enabled or not. + :type trusted_service_access_enabled: bool :param default_action: Default Action for Network Rule Set. Possible values include: 'Allow', 'Deny' :type default_action: str or @@ -1046,13 +1049,15 @@ class NetworkRuleSet(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'trusted_service_access_enabled': {'key': 'properties.trustedServiceAccessEnabled', 'type': 'bool'}, 'default_action': {'key': 'properties.defaultAction', 'type': 'str'}, 'virtual_network_rules': {'key': 'properties.virtualNetworkRules', 'type': '[NWRuleSetVirtualNetworkRules]'}, 'ip_rules': {'key': 'properties.ipRules', 'type': '[NWRuleSetIpRules]'}, } - def __init__(self, *, default_action=None, virtual_network_rules=None, ip_rules=None, **kwargs) -> None: + def __init__(self, *, trusted_service_access_enabled: bool=None, default_action=None, virtual_network_rules=None, ip_rules=None, **kwargs) -> None: super(NetworkRuleSet, self).__init__(**kwargs) + self.trusted_service_access_enabled = trusted_service_access_enabled self.default_action = default_action self.virtual_network_rules = virtual_network_rules self.ip_rules = ip_rules diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_consumer_groups_operations.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_consumer_groups_operations.py index 25a8d6fb7cf3..7f815a3f2ec8 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_consumer_groups_operations.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_consumer_groups_operations.py @@ -75,7 +75,7 @@ def create_or_update( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -146,7 +146,7 @@ def delete( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -206,7 +206,7 @@ def get( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'consumerGroupName': self._serialize.url("consumer_group_name", consumer_group_name, 'str', max_length=50, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -282,7 +282,7 @@ def prepare_request(next_link=None): 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_event_hubs_operations.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_event_hubs_operations.py index fc554266f09e..a5f6a3dffdc4 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_event_hubs_operations.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/operations/_event_hubs_operations.py @@ -67,7 +67,7 @@ def prepare_request(next_link=None): 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -150,7 +150,7 @@ def create_or_update_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -222,7 +222,7 @@ def get_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -288,7 +288,7 @@ def delete_authorization_rule( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -348,7 +348,7 @@ def list_keys( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -424,7 +424,7 @@ def regenerate_keys( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } @@ -582,7 +582,7 @@ def create_or_update( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -649,7 +649,7 @@ def delete( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -706,7 +706,7 @@ def get( 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), - 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=50, min_length=1), + 'eventHubName': self._serialize.url("event_hub_name", event_hub_name, 'str', max_length=256, min_length=1), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py index 828282207f04..5278c700f0f1 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py +++ b/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "4.0.0" +VERSION = "4.1.0" diff --git a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub.test_eh_eventhub_curd.yaml b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub.test_eh_eventhub_curd.yaml index 0665f400b07f..20e4487e6168 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub.test_eh_eventhub_curd.yaml +++ b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub.test_eh_eventhub_curd.yaml @@ -14,8 +14,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -23,7 +23,7 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub","name":"pythontestcaseeventhubnamespaceEventhub","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-05-13T04:53:09.733Z","updatedAt":"2020-05-13T04:53:09.733Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-09-07T06:10:46.397Z","updatedAt":"2020-09-07T06:10:46.397Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache @@ -32,16 +32,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:53:11 GMT + - Mon, 07 Sep 2020 06:10:47 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -65,14 +65,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub","name":"pythontestcaseeventhubnamespaceEventhub","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-05-13T04:53:09.733Z","updatedAt":"2020-05-13T04:53:09.733Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-09-07T06:10:46.397Z","updatedAt":"2020-09-07T06:10:46.397Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache @@ -81,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:53:41 GMT + - Mon, 07 Sep 2020 06:11:18 GMT expires: - '-1' pragma: @@ -112,23 +112,23 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub","name":"pythontestcaseeventhubnamespaceEventhub","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-05-13T04:53:09.733Z","updatedAt":"2020-05-13T04:53:53.26Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-09-07T06:10:46.397Z","updatedAt":"2020-09-07T06:11:30.563Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '824' + - '825' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:11 GMT + - Mon, 07 Sep 2020 06:11:48 GMT expires: - '-1' pragma: @@ -159,8 +159,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -168,25 +168,25 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub","name":"pythontestcaseeventhubnamespaceEventhub","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-05-13T04:53:09.733Z","updatedAt":"2020-05-13T04:53:53.26Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceeventhub","createdAt":"2020-09-07T06:10:46.397Z","updatedAt":"2020-09-07T06:11:30.563Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '824' + - '825' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:12 GMT + - Mon, 07 Sep 2020 06:11:50 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -199,11 +199,11 @@ interactions: code: 200 message: OK - request: - body: 'b''{"properties": {"messageRetentionInDays": 4, "partitionCount": 4, "captureDescription": - {"enabled": true, "encoding": "Avro", "intervalInSeconds": 120, "sizeLimitInBytes": - 10485763, "destination": {"name": "EventHubArchive.AzureBlockBlob", "properties": - {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", - "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}''' + body: 'b''b\''{"properties": {"messageRetentionInDays": 4, "partitionCount": 4, + "captureDescription": {"enabled": true, "encoding": "Avro", "intervalInSeconds": + 120, "sizeLimitInBytes": 10485763, "destination": {"name": "EventHubArchive.AzureBlockBlob", + "properties": {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", + "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}\''''' headers: Accept: - application/json @@ -216,8 +216,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -225,7 +225,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub","name":"testingpythontestcaseeventhub","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:54:15.697Z","updatedAt":"2020-05-13T04:54:16.473Z","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:11:52.403Z","updatedAt":"2020-09-07T06:11:52.653Z","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' headers: cache-control: - no-cache @@ -234,16 +234,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:16 GMT + - Mon, 07 Sep 2020 06:11:52 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -267,8 +267,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -276,7 +276,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub","name":"testingpythontestcaseeventhub","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:54:15.697","updatedAt":"2020-05-13T04:54:16.473","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:11:52.403","updatedAt":"2020-09-07T06:11:52.653","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' headers: cache-control: - no-cache @@ -285,16 +285,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:17 GMT + - Mon, 07 Sep 2020 06:11:53 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -316,8 +316,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -325,7 +325,7 @@ interactions: response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub","name":"testingpythontestcaseeventhub","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:54:15.697","updatedAt":"2020-05-13T04:54:16.473","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}]}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:11:52.403","updatedAt":"2020-09-07T06:11:52.653","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}]}' headers: cache-control: - no-cache @@ -334,16 +334,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:17 GMT + - Mon, 07 Sep 2020 06:11:54 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -358,11 +358,11 @@ interactions: code: 200 message: OK - request: - body: 'b''{"properties": {"messageRetentionInDays": 6, "partitionCount": 4, "captureDescription": - {"enabled": true, "encoding": "Avro", "intervalInSeconds": 130, "sizeLimitInBytes": - 10485900, "destination": {"name": "EventHubArchive.AzureBlockBlob", "properties": - {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", - "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}''' + body: 'b''b\''{"properties": {"messageRetentionInDays": 6, "partitionCount": 4, + "captureDescription": {"enabled": true, "encoding": "Avro", "intervalInSeconds": + 130, "sizeLimitInBytes": 10485900, "destination": {"name": "EventHubArchive.AzureBlockBlob", + "properties": {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", + "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}\''''' headers: Accept: - application/json @@ -375,8 +375,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -393,16 +393,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:19 GMT + - Mon, 07 Sep 2020 06:11:55 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -430,8 +430,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -448,16 +448,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:20 GMT + - Mon, 07 Sep 2020 06:11:55 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -481,8 +481,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -499,16 +499,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:21 GMT + - Mon, 07 Sep 2020 06:11:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -534,8 +534,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -552,16 +552,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:22 GMT + - Mon, 07 Sep 2020 06:11:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -585,8 +585,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -603,16 +603,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:22 GMT + - Mon, 07 Sep 2020 06:11:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -636,15 +636,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub/authorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=EHAEtDzWxNeky3IG66Bg/3ZtpKddtoMB9d+rVSil2Og=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=VFFZafVRQ/9PO6h9KrZBInoC8fOYNFsOqeTWD3RuUJo=;EntityPath=testingpythontestcaseeventhub","primaryKey":"EHAEtDzWxNeky3IG66Bg/3ZtpKddtoMB9d+rVSil2Og=","secondaryKey":"VFFZafVRQ/9PO6h9KrZBInoC8fOYNFsOqeTWD3RuUJo=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=+ea+KQSSah6hTQRxovghjH9gdGOhwzFBakDGXEucGew=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=qHBOZ34us8agBWAhZ+ctQGXh93A7d8mOWJ+ERDn3CuY=;EntityPath=testingpythontestcaseeventhub","primaryKey":"+ea+KQSSah6hTQRxovghjH9gdGOhwzFBakDGXEucGew=","secondaryKey":"qHBOZ34us8agBWAhZ+ctQGXh93A7d8mOWJ+ERDn3CuY=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -653,16 +653,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:23 GMT + - Mon, 07 Sep 2020 06:11:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -690,15 +690,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=j+khRqDaYr43UWZ6GMcdnZk9ka3T1ur9KpkHEZ4LrFQ=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=VFFZafVRQ/9PO6h9KrZBInoC8fOYNFsOqeTWD3RuUJo=;EntityPath=testingpythontestcaseeventhub","primaryKey":"j+khRqDaYr43UWZ6GMcdnZk9ka3T1ur9KpkHEZ4LrFQ=","secondaryKey":"VFFZafVRQ/9PO6h9KrZBInoC8fOYNFsOqeTWD3RuUJo=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=XRajMmuZHBefjlX7hRj+y/KE9uj5V5c1d5YrrQL14uc=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=qHBOZ34us8agBWAhZ+ctQGXh93A7d8mOWJ+ERDn3CuY=;EntityPath=testingpythontestcaseeventhub","primaryKey":"XRajMmuZHBefjlX7hRj+y/KE9uj5V5c1d5YrrQL14uc=","secondaryKey":"qHBOZ34us8agBWAhZ+ctQGXh93A7d8mOWJ+ERDn3CuY=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -707,16 +707,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:24 GMT + - Mon, 07 Sep 2020 06:11:58 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -744,15 +744,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/eventhubs/testingpythontestcaseeventhub/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=j+khRqDaYr43UWZ6GMcdnZk9ka3T1ur9KpkHEZ4LrFQ=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=ym34jbw+PrKpX1SSgjsefkDAQ5Hem0Hq11WlHaNWrW4=;EntityPath=testingpythontestcaseeventhub","primaryKey":"j+khRqDaYr43UWZ6GMcdnZk9ka3T1ur9KpkHEZ4LrFQ=","secondaryKey":"ym34jbw+PrKpX1SSgjsefkDAQ5Hem0Hq11WlHaNWrW4=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=XRajMmuZHBefjlX7hRj+y/KE9uj5V5c1d5YrrQL14uc=;EntityPath=testingpythontestcaseeventhub","secondaryConnectionString":"Endpoint=sb://pythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=mJ7n8qrEjZ2QXo0rUNN4ny+96++Og42ImMfQp9aMhNA=;EntityPath=testingpythontestcaseeventhub","primaryKey":"XRajMmuZHBefjlX7hRj+y/KE9uj5V5c1d5YrrQL14uc=","secondaryKey":"mJ7n8qrEjZ2QXo0rUNN4ny+96++Og42ImMfQp9aMhNA=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -761,16 +761,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:54:25 GMT + - Mon, 07 Sep 2020 06:11:58 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -796,8 +796,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -811,16 +811,16 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:54:26 GMT + - Mon, 07 Sep 2020 06:11:59 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -842,8 +842,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -857,16 +857,16 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:54:27 GMT + - Mon, 07 Sep 2020 06:12:00 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -888,8 +888,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -903,7 +903,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:54:29 GMT + - Mon, 07 Sep 2020 06:12:01 GMT expires: - '-1' location: @@ -911,10 +911,10 @@ interactions: pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -934,8 +934,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_test_eh_eventhub_curdc14f1302/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceEventhub/operationresults/pythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: @@ -947,7 +947,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:55:00 GMT + - Mon, 07 Sep 2020 06:12:33 GMT expires: - '-1' pragma: diff --git a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_check_name_availability.test_eh_namespace_available.yaml b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_check_name_availability.test_eh_namespace_available.yaml index d60a29a2d10f..53c7ccbe6eec 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_check_name_availability.test_eh_namespace_available.yaml +++ b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_check_name_availability.test_eh_namespace_available.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,16 +30,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:55:08 GMT + - Mon, 07 Sep 2020 06:12:39 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: diff --git a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_consumergroup.test_eh_consumergroup_curd.yaml b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_consumergroup.test_eh_consumergroup_curd.yaml index 5998d9a6f740..7bb1323e9e58 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_consumergroup.test_eh_consumergroup_curd.yaml +++ b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_consumergroup.test_eh_consumergroup_curd.yaml @@ -14,8 +14,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -23,7 +23,7 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup","name":"pythontestcaseeventhubnamespaceConsumerGroup","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-05-13T04:55:21.157Z","updatedAt":"2020-05-13T04:55:21.157Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-09-07T06:12:50.117Z","updatedAt":"2020-09-07T06:12:50.117Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache @@ -32,16 +32,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:55:22 GMT + - Mon, 07 Sep 2020 06:12:50 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -65,14 +65,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup","name":"pythontestcaseeventhubnamespaceConsumerGroup","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-05-13T04:55:21.157Z","updatedAt":"2020-05-13T04:55:21.157Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-09-07T06:12:50.117Z","updatedAt":"2020-09-07T06:12:50.117Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache @@ -81,16 +81,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:55:52 GMT + - Mon, 07 Sep 2020 06:13:22 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -112,14 +112,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup","name":"pythontestcaseeventhubnamespaceConsumerGroup","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-05-13T04:55:21.157Z","updatedAt":"2020-05-13T04:56:04.907Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-09-07T06:12:50.117Z","updatedAt":"2020-09-07T06:13:32.903Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache @@ -128,16 +128,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:22 GMT + - Mon, 07 Sep 2020 06:13:53 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -159,8 +159,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -168,7 +168,7 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup","name":"pythontestcaseeventhubnamespaceConsumerGroup","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-05-13T04:55:21.157Z","updatedAt":"2020-05-13T04:56:04.907Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespaceconsumergroup","createdAt":"2020-09-07T06:12:50.117Z","updatedAt":"2020-09-07T06:13:32.903Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespaceConsumerGroup.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache @@ -177,16 +177,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:23 GMT + - Mon, 07 Sep 2020 06:13:54 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -199,11 +199,11 @@ interactions: code: 200 message: OK - request: - body: 'b''{"properties": {"messageRetentionInDays": 4, "partitionCount": 4, "captureDescription": - {"enabled": true, "encoding": "Avro", "intervalInSeconds": 120, "sizeLimitInBytes": - 10485763, "destination": {"name": "EventHubArchive.AzureBlockBlob", "properties": - {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", - "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}''' + body: 'b''b\''{"properties": {"messageRetentionInDays": 4, "partitionCount": 4, + "captureDescription": {"enabled": true, "encoding": "Avro", "intervalInSeconds": + 120, "sizeLimitInBytes": 10485763, "destination": {"name": "EventHubArchive.AzureBlockBlob", + "properties": {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", + "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}\''''' headers: Accept: - application/json @@ -216,8 +216,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -225,25 +225,25 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubConsumerGroup","name":"testingpythontestcaseeventhubConsumerGroup","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:56:27.407Z","updatedAt":"2020-05-13T04:56:28.303Z","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:13:55.95Z","updatedAt":"2020-09-07T06:13:56.437Z","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' headers: cache-control: - no-cache content-length: - - '1099' + - '1098' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:28 GMT + - Mon, 07 Sep 2020 06:13:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -267,8 +267,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -276,25 +276,25 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubConsumerGroup","name":"testingpythontestcaseeventhubConsumerGroup","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:56:27.407","updatedAt":"2020-05-13T04:56:28.303","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:13:55.95","updatedAt":"2020-09-07T06:13:56.437","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}' headers: cache-control: - no-cache content-length: - - '1097' + - '1096' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:28 GMT + - Mon, 07 Sep 2020 06:13:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -316,8 +316,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -325,25 +325,25 @@ interactions: response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubconsumergroup","name":"testingpythontestcaseeventhubconsumergroup","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-05-13T04:56:27.407","updatedAt":"2020-05-13T04:56:28.303","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}]}' + US","properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","createdAt":"2020-09-07T06:13:55.95","updatedAt":"2020-09-07T06:13:56.437","partitionIds":["0","1","2","3"],"captureDescription":{"enabled":true,"encoding":"Avro","destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}},"intervalInSeconds":120,"sizeLimitInBytes":10485763}}}]}' headers: cache-control: - no-cache content-length: - - '1109' + - '1108' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:29 GMT + - Mon, 07 Sep 2020 06:13:58 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -358,11 +358,11 @@ interactions: code: 200 message: OK - request: - body: 'b''{"properties": {"messageRetentionInDays": 6, "partitionCount": 4, "captureDescription": - {"enabled": true, "encoding": "Avro", "intervalInSeconds": 130, "sizeLimitInBytes": - 10485900, "destination": {"name": "EventHubArchive.AzureBlockBlob", "properties": - {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", - "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}''' + body: 'b''b\''{"properties": {"messageRetentionInDays": 6, "partitionCount": 4, + "captureDescription": {"enabled": true, "encoding": "Avro", "intervalInSeconds": + 130, "sizeLimitInBytes": 10485900, "destination": {"name": "EventHubArchive.AzureBlockBlob", + "properties": {"storageAccountResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.Storage/storageAccounts/arjunteststorage", + "blobContainer": "container", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}\''''' headers: Accept: - application/json @@ -375,8 +375,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -393,16 +393,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:30 GMT + - Mon, 07 Sep 2020 06:13:59 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -430,8 +430,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -439,7 +439,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubConsumerGroup/consumergroups/testingpythontestcaseconsumergroup","name":"testingpythontestcaseconsumergroup","type":"Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups","location":"West - US","properties":{"createdAt":"2020-05-13T04:56:33.0719833Z","updatedAt":"2020-05-13T04:56:33.0719833Z","userMetadata":"Testing + US","properties":{"createdAt":"2020-09-07T06:14:00.5145035Z","updatedAt":"2020-09-07T06:14:00.5145035Z","userMetadata":"Testing the User Metadata"}}' headers: cache-control: @@ -449,16 +449,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:32 GMT + - Mon, 07 Sep 2020 06:14:00 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -482,8 +482,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -491,7 +491,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubConsumerGroup/consumergroups/testingpythontestcaseconsumergroup","name":"testingpythontestcaseconsumergroup","type":"Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups","location":"West - US","properties":{"createdAt":"2020-05-13T04:56:33.072Z","updatedAt":"2020-05-13T04:56:33.072Z","userMetadata":"Testing + US","properties":{"createdAt":"2020-09-07T06:14:00.511Z","updatedAt":"2020-09-07T06:14:00.511Z","userMetadata":"Testing the User Metadata"}}' headers: cache-control: @@ -501,16 +501,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:32 GMT + - Mon, 07 Sep 2020 06:14:01 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -536,8 +536,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -545,7 +545,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/eventhubs/testingpythontestcaseeventhubConsumerGroup/consumergroups/testingpythontestcaseconsumergroup","name":"testingpythontestcaseconsumergroup","type":"Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups","location":"West - US","properties":{"createdAt":"2020-05-13T04:56:34.4782703Z","updatedAt":"2020-05-13T04:56:34.4782703Z","userMetadata":"update + US","properties":{"createdAt":"2020-09-07T06:14:02.9305983Z","updatedAt":"2020-09-07T06:14:02.9305983Z","userMetadata":"update user matadata for testing"}}' headers: cache-control: @@ -555,16 +555,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:56:33 GMT + - Mon, 07 Sep 2020 06:14:03 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -590,8 +590,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -605,16 +605,16 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:56:34 GMT + - Mon, 07 Sep 2020 06:14:03 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -636,8 +636,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -651,16 +651,16 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:56:35 GMT + - Mon, 07 Sep 2020 06:14:04 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -682,8 +682,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -697,7 +697,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:56:38 GMT + - Mon, 07 Sep 2020 06:14:07 GMT expires: - '-1' location: @@ -705,10 +705,10 @@ interactions: pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -728,8 +728,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_consumergroup_test_eh_consumergroup_curd82b51b32/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespaceConsumerGroup/operationresults/pythontestcaseeventhubnamespaceConsumerGroup?api-version=2017-04-01 response: @@ -741,7 +741,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:57:08 GMT + - Mon, 07 Sep 2020 06:14:37 GMT expires: - '-1' pragma: diff --git a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_namespace.test_eh_namespace_curd.yaml b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_namespace.test_eh_namespace_curd.yaml index 635652915c2c..8f8dba58639f 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_namespace.test_eh_namespace_curd.yaml +++ b/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_azure_mgmt_eventhub_namespace.test_eh_namespace_curd.yaml @@ -14,8 +14,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -23,25 +23,25 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:57:26.653Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:14:54.51Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '774' + - '772' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:57:28 GMT + - Mon, 07 Sep 2020 06:14:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -65,23 +65,23 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:57:26.653Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:14:54.51Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '774' + - '772' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:57:59 GMT + - Mon, 07 Sep 2020 06:15:26 GMT expires: - '-1' pragma: @@ -112,23 +112,23 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:58:16.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:15:38.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '771' + - '770' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:29 GMT + - Mon, 07 Sep 2020 06:15:56 GMT expires: - '-1' pragma: @@ -159,8 +159,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -168,25 +168,25 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:58:16.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:15:38.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '771' + - '770' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:30 GMT + - Mon, 07 Sep 2020 06:15:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -208,8 +208,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -217,25 +217,25 @@ interactions: response: body: string: '{"value":[{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:58:16.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}]}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:15:38.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}]}' headers: cache-control: - no-cache content-length: - - '783' + - '782' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:30 GMT + - Mon, 07 Sep 2020 06:15:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -257,36 +257,37 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventHub/namespaces?api-version=2017-04-01 response: body: - string: '{"value":[{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-05-13T04:57:26.653Z","updatedAt":"2020-05-13T04:58:16.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}},{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/weidongtest/providers/Microsoft.EventHub/namespaces/pythontestcaseeventhubnamespace","name":"pythontestcaseeventhubnamespace","type":"Microsoft.EventHub/Namespaces","location":"South - Central US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcaseeventhubnamespace","createdAt":"2020-05-13T03:25:50.77Z","updatedAt":"2020-05-13T03:26:40.333Z","serviceBusEndpoint":"https://pythontestcaseeventhubnamespace.servicebus.windows.net:443/","status":"Active"}},{"sku":{"name":"Basic","tier":"Basic","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wenjiefu/providers/Microsoft.EventHub/namespaces/wenjiefuhub1","name":"wenjiefuhub1","type":"Microsoft.EventHub/Namespaces","location":"West - US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":false,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:wenjiefuhub1","createdAt":"2020-03-27T06:50:32.733Z","updatedAt":"2020-03-27T06:51:22.747Z","serviceBusEndpoint":"https://wenjiefuhub1.servicebus.windows.net:443/","status":"Active"}}]}' + string: '{"value":[{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestgmgo2m3ptjhxyjmnds6wy63cj4sknfhqjdkhyadp3gbhlwueog4poabiol5mzvtfum2r/providers/Microsoft.EventHub/namespaces/codegenlivetest","name":"codegenlivetest","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:codegenlivetest","createdAt":"2020-09-07T06:00:39.973Z","updatedAt":"2020-09-07T06:01:24.68Z","serviceBusEndpoint":"https://codegenlivetest.servicebus.windows.net:443/","status":"Active"}},{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace","name":"pythontestcasenamespace","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:pythontestcasenamespace","createdAt":"2020-09-07T06:14:54.51Z","updatedAt":"2020-09-07T06:15:38.59Z","serviceBusEndpoint":"https://pythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}},{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/7vx5onejribdkm3bpke5mddlz57worfeu7edc4sdd5xec2dng2m4hhit6yy7d5u6asotq6vmh6a/providers/Microsoft.EventHub/namespaces/myNamespacexxyyzzykk","name":"myNamespacexxyyzzykk","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:mynamespacexxyyzzykk","createdAt":"2020-08-18T05:04:57.527Z","updatedAt":"2020-08-18T05:11:09.503Z","serviceBusEndpoint":"https://myNamespacexxyyzzykk.servicebus.windows.net:443/","status":"Active","alternateName":"postmigrationxxxy"}},{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_servicebus_namespace_test_migration_configsa9a51771/providers/Microsoft.EventHub/namespaces/myNamespacexxyyzzy","name":"myNamespacexxyyzzy","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:mynamespacexxyyzzy","createdAt":"2020-08-17T08:07:13.307Z","updatedAt":"2020-08-17T08:27:01.143Z","serviceBusEndpoint":"https://myNamespacexxyyzzy.servicebus.windows.net:443/","status":"Active","alternateName":"postmigrationxxy"}}]}' headers: cache-control: - no-cache content-length: - - '2180' + - '3096' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:31 GMT + - Mon, 07 Sep 2020 06:15:58 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -308,8 +309,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -326,16 +327,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:32 GMT + - Mon, 07 Sep 2020 06:16:05 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -361,8 +362,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -379,16 +380,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:38 GMT + - Mon, 07 Sep 2020 06:16:11 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -412,8 +413,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -430,16 +431,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:39 GMT + - Mon, 07 Sep 2020 06:16:12 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -465,8 +466,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -483,16 +484,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:45 GMT + - Mon, 07 Sep 2020 06:16:19 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -516,8 +517,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -535,16 +536,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:46 GMT + - Mon, 07 Sep 2020 06:16:20 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -568,15 +569,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace/authorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=zc/4d6MIdZBuu0QjKaeMIuVceSXQy2uZuNrpQdrE1+o=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=k59102AJAU9vGzE40y3liYFxl3WBxYVGvRpCSw4ao6w=","primaryKey":"zc/4d6MIdZBuu0QjKaeMIuVceSXQy2uZuNrpQdrE1+o=","secondaryKey":"k59102AJAU9vGzE40y3liYFxl3WBxYVGvRpCSw4ao6w=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=8XFpoUmE8BV0sQ0I81dN/E4kC/MDY9GaJsQWy7Gs67c=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=U41kECbBHQn5p5zxprt/YiDqhb240+vuaL/8/zRp5PM=","primaryKey":"8XFpoUmE8BV0sQ0I81dN/E4kC/MDY9GaJsQWy7Gs67c=","secondaryKey":"U41kECbBHQn5p5zxprt/YiDqhb240+vuaL/8/zRp5PM=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -585,16 +586,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:47 GMT + - Mon, 07 Sep 2020 06:16:21 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -622,15 +623,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=7CQpD7cFTwgy9BrCL8yHa/ISs5iR1b4C+jZjaEatXTk=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=k59102AJAU9vGzE40y3liYFxl3WBxYVGvRpCSw4ao6w=","primaryKey":"7CQpD7cFTwgy9BrCL8yHa/ISs5iR1b4C+jZjaEatXTk=","secondaryKey":"k59102AJAU9vGzE40y3liYFxl3WBxYVGvRpCSw4ao6w=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=WwoEC6i8eWt4ZC3G7ASE7wtehtXYHDwIRJJ1WIASllQ=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=U41kECbBHQn5p5zxprt/YiDqhb240+vuaL/8/zRp5PM=","primaryKey":"WwoEC6i8eWt4ZC3G7ASE7wtehtXYHDwIRJJ1WIASllQ=","secondaryKey":"U41kECbBHQn5p5zxprt/YiDqhb240+vuaL/8/zRp5PM=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -639,16 +640,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:53 GMT + - Mon, 07 Sep 2020 06:16:27 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -676,15 +677,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.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_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=7CQpD7cFTwgy9BrCL8yHa/ISs5iR1b4C+jZjaEatXTk=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kRSF8lkAg0Dqdc3uHTSBnhjSifltN4xEiPuCGrpIgpA=","primaryKey":"7CQpD7cFTwgy9BrCL8yHa/ISs5iR1b4C+jZjaEatXTk=","secondaryKey":"kRSF8lkAg0Dqdc3uHTSBnhjSifltN4xEiPuCGrpIgpA=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=WwoEC6i8eWt4ZC3G7ASE7wtehtXYHDwIRJJ1WIASllQ=","secondaryConnectionString":"Endpoint=sb://pythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=WOK92esNnTJe5eulKpCsEqypWf3IZGnVGi5MjpyGdQk=","primaryKey":"WwoEC6i8eWt4ZC3G7ASE7wtehtXYHDwIRJJ1WIASllQ=","secondaryKey":"WOK92esNnTJe5eulKpCsEqypWf3IZGnVGi5MjpyGdQk=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -693,16 +694,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:58:59 GMT + - Mon, 07 Sep 2020 06:16:34 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -728,8 +729,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -743,16 +744,16 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:59:06 GMT + - Mon, 07 Sep 2020 06:16:40 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -772,8 +773,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -790,7 +791,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 04:59:06 GMT + - Mon, 07 Sep 2020 06:16:41 GMT expires: - '-1' pragma: @@ -823,8 +824,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -838,7 +839,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:59:09 GMT + - Mon, 07 Sep 2020 06:16:42 GMT expires: - '-1' location: @@ -869,8 +870,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.4.34 - azure-mgmt-eventhub/3.1.0 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_eventhub_namespace_test_eh_namespace_curdac24175a/providers/Microsoft.EventHub/namespaces/pythontestcasenamespace/operationresults/pythontestcasenamespace?api-version=2017-04-01 response: @@ -882,7 +883,7 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 04:59:40 GMT + - Mon, 07 Sep 2020 06:17:13 GMT expires: - '-1' pragma: diff --git a/sdk/eventhub/azure-mgmt-eventhub/tests/test_azure_mgmt_eventhub.py b/sdk/eventhub/azure-mgmt-eventhub/tests/test_azure_mgmt_eventhub.py index cb00df0b7951..fe1b64bcaea1 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/tests/test_azure_mgmt_eventhub.py +++ b/sdk/eventhub/azure-mgmt-eventhub/tests/test_azure_mgmt_eventhub.py @@ -68,6 +68,8 @@ def test_eh_eventhub_curd(self, resource_group, location): self.assertEqual(createdeventhubresponse.name,eventhub_name) self.assertEqual(createdeventhubresponse.capture_description.interval_in_seconds, 120) + + #Get the created eventhub geteventhubresponse = self.eventhub_client.event_hubs.get(resource_group_name, namespace_name, eventhub_name) self.assertEqual(geteventhubresponse.name, eventhub_name)