From ba7f8c35e22be292bdd8b83e25b0bdffc4000165 Mon Sep 17 00:00:00 2001 From: davadhani Date: Wed, 13 Jul 2022 14:26:53 +0530 Subject: [PATCH] adding MinTLS to namespace cmdlets and SupportsScaling to cluster cmdlets --- .../cli/command_modules/eventhubs/_params.py | 8 +- .../cli/command_modules/eventhubs/custom.py | 37 +- .../test_eh_namespace_premium_standard.yaml | 2235 ++++++++ .../test_eh_self_serve_cluster.yaml | 4740 +++++++++++++++++ .../tests/latest/test_cluster_commands.py | 57 + ...venthub_commands_namespace_premium_test.py | 219 +- 6 files changed, 7230 insertions(+), 66 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_namespace_premium_standard.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_self_serve_cluster.yaml diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/_params.py b/src/azure-cli/azure/cli/command_modules/eventhubs/_params.py index ada4e673645..7dab0c336b9 100644 --- a/src/azure-cli/azure/cli/command_modules/eventhubs/_params.py +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/_params.py @@ -17,7 +17,7 @@ def load_arguments_eh(self, _): from azure.cli.command_modules.eventhubs._validator import validate_storageaccount, validate_partner_namespace, validate_rights from knack.arguments import CLIArgumentType from azure.cli.core.profiles import ResourceType - (KeyType, AccessRights, SkuName, KeySource) = self.get_models('KeyType', 'AccessRights', 'SkuName', 'KeySource', resource_type=ResourceType.MGMT_EVENTHUB) + (KeyType, AccessRights, SkuName, KeySource, TlsVersion) = self.get_models('KeyType', 'AccessRights', 'SkuName', 'KeySource', 'TlsVersion', resource_type=ResourceType.MGMT_EVENTHUB) from azure.cli.command_modules.eventhubs.action import AlertAddEncryption, ConstructPolicy rights_arg_type = CLIArgumentType(options_list=['--rights'], nargs='+', arg_type=get_enum_type(AccessRights), validator=validate_rights, help='Space-separated list of Authorization rule rights') @@ -58,6 +58,7 @@ def load_arguments_eh(self, _): help='Enable System Assigned Identity') c.argument('mi_user_assigned', arg_group='Managed Identity', nargs='+', help='List of User Assigned Identity ids.') c.argument('encryption_config', action=AlertAddEncryption, nargs='+', help='List of KeyVaultProperties objects.') + c.argument('minimum_tls_version', arg_type=get_enum_type(TlsVersion), options_list=['--minimum-tls-version', '--min-tls'], help='The minimum TLS version for the cluster to support, e.g. 1.2') with self.argument_context('eventhubs namespace create', min_api='2021-06-01-preview') as c: c.argument('cluster_arm_id', options_list=['--cluster-arm-id'], is_preview=True, help='Cluster ARM ID of the Namespace') @@ -79,12 +80,13 @@ def load_arguments_eh(self, _): c.argument('cluster_name', arg_type=name_type, id_part=None, help='Name of Cluster') with self.argument_context('eventhubs cluster create') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part=None, help='Location of the Cluster, for locations of available pre-provision clusters, please check az evetnhubs ') - c.argument('capacity', type=int, help='Capacity for Sku, allowed value : 1') + c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part=None, help='Location of the Cluster, for locations of available pre-provision clusters, please check az event hubs ') + c.argument('supports_scaling', arg_type=get_three_state_flag(), help='A value that indicates whether Scaling is Supported.') for scope in ['eventhubs cluster create', 'eventhubs cluster update']: with self.argument_context(scope) as c: c.argument('tags', arg_type=tags_type) + c.argument('capacity', type=int, help='Capacity for Sku, allowed value : 1') # region Namespace Authorizationrule with self.argument_context('eventhubs namespace authorization-rule list') as c: diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/custom.py b/src/azure-cli/azure/cli/command_modules/eventhubs/custom.py index 78443013990..d14b62c910f 100644 --- a/src/azure-cli/azure/cli/command_modules/eventhubs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/custom.py @@ -16,7 +16,7 @@ def cli_namespace_create(cmd, client, resource_group_name, namespace_name, location=None, tags=None, sku='Standard', capacity=None, is_auto_inflate_enabled=None, maximum_throughput_units=None, is_kafka_enabled=None, default_action=None, identity=None, zone_redundant=None, cluster_arm_id=None, trusted_service_access_enabled=None, - disable_local_auth=None, mi_system_assigned=None, mi_user_assigned=None, encryption_config=None): + disable_local_auth=None, mi_system_assigned=None, mi_user_assigned=None, encryption_config=None, minimum_tls_version=None): EHNamespace = cmd.get_models('EHNamespace', resource_type=ResourceType.MGMT_EVENTHUB) Sku = cmd.get_models('Sku', resource_type=ResourceType.MGMT_EVENTHUB) Identity = cmd.get_models('Identity', resource_type=ResourceType.MGMT_EVENTHUB) @@ -35,6 +35,7 @@ def cli_namespace_create(cmd, client, resource_group_name, namespace_name, locat ehparam.zone_redundant = zone_redundant ehparam.disable_local_auth = disable_local_auth ehparam.cluster_arm_id = cluster_arm_id + ehparam.minimum_tls_version = minimum_tls_version if identity or mi_system_assigned: ehparam.identity = Identity(type=IdentityType.SYSTEM_ASSIGNED) @@ -72,7 +73,7 @@ def cli_namespace_create(cmd, client, resource_group_name, namespace_name, locat def cli_namespace_update(cmd, client, instance, tags=None, sku=None, capacity=None, is_auto_inflate_enabled=None, maximum_throughput_units=None, is_kafka_enabled=None, default_action=None, identity=None, key_source=None, key_name=None, key_vault_uri=None, key_version=None, trusted_service_access_enabled=None, - disable_local_auth=None, require_infrastructure_encryption=None): + disable_local_auth=None, require_infrastructure_encryption=None, minimum_tls_version=None): Encryption = cmd.get_models('Encryption', resource_type=ResourceType.MGMT_EVENTHUB) KeyVaultProperties = cmd.get_models('KeyVaultProperties', resource_type=ResourceType.MGMT_EVENTHUB) Identity = cmd.get_models('Identity', resource_type=ResourceType.MGMT_EVENTHUB) @@ -92,15 +93,18 @@ def cli_namespace_update(cmd, client, instance, tags=None, sku=None, capacity=No if is_auto_inflate_enabled is not None: instance.is_auto_inflate_enabled = is_auto_inflate_enabled - if maximum_throughput_units: + if maximum_throughput_units is not None: instance.maximum_throughput_units = maximum_throughput_units - if is_kafka_enabled: + if is_kafka_enabled is not None: instance.kafka_enabled = is_kafka_enabled + if minimum_tls_version: + instance.minimum_tls_version = minimum_tls_version + if identity is True and instance.identity is None: instance.identity = Identity(type=IdentityType.SYSTEM_ASSIGNED) - elif instance.identity and instance.encryption is None: + elif instance.identity and (key_name or key_vault_uri or key_version or key_source): instance.encryption = Encryption() if key_source: instance.encryption.key_source = key_source @@ -118,7 +122,7 @@ def cli_namespace_update(cmd, client, instance, tags=None, sku=None, capacity=No netwrokruleset.trusted_service_access_enabled = trusted_service_access_enabled client.create_or_update_network_rule_set(resourcegroup, instance.name, netwrokruleset) - if disable_local_auth: + if disable_local_auth is not None: instance.disable_local_auth = disable_local_auth return instance @@ -138,7 +142,7 @@ def cli_namespace_exists(client, name): # Cluster region -def cli_cluster_create(cmd, client, resource_group_name, cluster_name, location=None, tags=None, capacity=None): +def cli_cluster_create(cmd, client, resource_group_name, cluster_name, location=None, tags=None, capacity=None, supports_scaling=None): Cluster = cmd.get_models('Cluster', resource_type=ResourceType.MGMT_EVENTHUB) ClusterSku = cmd.get_models('ClusterSku', resource_type=ResourceType.MGMT_EVENTHUB) @@ -146,9 +150,17 @@ def cli_cluster_create(cmd, client, resource_group_name, cluster_name, location= ehparam = Cluster() ehparam.sku = ClusterSku(name='Dedicated') ehparam.location = location - if not capacity: + + if capacity: + ehparam.sku.capacity = capacity + else: ehparam.sku.capacity = 1 + + if supports_scaling is not None: + ehparam.supports_scaling = supports_scaling + ehparam.tags = tags + cluster_result = client.begin_create_or_update( resource_group_name=resource_group_name, cluster_name=cluster_name, @@ -157,10 +169,15 @@ def cli_cluster_create(cmd, client, resource_group_name, cluster_name, location= return cluster_result -def cli_cluster_update(cmd, instance, tags=None): +def cli_cluster_update(cmd, instance, tags=None, capacity=None): if cmd.supported_api_version(resource_type=ResourceType.MGMT_EVENTHUB, min_api='2016-06-01-preview'): + if tags: instance.tags = tags + + if capacity: + instance.sku.capacity = capacity + return instance @@ -212,7 +229,7 @@ def cli_eheventhub_create(cmd, client, resource_group_name, namespace_name, even if status: eventhubparameter1.status = status - if enabled and enabled is True: + if enabled is not None and enabled is True: eventhubparameter1.capture_description = CaptureDescription( enabled=enabled, skip_empty_archives=skip_empty_archives, diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_namespace_premium_standard.yaml b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_namespace_premium_standard.yaml new file mode 100644 index 00000000000..4b1993d4588 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_namespace_premium_standard.yaml @@ -0,0 +1,2235 @@ +interactions: +- request: + body: '{"name": "eventhubs-nscli000003"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace exists + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + ParameterSetName: + - --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventHub/checkNameAvailability?api-version=2022-01-01-preview + response: + body: + string: '{"nameAvailable":true,"reason":"None","message":null}' + headers: + cache-control: + - no-cache + content-length: + - '53' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:28:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 10}, "properties": {"minimumTlsVersion": + "1.1", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 18, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + Content-Length: + - '330' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --capacity --maximum-throughput-units --sku --location + --zone-redundant --tags --enable-auto-inflate --disable-local-auth --enable-kafka + --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:28:14.9Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:28:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --capacity --maximum-throughput-units --sku --location + --zone-redundant --tags --enable-auto-inflate --disable-local-auth --enable-kafka + --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:28:14.9Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:28:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --capacity --maximum-throughput-units --sku --location + --zone-redundant --tags --enable-auto-inflate --disable-local-auth --enable-kafka + --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:02.13Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:29:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --capacity --maximum-throughput-units --sku --location + --zone-redundant --tags --enable-auto-inflate --disable-local-auth --enable-kafka + --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:02.13Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:29:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:02.13Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:29:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 10}, "properties": {"minimumTlsVersion": + "1.1", "isAutoInflateEnabled": false, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 0, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:29.14Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:29:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:31.733Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:29:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:29:31.733Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:30:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 10}, "properties": {"minimumTlsVersion": + "1.1", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 18, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:11Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:30:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --enable-auto-inflate --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:14.127Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:30:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":10},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:14.127Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:30:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.1", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 18, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:54.96Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:30:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:56.78Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:31:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":18,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:30:56.78Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:31:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.1", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 25, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:31:40.81Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:31:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --maximum-throughput-units + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:31:42.847Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:32:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.1","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:31:42.847Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:32:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.0", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 25, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.0","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:32:22.16Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:32:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.0","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:32:25.523Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:32:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.0","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:32:25.523Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:32:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.2", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 25, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:01.767Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:33:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --minimum-tls-version + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:05.327Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:33:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:05.327Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:33:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.2", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 25, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '332' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:40.88Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:33:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:42.37Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:34:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:33:42.37Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:34:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "tags": {"k1": "v1", "k2": "v2"}, "sku": {"name": + "Standard", "tier": "Standard", "capacity": 12}, "properties": {"minimumTlsVersion": + "1.2", "isAutoInflateEnabled": true, "publicNetworkAccess": "Enabled", "maximumThroughputUnits": + 25, "kafkaEnabled": true, "zoneRedundant": true, "disableLocalAuth": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Updating","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:34:25.153Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:34:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disable-local-auth + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":12},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003","name":"eventhubs-nscli000003","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{"k1":"v1","k2":"v2"},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":true,"zoneRedundant":true,"isAutoInflateEnabled":true,"maximumThroughputUnits":25,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000003","createdAt":"2022-07-13T08:28:14.9Z","updatedAt":"2022-07-13T08:34:28.25Z","serviceBusEndpoint":"https://eventhubs-nscli000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:34:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "sku": {"name": "Standard", "tier": "Standard"}, + "properties": {"publicNetworkAccess": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000004","createdAt":"2022-07-13T08:35:00.833Z","updatedAt":"2022-07-13T08:35:00.833Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '802' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:35:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000004","createdAt":"2022-07-13T08:35:00.833Z","updatedAt":"2022-07-13T08:35:00.833Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '802' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:35:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000004","createdAt":"2022-07-13T08:35:00.833Z","updatedAt":"2022-07-13T08:35:52.713Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '800' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:36:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000004","createdAt":"2022-07-13T08:35:00.833Z","updatedAt":"2022-07-13T08:35:52.713Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '800' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:36:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "sku": {"name": "Premium", "tier": "Premium"}, "properties": + {"publicNetworkAccess": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + Content-Length: + - '119' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005","name":"eventhubs-nscli000005","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000005","createdAt":"2022-07-13T08:36:11.677Z","updatedAt":"2022-07-13T08:36:11.677Z","serviceBusEndpoint":"https://eventhubs-nscli000005.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '799' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:36:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005","name":"eventhubs-nscli000005","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000005","createdAt":"2022-07-13T08:36:11.677Z","updatedAt":"2022-07-13T08:36:11.677Z","serviceBusEndpoint":"https://eventhubs-nscli000005.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '799' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:36:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005","name":"eventhubs-nscli000005","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000005","createdAt":"2022-07-13T08:36:11.677Z","updatedAt":"2022-07-13T08:36:11.677Z","serviceBusEndpoint":"https://eventhubs-nscli000005.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '799' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:37:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005","name":"eventhubs-nscli000005","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000005","createdAt":"2022-07-13T08:36:11.677Z","updatedAt":"2022-07-13T08:37:33.593Z","serviceBusEndpoint":"https://eventhubs-nscli000005.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '797' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:37:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Premium","tier":"Premium","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000005","name":"eventhubs-nscli000005","type":"Microsoft.EventHub/Namespaces","location":"East + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":true,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-nscli000005","createdAt":"2022-07-13T08:36:11.677Z","updatedAt":"2022-07-13T08:37:33.593Z","serviceBusEndpoint":"https://eventhubs-nscli000005.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '797' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 Jul 2022 08:37:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000003?api-version=2022-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 13 Jul 2022 08:37:48 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/locations/eastus/operationStatus/eventhubs-nscli000003?api-version=2022-01-01-preview&resourceType=Namespace + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/locations/eastus/operationStatus/eventhubs-nscli000003?api-version=2022-01-01-preview&resourceType=Namespace + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 13 Jul 2022 08:38:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 13 Jul 2022 08:38:20 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/locations/eastus/operationStatus/eventhubs-nscli000004?api-version=2022-01-01-preview&resourceType=Namespace + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/locations/eastus/operationStatus/eventhubs-nscli000004?api-version=2022-01-01-preview&resourceType=Namespace + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 13 Jul 2022 08:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2022-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 13 Jul 2022 08:39:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 204 + message: No Content +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_self_serve_cluster.yaml b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_self_serve_cluster.yaml new file mode 100644 index 00000000000..787015ee591 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_self_serve_cluster.yaml @@ -0,0 +1,4740 @@ +interactions: +- request: + body: '{"location": "westus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - group create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001","name":"rg-cluster-000001","type":"Microsoft.Resources/resourceGroups","location":"westus","properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '231' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:45:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: '{"location": "westus", "sku": {"name": "Dedicated", "capacity": 2}, "properties": + {"supportsScaling": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"status":"Unknown","supportsScaling":true},"sku":{"name":"Dedicated","capacity":2}}' + headers: + azure-asyncoperation: + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:45:25 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=false&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:45:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:46:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:47:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:47:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:48:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:49:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:49:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:51:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:51:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:52:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:53:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:53:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:54:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:55:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:55:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:56:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:56:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:57:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:57:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:58:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:59:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 09:59:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:00:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:00:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:01:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:01:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:02:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:02:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:03:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:03:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:04:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:04:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:05:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:05:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:06:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:06:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:07:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:07:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:08:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --supports-scaling --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:07:49.4101573Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":2}}' + headers: + cache-control: + - no-cache + content-length: + - '461' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:08:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:07:49.4101573Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":2}}' + headers: + cache-control: + - no-cache + content-length: + - '461' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:08:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "sku": {"name": "Standard", "tier": "Standard"}, + "properties": {"clusterArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002", + "publicNetworkAccess": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + Content-Length: + - '290' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:08:25.54Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '953' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:08:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:08:25.54Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '953' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:08:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/SN1 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/SN1 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:08:25.54Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '953' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:09:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Created","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:08:25.54Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Activating"}}' + headers: + cache-control: + - no-cache + content-length: + - '953' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:10:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:10:07.08Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '951' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:10:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs namespace create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --sku --cluster-arm-id + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003?api-version=2022-01-01-preview + response: + body: + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/namespaces/eventhubs-ns1-000003","name":"eventhubs-ns1-000003","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"minimumTlsVersion":"1.2","publicNetworkAccess":"Enabled","disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"clusterArmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"326100e2-f69d-4268-8503-075374f62b6e:eventhubs-ns1-000003","createdAt":"2022-07-11T10:08:25.54Z","updatedAt":"2022-07-11T10:10:07.08Z","serviceBusEndpoint":"https://eventhubs-ns1-000003.servicebus.windows.net:443/","status":"Active"}}' + headers: + cache-control: + - no-cache + content-length: + - '951' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:10:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:07:49.4101573Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":2}}' + headers: + cache-control: + - no-cache + content-length: + - '461' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:10:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "sku": {"name": "Dedicated", "capacity": 1}, "properties": + {"supportsScaling": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"status":"Unknown","supportsScaling":true},"sku":{"name":"Dedicated","capacity":1}}' + headers: + azure-asyncoperation: + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:10:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=false&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:11:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:11:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:12:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:12:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:13:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:13:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:14:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:14:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:15:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:15:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:16:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:16:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:17:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:18:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:18:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:19:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:19:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:20:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:20:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:21:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:21:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:22:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:22:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:23:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:23:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:24:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:24:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:25:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:25:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:26:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:26:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:27:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:27:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:28:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:28:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:29:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:29:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:30:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:30:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.eventhub/locations/westus/clusterOperationResults/2a6cc0ea-999a-4aa7-8494-77833c733edd?isAsyncHeader=true&resourceName=eventhubs-selfserve-000002&resourceGroupName=rg-cluster-000001&resourceType=cluster&api-version=2022-01-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:31:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --capacity + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:31:19.3219496Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":1}}' + headers: + cache-control: + - no-cache + content-length: + - '461' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:31:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:31:19.3219496Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":1}}' + headers: + cache-control: + - no-cache + content-length: + - '461' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:31:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster namespace list + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002/namespaces?api-version=2022-01-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.Eventhub/namespaces/eventhubs-ns1-000003"}]}' + headers: + cache-control: + - no-cache + content-length: + - '166' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:31:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventhubs cluster list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.38.0 azsdk-python-azure-mgmt-eventhub/10.1.0 Python/3.8.0 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters?api-version=2022-01-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/manojprasad-rampup/providers/Microsoft.EventHub/clusters/manojprasad-eh-cluster","name":"manojprasad-eh-cluster","type":"Microsoft.EventHub/Clusters","location":"westus","tags":{},"properties":{"createdAt":"2022-06-09T16:38:29.5028531Z","updatedAt":"2022-06-28T01:10:44.5261254Z","status":"Deleting","supportsScaling":false,"metricId":"PROD-BY3-574"},"sku":{"name":"Dedicated","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-000001/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-000002","name":"eventhubs-selfserve-000002","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T09:45:22.7560168Z","updatedAt":"2022-07-11T10:31:19.3219496Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51004"},"sku":{"name":"Dedicated","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-chzstck3t/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-44ab","name":"eventhubs-selfserve-44ab","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T07:37:37.8296187Z","updatedAt":"2022-07-11T08:00:04.8206499Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51002"},"sku":{"name":"Dedicated","capacity":2}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-77mni2kdy/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-wl4h","name":"eventhubs-selfserve-wl4h","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T08:42:46.8033194Z","updatedAt":"2022-07-11T09:28:14.9647503Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51009"},"sku":{"name":"Dedicated","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/framborg/providers/Microsoft.EventHub/clusters/frambowestus","name":"frambowestus","type":"Microsoft.EventHub/Clusters","location":"westus","tags":{},"properties":{"createdAt":"2022-06-20T22:00:30.7134585Z","updatedAt":"2022-06-20T22:00:35.5885209Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51007"},"sku":{"name":"Dedicated","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-rqbrjini7/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-uvyb","name":"eventhubs-selfserve-uvyb","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T06:53:26.5616982Z","updatedAt":"2022-07-11T07:26:02.2029184Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51006"},"sku":{"name":"Dedicated","capacity":2}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-cluster-5hl5q5ztd/providers/Microsoft.EventHub/clusters/eventhubs-selfserve-pubm","name":"eventhubs-selfserve-pubm","type":"Microsoft.EventHub/Clusters","location":"westus","properties":{"createdAt":"2022-07-11T05:57:53.2217773Z","updatedAt":"2022-07-11T06:49:17.1262781Z","status":"Active","supportsScaling":true,"metricId":"PROD-BY-V51008"},"sku":{"name":"Dedicated","capacity":2}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3218' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 10:31:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_cluster_commands.py b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_cluster_commands.py index 8e2d5d2268b..a5e8ddfad55 100644 --- a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_cluster_commands.py +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_cluster_commands.py @@ -65,3 +65,60 @@ def test_eh_cluster(self): # Delete cluster # commented as the cluster can be deleted only after 4 hours # self.cmd('eventhubs cluster delete --resource-group {rg} --name {clustername}') + + @AllowLargeResponse() + def test_eh_self_serve_cluster(self): + self.kwargs.update({ + 'loc': 'westus', + 'rg': self.create_random_name(prefix='rg-cluster-', length=20), + 'clustername': self.create_random_name(prefix='eventhubs-selfserve-', length=24), + 'namespacename': self.create_random_name(prefix='eventhubs-ns1-', length=20), + 'capacity': 1, + 'sku': 'Standard', + 'tier': 'Standard' + }) + + # create Resource group + self.cmd('az group create --resource-group {rg} --location {loc}') + + # Create Cluster + self.cmd( + 'eventhubs cluster create --resource-group {rg} --name {clustername} --location {loc} --supports-scaling --capacity 2') + + # Get Cluster + getresponse = self.cmd('eventhubs cluster show --resource-group {rg} --name {clustername}').get_output_in_json() + + self.assertEqual(getresponse['sku']['capacity'], 2) + self.assertEqual(getresponse['sku']['name'], 'Dedicated') + self.assertEqual(getresponse['supportsScaling'], True) + self.assertEqual(getresponse['location'], self.kwargs['loc']) + + self.kwargs.update({'clusterid': getresponse['id']}) + + # Create Namespace in cluster + namespace = self.cmd( + 'eventhubs namespace create --resource-group {rg} --name {namespacename} --location {loc} --sku {sku} --cluster-arm-id {clusterid}').get_output_in_json() + + self.assertIsNotNone(namespace) + + self.cmd('eventhubs cluster update --resource-group {rg} --name {clustername} --capacity 1') + + getresponse = self.cmd('eventhubs cluster show --resource-group {rg} --name {clustername}').get_output_in_json() + + self.assertEqual(getresponse['sku']['capacity'], 1) + self.assertEqual(getresponse['sku']['name'], 'Dedicated') + self.assertEqual(getresponse['supportsScaling'], True) + self.assertEqual(getresponse['location'], self.kwargs['loc']) + + # Get namespaces created in the cluster + listnsclusterresult = self.cmd( + 'eventhubs cluster namespace list --resource-group {rg} --name {clustername}').output + self.assertGreater(len(listnsclusterresult), 0) + + # Get cluster created in the resourcegroup + listclusterresult = self.cmd('eventhubs cluster list --resource-group {rg}').output + self.assertGreater(len(listclusterresult), 0) + + # Delete cluster + # commented as the cluster can be deleted only after 4 hours + # self.cmd('eventhubs cluster delete --resource-group {rg} --name {clustername}') diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_namespace_premium_test.py b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_namespace_premium_test.py index ced3da237d3..e7012306aad 100644 --- a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_namespace_premium_test.py +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_namespace_premium_test.py @@ -20,72 +20,185 @@ class EHNamespaceBYOKCURDScenarioTest(ScenarioTest): @AllowLargeResponse() @ResourceGroupPreparer(name_prefix='cli_test_eh_namespace') @KeyVaultPreparer(name_prefix='cli', name_len=15, additional_params='--enable-soft-delete --enable-purge-protection') - def test_eh_namespace_premium(self, resource_group): + def test_eh_namespace_premium_standard(self, resource_group): self.kwargs.update({ 'loc': 'eastus', 'rg': resource_group, 'namespacename': self.create_random_name(prefix='eventhubs-nscli', length=20), 'namespacename1': self.create_random_name(prefix='eventhubs-nscli', length=20), 'namespacename2': self.create_random_name(prefix='eventhubs-nscli', length=20), - 'namespacenamekafka': self.create_random_name(prefix='eventhubs-nscli1', length=20), - 'tags': {'tag1=value1'}, - 'tags2': {'tag2=value2'}, - 'sku': 'Standard', - 'skupremium': 'Premium', - 'authoname': self.create_random_name(prefix='cliAutho', length=20), - 'defaultauthorizationrule': 'RootManageSharedAccessKey', - 'accessrights': 'Send', - 'accessrights1': 'Listen', - 'primary': 'PrimaryKey', - 'secondary': 'SecondaryKey', - 'istrue': 'True', - 'isfalse': 'False', - 'enableidentity': 'True', - 'maximumthroughputunits': 40, - 'maximumthroughputunits_update': 5 + 'loc1': 'East US' }) - kv_name = self.kwargs['kv'] - key_name = self.create_random_name(prefix='cli', length=15) - key_uri = "https://{}.vault.azure.net/".format(kv_name) - self.kwargs.update({ - 'kv_name': kv_name, - 'key_name': key_name, - 'key_uri': key_uri - }) - # Check for the NameSpace name Availability self.cmd('eventhubs namespace exists --name {namespacename}', checks=[self.check('nameAvailable', True)]) - # Create Namespace - self.cmd('eventhubs namespace create --resource-group {rg} --name {namespacename} --location {loc} --tags {tags}' - ' --sku {sku} --maximum-throughput-units {maximumthroughputunits} --disable-local-auth {istrue} --enable-auto-inflate {istrue}', - checks=[self.check('maximumThroughputUnits', '{maximumthroughputunits}'), - self.check('disableLocalAuth', '{istrue}')]) - - self.kwargs.update({ - 'maximumthroughputunits': 35}) - - # Update Namespace - self.cmd('eventhubs namespace update --resource-group {rg} --name {namespacename} ' - '--tags {tags2} --maximum-throughput-units {maximumthroughputunits}', - checks=[self.check('maximumThroughputUnits', '{maximumthroughputunits}')]) - - self.kwargs.update({ - 'maximumthroughputunits': 16}) - - # Create Namespace - premium - self.cmd( - 'eventhubs namespace create --resource-group {rg} --name {namespacename1} --location {loc} --tags {tags}' - ' --sku {skupremium} --disable-local-auth {isfalse}', - checks=[self.check('disableLocalAuth', '{isfalse}'), - self.check('sku.name', '{skupremium}')]) - - # Update Namespace - self.cmd('eventhubs namespace update --resource-group {rg} --name {namespacename1} --disable-local-auth {istrue} ' - '--tags {tags2}') + # Create standard namespace with autoinflate enabled + namespace = self.cmd('eventhubs namespace create --name {namespacename} --resource-group {rg} ' + '--capacity 10 --maximum-throughput-units 18 --sku Standard --location {loc} ' + '--zone-redundant --tags k1=v1 k2=v2 --enable-auto-inflate --disable-local-auth ' + '--enable-kafka --minimum-tls-version 1.1').get_output_in_json() + + self.assertEqual(10, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(18, namespace['maximumThroughputUnits']) + self.assertEqual('1.1', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Set auto inflate enabled to false and true using update command + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--enable-auto-inflate false --maximum-throughput-units 0').get_output_in_json() + + self.assertEqual(10, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(0, namespace['maximumThroughputUnits']) + self.assertEqual('1.1', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertFalse(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--enable-auto-inflate --maximum-throughput-units 18').get_output_in_json() + + self.assertEqual(10, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(18, namespace['maximumThroughputUnits']) + self.assertEqual('1.1', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Update Capacity of standard namespace + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--capacity 12').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(18, namespace['maximumThroughputUnits']) + self.assertEqual('1.1', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Update max throughput units + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--maximum-throughput-units 25').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(25, namespace['maximumThroughputUnits']) + self.assertEqual('1.1', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Update Minimum tls version + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--minimum-tls-version 1.0').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(25, namespace['maximumThroughputUnits']) + self.assertEqual('1.0', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Update Minimum tls version + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--minimum-tls-version 1.2').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(25, namespace['maximumThroughputUnits']) + self.assertEqual('1.2', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--disable-local-auth false').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(25, namespace['maximumThroughputUnits']) + self.assertEqual('1.2', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertFalse(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + namespace = self.cmd('eventhubs namespace update --name {namespacename} --resource-group {rg} ' + '--disable-local-auth').get_output_in_json() + + self.assertEqual(12, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(25, namespace['maximumThroughputUnits']) + self.assertEqual('1.2', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertTrue(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertTrue(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(2, len(namespace['tags'])) + + # Create default standard namespace + namespace = self.cmd('eventhubs namespace create --resource-group {rg} --name {namespacename1} ' + '--location {loc} --sku Standard').get_output_in_json() + + self.assertEqual(1, namespace['sku']['capacity']) + self.assertEqual('Standard', namespace['sku']['name']) + self.assertEqual(0, namespace['maximumThroughputUnits']) + self.assertEqual('1.2', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertFalse(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertFalse(namespace['disableLocalAuth']) + self.assertFalse(namespace['zoneRedundant']) + self.assertEqual(0, len(namespace['tags'])) + + # Create premium namespace + namespace = self.cmd('eventhubs namespace create --resource-group {rg} --name {namespacename2} ' + '--location {loc} --sku Premium').get_output_in_json() + + self.assertEqual(1, namespace['sku']['capacity']) + self.assertEqual('Premium', namespace['sku']['name']) + self.assertEqual(0, namespace['maximumThroughputUnits']) + self.assertEqual('1.2', namespace['minimumTlsVersion']) + self.assertEqual(self.kwargs['loc1'], namespace['location']) + self.assertFalse(namespace['isAutoInflateEnabled']) + self.assertTrue(namespace['kafkaEnabled']) + self.assertFalse(namespace['disableLocalAuth']) + self.assertTrue(namespace['zoneRedundant']) + self.assertEqual(0, len(namespace['tags'])) # Delete Namespace list by ResourceGroup self.cmd('eventhubs namespace delete --resource-group {rg} --name {namespacename}') self.cmd('eventhubs namespace delete --resource-group {rg} --name {namespacename1}') + self.cmd('eventhubs namespace delete --resource-group {rg} --name {namespacename1}')