diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 11d86b28069..f28f4351f67 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -189,7 +189,7 @@ def default_api_version(self): 'private_endpoint_connections': '2019-10-17-preview' }), ResourceType.MGMT_APPSERVICE: '2019-08-01', - ResourceType.MGMT_IOTHUB: '2019-07-01-preview', + ResourceType.MGMT_IOTHUB: '2020-03-01', ResourceType.MGMT_ARO: '2020-04-30' }, '2019-03-01-hybrid': { diff --git a/src/azure-cli/azure/cli/command_modules/iot/_help.py b/src/azure-cli/azure/cli/command_modules/iot/_help.py index ac38216c511..724670c0088 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_help.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_help.py @@ -685,6 +685,9 @@ --endpoint-subscription-id {SubscriptionId} --connection-string {ConnectionString} \\ --container-name {ContainerName} --batch-frequency 100 --chunk-size 100 \\ --ff {iothub}-{partition}-{YYYY}-{MM}-{DD}-{HH}-{mm} + - name: Add a new identity-based EventHub endpoint named "EventHubIdentity" + text: > + az iot hub routing-endpoint create --resource-group MyResourceGroup --hub-name MyIotHub --endpoint-name EventHubIdentity --endpoint-type eventhub --endpoint-resource-group {ResourceGroup} --endpoint-subscription-id {SubscriptionId} --auth-type identityBased --endpoint-uri {EventHubEndpointUri} --entity-path {EntityPath} """ helps['iot hub routing-endpoint delete'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/iot/_params.py b/src/azure-cli/azure/cli/command_modules/iot/_params.py index 4c9cccf84be..e99d488404d 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_params.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_params.py @@ -20,6 +20,7 @@ RouteSourceType, EncodingFormat, RenewKeyType, + AuthenticationType, UserRole) from .custom import KeyType, SimpleAccessRights from ._validators import (validate_policy_permissions, @@ -160,6 +161,13 @@ def load_arguments(self, _): # pylint: disable=too-many-statements c.argument('fileupload_storage_connectionstring', options_list=['--fileupload-storage-connectionstring', '--fcs'], help='The connection string for the Azure Storage account to which files are uploaded.') + c.argument('fileupload_storage_authentication_type', + options_list=['--fileupload-storage-auth-type', '--fsa'], + help='The authentication type for the Azure Storage account to which files are uploaded.' + 'Possible values are keyBased and identityBased') + c.argument('fileupload_storage_container_uri', + options_list=['--fileupload-storage-container-uri', '--fcu'], + help='The container URI for the Azure Storage account to which files are uploaded.') c.argument('fileupload_storage_container_name', options_list=['--fileupload-storage-container-name', '--fc'], help='The name of the root container where you upload files. The container need not exist but' @@ -207,6 +215,10 @@ def load_arguments(self, _): # pylint: disable=too-many-statements c.argument('encoding', options_list=['--encoding'], arg_type=get_enum_type(EncodingFormat), help='Encoding format for the container. The default is AVRO. ' 'Note that this field is applicable only for blob container endpoints.') + c.argument('endpoint_uri', options_list=['--endpoint-uri'], + help='The uri of the endpoint resource.') + c.argument('entity_path', options_list=['--entity-path'], + help='The entity path of the endpoint resource.') with self.argument_context('iot hub routing-endpoint create') as c: c.argument('batch_frequency', options_list=['--batch-frequency', '-b'], type=int, @@ -218,6 +230,8 @@ def load_arguments(self, _): # pylint: disable=too-many-statements help='File name format for the blob. The file name format must contain {iothub},' ' {partition}, {YYYY}, {MM}, {DD}, {HH} and {mm} fields. All parameters are' ' mandatory but can be reordered with or without delimiters.') + c.argument('authentication_type', options_list=['--auth-type'], arg_type=get_enum_type(AuthenticationType), + help='Authentication type for the endpoint. The default is keyBased.') with self.argument_context('iot hub certificate') as c: c.argument('certificate_path', options_list=['--path', '-p'], type=file_type, diff --git a/src/azure-cli/azure/cli/command_modules/iot/custom.py b/src/azure-cli/azure/cli/command_modules/iot/custom.py index 7e1433f92f0..59b787f978a 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/custom.py +++ b/src/azure-cli/azure/cli/command_modules/iot/custom.py @@ -45,7 +45,7 @@ from azure.cli.command_modules.iot.mgmt_iot_hub_device.lib.iot_hub_device_client import IotHubDeviceClient from azure.cli.command_modules.iot.sas_token_auth import SasTokenAuthentication -from azure.cli.command_modules.iot.shared import EndpointType, EncodingFormat, RenewKeyType +from azure.cli.command_modules.iot.shared import EndpointType, EncodingFormat, RenewKeyType, AuthenticationType from ._constants import PNP_ENDPOINT from ._client_factory import resource_service_factory, get_pnp_client from ._utils import open_certificate, get_auth_header, generateKey @@ -388,7 +388,9 @@ def iot_hub_create(cmd, client, hub_name, resource_group_name, location=None, fileupload_notification_ttl=1, fileupload_storage_connectionstring=None, fileupload_storage_container_name=None, - fileupload_sas_ttl=1): + fileupload_sas_ttl=1, + fileupload_storage_authentication_type=None, + fileupload_storage_container_uri=None): from datetime import timedelta cli_ctx = cmd.cli_ctx if enable_fileupload_notifications: @@ -398,6 +400,11 @@ def iot_hub_create(cmd, client, hub_name, resource_group_name, location=None, raise CLIError('Please mention storage container name.') if fileupload_storage_container_name and not fileupload_storage_connectionstring: raise CLIError('Please mention storage connection string.') + identity_based_file_upload = fileupload_storage_authentication_type and fileupload_storage_authentication_type.lower() == AuthenticationType.IdentityBased.value + if not identity_based_file_upload and not fileupload_storage_connectionstring and fileupload_storage_container_name: + raise CLIError('Key-based authentication requires a connection string.') + if identity_based_file_upload and not fileupload_storage_container_uri: + raise CLIError('Identity-based authentication requires a storage container uri (--fileupload-storage-container-uri, --fcu).') _check_name_availability(client.iot_hub_resource, hub_name) location = _ensure_location(cli_ctx, resource_group_name, location) sku = IotHubSkuInfo(name=sku, capacity=unit) @@ -418,7 +425,9 @@ def iot_hub_create(cmd, client, hub_name, resource_group_name, location=None, storage_endpoint_dic['$default'] = StorageEndpointProperties( sas_ttl_as_iso8601=timedelta(hours=fileupload_sas_ttl), connection_string=fileupload_storage_connectionstring if fileupload_storage_connectionstring else '', - container_name=fileupload_storage_container_name if fileupload_storage_container_name else '') + container_name=fileupload_storage_container_name if fileupload_storage_container_name else '', + authentication_type=fileupload_storage_authentication_type if fileupload_storage_authentication_type else None, + container_uri=fileupload_storage_container_uri if fileupload_storage_container_uri else '') properties = IotHubProperties(event_hub_endpoints=event_hub_dic, messaging_endpoints=msg_endpoint_dic, @@ -472,7 +481,9 @@ def update_iot_hub_custom(instance, fileupload_notification_ttl=None, fileupload_storage_connectionstring=None, fileupload_storage_container_name=None, - fileupload_sas_ttl=None): + fileupload_sas_ttl=None, + fileupload_storage_authentication_type=None, + fileupload_storage_container_uri=None): from datetime import timedelta if sku is not None: instance.sku.name = sku @@ -499,6 +510,15 @@ def update_iot_hub_custom(instance, if fileupload_notification_ttl is not None: ttl = timedelta(hours=fileupload_notification_ttl) instance.properties.messaging_endpoints['fileNotifications'].ttl_as_iso8601 = ttl + + identity_based_file_upload = fileupload_storage_authentication_type and fileupload_storage_authentication_type.lower() == AuthenticationType.IdentityBased.value + if identity_based_file_upload: + instance.properties.storage_endpoints['$default'].authentication_type = AuthenticationType.IdentityBased + instance.properties.storage_endpoints['$default'].container_uri = fileupload_storage_container_uri + elif fileupload_storage_authentication_type is not None: + instance.properties.storage_endpoints['$default'].authentication_type = None + instance.properties.storage_endpoints['$default'].container_uri = None + # TODO - remove connection string and set containerURI once fileUpload SAS URL is enabled if fileupload_storage_connectionstring is not None and fileupload_storage_container_name is not None: instance.properties.storage_endpoints['$default'].connection_string = fileupload_storage_connectionstring instance.properties.storage_endpoints['$default'].container_name = fileupload_storage_container_name @@ -672,11 +692,26 @@ def iot_hub_get_stats(client, hub_name, resource_group_name=None): return client.iot_hub_resource.get_stats(resource_group_name, hub_name) +def validate_authentication_type_input(endpoint_type, connection_string=None, authentication_type=None, endpoint_uri=None, entity_path=None): + is_keyBased = (AuthenticationType.KeyBased.value == authentication_type.lower()) or (authentication_type is None) + has_connection_string = (connection_string is not None) + if is_keyBased and not has_connection_string: + raise CLIError("Please provide a connection string '--connection-string/-c'") + + has_endpoint_uri = (endpoint_uri is not None) + has_endpoint_uri_and_path = (has_endpoint_uri) and (entity_path is not None) + if EndpointType.AzureStorageContainer.value == endpoint_type.lower() and not has_endpoint_uri: + raise CLIError("Please provide an endpoint uri '--endpoint-uri'") + if not has_endpoint_uri_and_path: + raise CLIError("Please provide an endpoint uri '--endpoint-uri' and entity path '--entity-path'") + + def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoint_type, endpoint_resource_group, endpoint_subscription_id, - connection_string, container_name=None, encoding=None, + connection_string=None, container_name=None, encoding=None, resource_group_name=None, batch_frequency=300, chunk_size_window=300, - file_name_format='{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}'): + file_name_format='{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}', + authentication_type=None, endpoint_uri=None, entity_path=None): resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if EndpointType.EventHub.value == endpoint_type.lower(): @@ -685,7 +720,10 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi connection_string=connection_string, name=endpoint_name, subscription_id=endpoint_subscription_id, - resource_group=endpoint_resource_group + resource_group=endpoint_resource_group, + authentication_type=authentication_type, + endpoint_uri=endpoint_uri, + entity_path=entity_path ) ) elif EndpointType.ServiceBusQueue.value == endpoint_type.lower(): @@ -694,7 +732,10 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi connection_string=connection_string, name=endpoint_name, subscription_id=endpoint_subscription_id, - resource_group=endpoint_resource_group + resource_group=endpoint_resource_group, + authentication_type=authentication_type, + endpoint_uri=endpoint_uri, + entity_path=entity_path ) ) elif EndpointType.ServiceBusTopic.value == endpoint_type.lower(): @@ -703,7 +744,10 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi connection_string=connection_string, name=endpoint_name, subscription_id=endpoint_subscription_id, - resource_group=endpoint_resource_group + resource_group=endpoint_resource_group, + authentication_type=authentication_type, + endpoint_uri=endpoint_uri, + entity_path=entity_path ) ) elif EndpointType.AzureStorageContainer.value == endpoint_type.lower(): @@ -719,7 +763,9 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi encoding=encoding.lower() if encoding else EncodingFormat.AVRO.value, file_name_format=file_name_format, batch_frequency_in_seconds=batch_frequency, - max_chunk_size_in_bytes=(chunk_size_window * 1048576) + max_chunk_size_in_bytes=(chunk_size_window * 1048576), + authentication_type=authentication_type, + endpoint_uri=endpoint_uri ) ) return client.iot_hub_resource.create_or_update(resource_group_name, hub_name, hub, {'IF-MATCH': hub.etag}) @@ -891,8 +937,11 @@ def iot_message_enrichment_list(cmd, client, hub_name, resource_group_name=None) def iot_hub_devicestream_show(cmd, client, hub_name, resource_group_name=None): + from azure.cli.core.commands.client_factory import get_mgmt_service_client, ResourceType resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) - hub = iot_hub_get(cmd, client, hub_name, resource_group_name) + # DeviceStreams property is still in preview, so until GA we need to use an older API version (2019-07-01-preview) + client = get_mgmt_service_client(cmd.cli_ctx, ResourceType.MGMT_IOTHUB, api_version='2019-07-01-preview') + hub = client.iot_hub_resource.get(resource_group_name, hub_name) return hub.properties.device_streams diff --git a/src/azure-cli/azure/cli/command_modules/iot/shared.py b/src/azure-cli/azure/cli/command_modules/iot/shared.py index 66986972306..35f4fa68f01 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/shared.py +++ b/src/azure-cli/azure/cli/command_modules/iot/shared.py @@ -62,3 +62,12 @@ class RenewKeyType(Enum): Primary = 'primary' Secondary = 'secondary' Swap = 'swap' + + +# pylint: disable=too-few-public-methods +class AuthenticationType(Enum): + """ + Type of the Authentication for the routing endpoint. + """ + KeyBased = 'keybased' + IdentityBased = 'identitybased' diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recording_processors.py b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recording_processors.py new file mode 100644 index 00000000000..74abb653eca --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recording_processors.py @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure_devtools.scenario_tests import RecordingProcessor +from azure_devtools.scenario_tests.utilities import is_text_payload + +MOCK_KEY = 'mock_key' + + +class KeyReplacer(RecordingProcessor): + + def process_request(self, request): + if is_text_payload(request) and isinstance(request.body, bytes): + request.body = self._replace_byte_keys(request.body) + elif is_text_payload(request) and isinstance(request.body, str): + request.body = self._replace_string_keys(request.body) + return request + + def process_response(self, response): + if is_text_payload(response) and response['body']['string']: + response['body']['string'] = self._replace_string_keys(response['body']['string']) + return response + + # pylint: disable=no-self-use + def _replace_string_keys(self, val): + import re + if 'primaryKey' in val: + val = re.sub(r'"primaryKey":( ?)"([^"]+)"', r'"primaryKey":"{}"' + .format(MOCK_KEY), val, flags=re.IGNORECASE) + if 'secondaryKey' in val: + val = re.sub(r'"secondaryKey":( ?)"([^"]+)"', r'"secondaryKey":"{}"' + .format(MOCK_KEY), val, flags=re.IGNORECASE) + return val + + # pylint: disable=no-self-use + def _replace_byte_keys(self, val): + import re + if b'primaryKey' in val: + val = re.sub(b'"primaryKey":( ?)"([^"]+)"', '"primaryKey":"{}"' + .format(MOCK_KEY).encode(), val, flags=re.IGNORECASE) + if b'secondaryKey' in val: + val = re.sub(b'"secondaryKey":( ?)"([^"]+)"', '"secondaryKey":"{}"' + .format(MOCK_KEY).encode(), val, flags=re.IGNORECASE) + return val diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_certificate_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_certificate_lifecycle.yaml index d0b0536421c..8c6ec092186 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_certificate_lifecycle.yaml +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_certificate_lifecycle.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -34,7 +34,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:27 GMT + - Tue, 28 Apr 2020 17:03:22 GMT expires: - '-1' pragma: @@ -68,15 +68,15 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000002?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002","name":"clitest.rg000002","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002","name":"clitest.rg000002","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-28T17:03:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:28 GMT + - Tue, 28 Apr 2020 17:03:22 GMT expires: - '-1' pragma: @@ -123,18 +123,18 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003","name":"iot-hub-for-cert-test000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000002","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003","name":"iot-hub-for-cert-test000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000002","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2YyM2EyN2UtYTdiNi00ZTY0LTlkMmYtMjIzMzQyYmI3YzU2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTUyNzM5NDktZDc3Zi00ZTE4LThmMDMtMDkyNjZjODhkM2Zk?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -142,7 +142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:31 GMT + - Tue, 28 Apr 2020 17:03:27 GMT expires: - '-1' pragma: @@ -172,10 +172,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2YyM2EyN2UtYTdiNi00ZTY0LTlkMmYtMjIzMzQyYmI3YzU2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTUyNzM5NDktZDc3Zi00ZTE4LThmMDMtMDkyNjZjODhkM2Zk?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -187,7 +187,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:02 GMT + - Tue, 28 Apr 2020 17:03:58 GMT expires: - '-1' pragma: @@ -219,10 +219,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2YyM2EyN2UtYTdiNi00ZTY0LTlkMmYtMjIzMzQyYmI3YzU2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTUyNzM5NDktZDc3Zi00ZTE4LThmMDMtMDkyNjZjODhkM2Zk?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -234,7 +234,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:33 GMT + - Tue, 28 Apr 2020 17:04:28 GMT expires: - '-1' pragma: @@ -266,10 +266,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2YyM2EyN2UtYTdiNi00ZTY0LTlkMmYtMjIzMzQyYmI3YzU2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTUyNzM5NDktZDc3Zi00ZTE4LThmMDMtMDkyNjZjODhkM2Zk?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -281,7 +281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:02 GMT + - Tue, 28 Apr 2020 17:04:58 GMT expires: - '-1' pragma: @@ -313,10 +313,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2YyM2EyN2UtYTdiNi00ZTY0LTlkMmYtMjIzMzQyYmI3YzU2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTUyNzM5NDktZDc3Zi00ZTE4LThmMDMtMDkyNjZjODhkM2Zk?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -328,7 +328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:33 GMT + - Tue, 28 Apr 2020 17:05:28 GMT expires: - '-1' pragma: @@ -360,14 +360,14 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003","name":"iot-hub-for-cert-test000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000002","etag":"AAAAAAzI6fE=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-cert-test000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-cert-testgxt5","endpoint":"sb://iothub-ns-iot-hub-fo-3245239-b24430042d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003","name":"iot-hub-for-cert-test000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000002","etag":"AAAAAA0sto0=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-cert-test000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-cert-testjlpc","endpoint":"sb://iothub-ns-iot-hub-fo-3334847-805a30f6e3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -376,7 +376,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:34 GMT + - Tue, 28 Apr 2020 17:05:28 GMT expires: - '-1' pragma: @@ -408,12 +408,12 @@ interactions: ParameterSetName: - --hub-name -g -n -p User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates?api-version=2020-03-01 response: body: string: '{"value":[]}' @@ -425,7 +425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:34 GMT + - Tue, 28 Apr 2020 17:05:30 GMT expires: - '-1' pragma: @@ -444,7 +444,7 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIM6VBSG3t7G4wDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRvYmdyd2J0cW40eW1tZzNrMB4XDTIwMDQxMjE2MTAyNVoXDTIw\r\nMDQxNjE2MTAyNVowIzEhMB8GA1UEAwwYVEVTVENFUlRvYmdyd2J0cW40eW1tZzNr\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQAqhjagE4RFgGVcrI4x9aWX\r\nLrbuEQUtvGeTUjAqOPpsR31o/BmYbaq73Mt1735lAFdl0kMsw6QNvWuwPUIo7pB9\r\n5LlSQKZe0BiMo598zt1TixOOuXa7ikOQ81sMnYLN+b50i2gYzBLirHolzsWHNE64\r\niTVhBxYrFH2hQjUr6ZQEs6rU+/AnTQVwOptpgJ+gUeCcjFgaxHnVPdq4mUDUWEQ5\r\nfQVyQ1SAGDdypBrxyB3TmPRe9t8kLhY2Z5pCqCQcSO5C3MOounEMi5VkwVOryhj0\r\nmm3yeCXsa+gqZfbwI6MU0Do4b2ASE6tVoE22x/B0E5OpaCZZ9nexeLqyGmsYVZ2L\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAhqF9rsnEvmrohrnfsYfQPlLchypR5AYG4kWOWA4sr\r\ng8NF/ag+eJLkyEWmApGauybAQojUrH/7YdtFXHf95kjSGET9JGxS5FMKj2DbFt7W\r\njbaLfRlowdGNtjrFXJGiaw7Uvfo1+2dcyYdqyFBHynCS/x9xLitSX+StPuH7s3NP\r\n+He9LXW5wWX5Kx9ZsdDLJyR50uGPQPQwbBllxWbW73Y3T0dJdk5sdVjxJDgujpBb\r\nngyevkzSecghbzB16ThEdUvKk8w1++e8Tzg0aptBKzw8HUyX7cjYtL9swMHZ7M/C\r\nY61cp76+ulXG99riyzUSbyXvPpV5FnAmbNV+9raXb6CE\r\n-----END + body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIcRVTFpfdoJIwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlQzbnBuc2JnZnZrb3RzeXl4MB4XDTIwMDQyNzE3MDMyMFoXDTIw\r\nMDUwMTE3MDMyMFowIzEhMB8GA1UEAwwYVEVTVENFUlQzbnBuc2JnZnZrb3RzeXl4\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQAtD+ff+4d0K1VXq5xX0aEK\r\n7CMmfolO4Yg6WlfY7eJT9y2TkrCLPwFjX+1NcbUTa2wcYPeAEKUywoW7klEWeQt7\r\nCDebsfq5N2dsINW4MPnH3JRHbX+0FKIcf5cXe2HheszWUv+ovWAZdm9ajKEhyZnA\r\nUr86ImQoh+RMQI8SqkEXRnxvePU7RbSXNHueqHDS0e+w5q8pfcZWrE3uY+KqD0+c\r\nJMMaSnmCTj0qkf1cjyN8LGaTNdqZ4vC17+a9cRBPZFePqK1+zKvxjR3LDnaaddyR\r\niWdaJBjiUusQsODpAl0z6rrewv89L0T89f0jyl8x6tWVyOqfZsuZWvTotS9I2Y/b\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAboLZoomyX21hZC8nPkzst/XnsGMRk0rXoURYCxGxH\r\nCACq7bK66xKHbVkYVYA15jKeYGdmVvWQ72x/1fK1pJqxIR/WKqkG12pbNY50iLjJ\r\n4gpbTR8/Y2T/ZtUkAMcx93xQv6nw2EGvYGHq8KvqlxrSZyj6adWsokcbfTAGMmUn\r\nejIhc2YxbpJ/DRg9oJHoLv0Wugj6P0V6e2wart30uxX0ZTlRfugWN/35TSDxBglX\r\neBJH13oq8xZFVgrh/a0a6wT2Xp5PKROKcWJTJz04vlfsh9Zik3gw/5Q29sjG0973\r\nsa8GHUs5YnVKHVF2LJBVZ0VdR2XYx5VK7OOIF7IiWbz6\r\n-----END CERTIFICATE-----\r\n"}' headers: Accept: @@ -462,19 +462,19 @@ interactions: ParameterSetName: - --hub-name -g -n -p User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000001","expiry":"Thu, 16 Apr 2020 - 16:10:25 GMT","thumbprint":"9F6AEB6C5E48C0C7D88E8439928FFB0B1A927F75","isVerified":false,"created":"Mon, - 13 Apr 2020 16:12:35 GMT","updated":"Mon, 13 Apr 2020 16:12:35 GMT","certificate":"-----BEGIN - CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIM6VBSG3t7G4wDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRvYmdyd2J0cW40eW1tZzNrMB4XDTIwMDQxMjE2MTAyNVoXDTIw\r\nMDQxNjE2MTAyNVowIzEhMB8GA1UEAwwYVEVTVENFUlRvYmdyd2J0cW40eW1tZzNr\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQAqhjagE4RFgGVcrI4x9aWX\r\nLrbuEQUtvGeTUjAqOPpsR31o/BmYbaq73Mt1735lAFdl0kMsw6QNvWuwPUIo7pB9\r\n5LlSQKZe0BiMo598zt1TixOOuXa7ikOQ81sMnYLN+b50i2gYzBLirHolzsWHNE64\r\niTVhBxYrFH2hQjUr6ZQEs6rU+/AnTQVwOptpgJ+gUeCcjFgaxHnVPdq4mUDUWEQ5\r\nfQVyQ1SAGDdypBrxyB3TmPRe9t8kLhY2Z5pCqCQcSO5C3MOounEMi5VkwVOryhj0\r\nmm3yeCXsa+gqZfbwI6MU0Do4b2ASE6tVoE22x/B0E5OpaCZZ9nexeLqyGmsYVZ2L\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAhqF9rsnEvmrohrnfsYfQPlLchypR5AYG4kWOWA4sr\r\ng8NF/ag+eJLkyEWmApGauybAQojUrH/7YdtFXHf95kjSGET9JGxS5FMKj2DbFt7W\r\njbaLfRlowdGNtjrFXJGiaw7Uvfo1+2dcyYdqyFBHynCS/x9xLitSX+StPuH7s3NP\r\n+He9LXW5wWX5Kx9ZsdDLJyR50uGPQPQwbBllxWbW73Y3T0dJdk5sdVjxJDgujpBb\r\nngyevkzSecghbzB16ThEdUvKk8w1++e8Tzg0aptBKzw8HUyX7cjYtL9swMHZ7M/C\r\nY61cp76+ulXG99riyzUSbyXvPpV5FnAmbNV+9raXb6CE\r\n-----END - CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAAzI6kM="}' + string: '{"properties":{"subject":"TESTCERT000001","expiry":"Fri, 01 May 2020 + 17:03:20 GMT","thumbprint":"9EC16448267ED4DE1483BAC4B0BCD56884D97A56","isVerified":false,"created":"Tue, + 28 Apr 2020 17:05:31 GMT","updated":"Tue, 28 Apr 2020 17:05:31 GMT","certificate":"-----BEGIN + CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIcRVTFpfdoJIwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlQzbnBuc2JnZnZrb3RzeXl4MB4XDTIwMDQyNzE3MDMyMFoXDTIw\r\nMDUwMTE3MDMyMFowIzEhMB8GA1UEAwwYVEVTVENFUlQzbnBuc2JnZnZrb3RzeXl4\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQAtD+ff+4d0K1VXq5xX0aEK\r\n7CMmfolO4Yg6WlfY7eJT9y2TkrCLPwFjX+1NcbUTa2wcYPeAEKUywoW7klEWeQt7\r\nCDebsfq5N2dsINW4MPnH3JRHbX+0FKIcf5cXe2HheszWUv+ovWAZdm9ajKEhyZnA\r\nUr86ImQoh+RMQI8SqkEXRnxvePU7RbSXNHueqHDS0e+w5q8pfcZWrE3uY+KqD0+c\r\nJMMaSnmCTj0qkf1cjyN8LGaTNdqZ4vC17+a9cRBPZFePqK1+zKvxjR3LDnaaddyR\r\niWdaJBjiUusQsODpAl0z6rrewv89L0T89f0jyl8x6tWVyOqfZsuZWvTotS9I2Y/b\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAboLZoomyX21hZC8nPkzst/XnsGMRk0rXoURYCxGxH\r\nCACq7bK66xKHbVkYVYA15jKeYGdmVvWQ72x/1fK1pJqxIR/WKqkG12pbNY50iLjJ\r\n4gpbTR8/Y2T/ZtUkAMcx93xQv6nw2EGvYGHq8KvqlxrSZyj6adWsokcbfTAGMmUn\r\nejIhc2YxbpJ/DRg9oJHoLv0Wugj6P0V6e2wart30uxX0ZTlRfugWN/35TSDxBglX\r\neBJH13oq8xZFVgrh/a0a6wT2Xp5PKROKcWJTJz04vlfsh9Zik3gw/5Q29sjG0973\r\nsa8GHUs5YnVKHVF2LJBVZ0VdR2XYx5VK7OOIF7IiWbz6\r\n-----END + CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAA0styc="}' headers: cache-control: - no-cache @@ -483,7 +483,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:34 GMT + - Tue, 28 Apr 2020 17:05:30 GMT expires: - '-1' pragma: @@ -517,17 +517,17 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates?api-version=2020-03-01 response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000001","expiry":"Thu, - 16 Apr 2020 16:10:25 GMT","thumbprint":"9F6AEB6C5E48C0C7D88E8439928FFB0B1A927F75","isVerified":false,"created":"Mon, - 13 Apr 2020 16:12:35 GMT","updated":"Mon, 13 Apr 2020 16:12:35 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAAzI6kM="}]}' + string: '{"value":[{"properties":{"subject":"TESTCERT000001","expiry":"Fri, + 01 May 2020 17:03:20 GMT","thumbprint":"9EC16448267ED4DE1483BAC4B0BCD56884D97A56","isVerified":false,"created":"Tue, + 28 Apr 2020 17:05:31 GMT","updated":"Tue, 28 Apr 2020 17:05:31 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAA0styc="}]}' headers: cache-control: - no-cache @@ -536,7 +536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:35 GMT + - Tue, 28 Apr 2020 17:05:31 GMT expires: - '-1' pragma: @@ -568,17 +568,17 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000001","expiry":"Thu, 16 Apr 2020 - 16:10:25 GMT","thumbprint":"9F6AEB6C5E48C0C7D88E8439928FFB0B1A927F75","isVerified":false,"created":"Mon, - 13 Apr 2020 16:12:35 GMT","updated":"Mon, 13 Apr 2020 16:12:35 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAAzI6kM="}' + string: '{"properties":{"subject":"TESTCERT000001","expiry":"Fri, 01 May 2020 + 17:03:20 GMT","thumbprint":"9EC16448267ED4DE1483BAC4B0BCD56884D97A56","isVerified":false,"created":"Tue, + 28 Apr 2020 17:05:31 GMT","updated":"Tue, 28 Apr 2020 17:05:31 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAA0styc="}' headers: cache-control: - no-cache @@ -587,7 +587,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:36 GMT + - Tue, 28 Apr 2020 17:05:32 GMT expires: - '-1' pragma: @@ -619,21 +619,21 @@ interactions: Content-Length: - '0' If-Match: - - AAAAAAzI6kM= + - AAAAAA0styc= ParameterSetName: - --hub-name -g -n --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004/generateVerificationCode?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004/generateVerificationCode?api-version=2020-03-01 response: body: - string: '{"properties":{"verificationCode":"3191EA4CAA78C92DE0F9793598C531AFC6367BD5330C2BCF","subject":"TESTCERT000001","expiry":"Thu, - 16 Apr 2020 16:10:25 GMT","thumbprint":"9F6AEB6C5E48C0C7D88E8439928FFB0B1A927F75","isVerified":false,"created":"Mon, - 13 Apr 2020 16:12:35 GMT","updated":"Mon, 13 Apr 2020 16:12:37 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAAzI6ks="}' + string: '{"properties":{"verificationCode":"4E6F84353D98CAC9999D8A55B0CFE1A4404F582F065846AA","subject":"TESTCERT000001","expiry":"Fri, + 01 May 2020 17:03:20 GMT","thumbprint":"9EC16448267ED4DE1483BAC4B0BCD56884D97A56","isVerified":false,"created":"Tue, + 28 Apr 2020 17:05:31 GMT","updated":"Tue, 28 Apr 2020 17:05:34 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAA0stzI="}' headers: cache-control: - no-cache @@ -642,7 +642,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:37 GMT + - Tue, 28 Apr 2020 17:05:33 GMT expires: - '-1' pragma: @@ -663,7 +663,7 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDAjCCAeqgAwIBAgIICwZ0DxgM/PMwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRvYmdyd2J0cW40eW1tZzNrMB4XDTIwMDQxMjE2MTIzN1oXDTIw\r\nMDQxNjE2MTIzN1owOzE5MDcGA1UEAwwwMzE5MUVBNENBQTc4QzkyREUwRjk3OTM1\r\nOThDNTMxQUZDNjM2N0JENTMzMEMyQkNGMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4A\r\nMIIBCQKCAQAld3uBdc/3y/mwuLcGq4NhftP6xgGXxLSW6PLHhQ8CpNT1bnj62jBl\r\nVpLsgd/qtZ0x7YhzcaHKJ8OuKKsICY6yOCaNbqAgEb79XjyrtOQPnggNRFfv2Ikw\r\nMVVTpIOoz7csiRLHfZK5ThU5YrxVZMMxy1l/nSnRSVYFfLUFKkiF/Y1B6oTxjbCX\r\np5npVQFOyn4nkpmWNjWUthFFggsehmjI3ghS4zqTFmNuJFmFeDuIIhzeHz62J/ka\r\naguFd9cwiQOYn1UEcZ+xwNLStYl19eVOIrI31eb6xdgfJZvfdNqLl6/5Ltaha+xY\r\nCLzrV4fIS8cVigpdLplTH6gnY2Dn/faNAgMBAAGjIzAhMB8GA1UdIwQYMBaAFNo5\r\no+5ea0sNMlW/75VgGJCv2AcJMA0GCSqGSIb3DQEBCwUAA4IBAQACm0N6tYFDaoS/\r\nbn/8WgK8Rrv8UKVXsVZt12kFad8MVXZkR7/exUWdzAwLEq301xuNRrKo4utNsn/D\r\nu94mhZ2Jkaw/1eIXhTeZeNG5iBByTaGfDpJy9VOMa3Mr42nFvJ5YO1KNTbu7HG/e\r\nf1eTW49J5ClkNzBW/ed9IxYSGlpkoMPIyPYl3Hx+mX4mzErCSLQ6Iy8rs3fPSOHM\r\n5h45NSXAJoV+gWxvlg8WqL/QGocxX9sQ/97eHVjOcAoWBwbHRyiA4W2e98s/ars1\r\nXkR4G+bXxNKBwiQmu0L7pYiUrJY0dSgvajgX0p1mjA6uXvWYd2q0PQJ7BFQPP8Gj\r\n8/QnVrH/\r\n-----END + body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDAjCCAeqgAwIBAgIIHLmRkefbGXEwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlQzbnBuc2JnZnZrb3RzeXl4MB4XDTIwMDQyNzE3MDUzNVoXDTIw\r\nMDUwMTE3MDUzNVowOzE5MDcGA1UEAwwwNEU2Rjg0MzUzRDk4Q0FDOTk5OUQ4QTU1\r\nQjBDRkUxQTQ0MDRGNTgyRjA2NTg0NkFBMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4A\r\nMIIBCQKCAQAtVh1GfniHDTxYO3T8bzRCCuR8SccG/Dgx513baAGHsupKX2D0A7vc\r\nGeuMc4zx/uMhqX0hZLMvPT2u8LhmQCMQn9k/QzW72u5u0InZbgNsNg1Ks9Y6NNI4\r\nQiX5aSGkb6t58hDGZCeJkyT6YNfZohD4IP7KEPD15elnbI0qUB0RKlI9qPEwZ7nR\r\nMvPDOfDDeL4dMwZpjGucvAXgRf/vthDAva2BIgXco00r89PH1Li9j0SwPyWGMlS3\r\nBlWhqHuRle+PKSuf8J70V3vaocVVxvn5RXggHI4u8yUWiRIeo959Hn2+W2hjJQUJ\r\nEVKWL+kN3yb205X1q6v9lGwf/140v+pxAgMBAAGjIzAhMB8GA1UdIwQYMBaAFNo5\r\no+5ea0sNMlW/75VgGJCv2AcJMA0GCSqGSIb3DQEBCwUAA4IBAQACFMSv+L5CEQ2p\r\nkdEkP/tM1/vEXipQQhKAQUqrUh08v6F1CQ/Dz63HjPQLXlcnkuu48s1jVuFsvI+0\r\ndNKtesHyTMmJDpsk1vHpXU+UOLM9juu0B82PozbPaaBYaAbHYo4vHA+gjANbH9pY\r\nobGPrOwjgrRo2zS4TNVU220xhMqH/x3nLUc54ovlk4c01bNZeegfuQ5h0gBsMnfU\r\n3lINQr67vr++9yDYFsygqhVkgprlV49ryUS+gx84Rj3SwtRbj4YYNNSPqZStslbe\r\n4AW4DvL8Alo3Rv2M87tO9Dwla2f1cOeOkVjtimtLJVqBIzDTNvf6tYIPOQGfT6Iv\r\nMcblkzsx\r\n-----END CERTIFICATE-----\r\n"}' headers: Accept: @@ -679,21 +679,21 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - AAAAAAzI6ks= + - AAAAAA0stzI= ParameterSetName: - --hub-name -g -n -p --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004/verify?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004/verify?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000001","expiry":"Thu, 16 Apr 2020 - 16:10:25 GMT","thumbprint":"9F6AEB6C5E48C0C7D88E8439928FFB0B1A927F75","isVerified":true,"created":"Mon, - 13 Apr 2020 16:12:35 GMT","updated":"Mon, 13 Apr 2020 16:12:39 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAAzI6lE="}' + string: '{"properties":{"subject":"TESTCERT000001","expiry":"Fri, 01 May 2020 + 17:03:20 GMT","thumbprint":"9EC16448267ED4DE1483BAC4B0BCD56884D97A56","isVerified":true,"created":"Tue, + 28 Apr 2020 17:05:31 GMT","updated":"Tue, 28 Apr 2020 17:05:35 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004","name":"certificate-000004","type":"Microsoft.Devices/IotHubs/Certificates","etag":"AAAAAA0st08="}' headers: cache-control: - no-cache @@ -702,7 +702,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:38 GMT + - Tue, 28 Apr 2020 17:05:35 GMT expires: - '-1' pragma: @@ -736,16 +736,16 @@ interactions: Content-Length: - '0' If-Match: - - AAAAAAzI6lE= + - AAAAAA0st08= ParameterSetName: - --hub-name -g -n --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000002/providers/Microsoft.Devices/IotHubs/iot-hub-for-cert-test000003/certificates/certificate-000004?api-version=2020-03-01 response: body: string: '' @@ -755,7 +755,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:12:40 GMT + - Tue, 28 Apr 2020 17:05:36 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_lifecycle.yaml index 125c6a2668f..9f2e32f257f 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_lifecycle.yaml +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_lifecycle.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -34,7 +34,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:39:23 GMT + - Tue, 28 Apr 2020 17:03:21 GMT expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -68,15 +68,15 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:39:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-28T17:03:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:39:24 GMT + - Tue, 28 Apr 2020 17:03:22 GMT expires: - '-1' pragma: @@ -123,18 +123,18 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhiMTQ2NjAtN2RjYy00ZGU3LWIwNWEtMjVlYzBiMjRkZTMy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhmM2QwZjItMjE3OS00Y2E1LWFjNzUtMjlmMjc0YTllZTUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -142,7 +142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:39:27 GMT + - Tue, 28 Apr 2020 17:03:27 GMT expires: - '-1' pragma: @@ -154,7 +154,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4998' + - '4999' status: code: 201 message: Created @@ -172,10 +172,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhiMTQ2NjAtN2RjYy00ZGU3LWIwNWEtMjVlYzBiMjRkZTMy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhmM2QwZjItMjE3OS00Y2E1LWFjNzUtMjlmMjc0YTllZTUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -187,7 +187,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:39:58 GMT + - Tue, 28 Apr 2020 17:03:57 GMT expires: - '-1' pragma: @@ -219,10 +219,10 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhiMTQ2NjAtN2RjYy00ZGU3LWIwNWEtMjVlYzBiMjRkZTMy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhmM2QwZjItMjE3OS00Y2E1LWFjNzUtMjlmMjc0YTllZTUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -234,7 +234,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:40:28 GMT + - Tue, 28 Apr 2020 17:04:28 GMT expires: - '-1' pragma: @@ -266,10 +266,57 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhiMTQ2NjAtN2RjYy00ZGU3LWIwNWEtMjVlYzBiMjRkZTMy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhmM2QwZjItMjE3OS00Y2E1LWFjNzUtMjlmMjc0YTllZTUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 28 Apr 2020 17:04:58 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: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhmM2QwZjItMjE3OS00Y2E1LWFjNzUtMjlmMjc0YTllZTUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -281,7 +328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:40:58 GMT + - Tue, 28 Apr 2020 17:05:28 GMT expires: - '-1' pragma: @@ -313,14 +360,14 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJC7w=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iotreip7bx-3245353-7d96d43334.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA0stp0=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iot5rs5jwx-3334846-c6b692b616.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -329,7 +376,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:40:59 GMT + - Tue, 28 Apr 2020 17:05:28 GMT expires: - '-1' pragma: @@ -365,8 +412,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST @@ -382,7 +429,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:00 GMT + - Tue, 28 Apr 2020 17:05:30 GMT expires: - '-1' pragma: @@ -416,15 +463,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:39:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-04-28T17:03:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,7 +480,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:00 GMT + - Tue, 28 Apr 2020 17:05:30 GMT expires: - '-1' pragma: @@ -466,18 +513,18 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Activating","provisioningState":"Accepted","allocationPolicy":"Hashed","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Activating","provisioningState":"Accepted","allocationPolicy":"Hashed","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfOGEyNjdhYjQtMzgzMy00ODZmLTk4NmMtMTM5N2JiZDVmNDM2?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfM2Y3MzI2YzEtNTE5My00ODFiLTk2YmYtYmMzMjc0MjRiMDUz?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -485,7 +532,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:05 GMT + - Tue, 28 Apr 2020 17:05:32 GMT expires: - '-1' pragma: @@ -515,10 +562,10 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfOGEyNjdhYjQtMzgzMy00ODZmLTk4NmMtMTM5N2JiZDVmNDM2?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfM2Y3MzI2YzEtNTE5My00ODFiLTk2YmYtYmMzMjc0MjRiMDUz?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -530,7 +577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:36 GMT + - Tue, 28 Apr 2020 17:06:02 GMT expires: - '-1' pragma: @@ -562,13 +609,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVKQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkRs=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -577,7 +624,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:36 GMT + - Tue, 28 Apr 2020 17:06:03 GMT expires: - '-1' pragma: @@ -611,15 +658,15 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices?api-version=2018-01-22 response: body: - string: '{"value":[{"etag":"AAAAAALAVKQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"etag":"AAAAAALnkRs=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' headers: cache-control: - no-cache @@ -628,7 +675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:38 GMT + - Tue, 28 Apr 2020 17:06:03 GMT expires: - '-1' pragma: @@ -662,15 +709,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVKQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkRs=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -679,7 +726,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:41 GMT + - Tue, 28 Apr 2020 17:06:04 GMT expires: - '-1' pragma: @@ -713,15 +760,15 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVKQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkRs=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -730,7 +777,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:41 GMT + - Tue, 28 Apr 2020 17:06:05 GMT expires: - '-1' pragma: @@ -749,7 +796,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "etag": "AAAAAALAVKQ=", "properties": + body: '{"location": "westus", "tags": {}, "etag": "AAAAAALnkRs=", "properties": {"state": "Active", "provisioningState": "Succeeded", "iotHubs": [], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' headers: @@ -768,18 +815,18 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVKQ=","name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkRs=","name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjI2MDczOWMtMmE3NS00YTZlLThlZWMtN2Y4NGI3M2M2OWRi?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfN2FjM2VjMjItYTk1NS00OTQ5LWEyMDUtOWJhNGQ4YjVmYThi?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -787,7 +834,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:41:48 GMT + - Tue, 28 Apr 2020 17:06:08 GMT expires: - '-1' pragma: @@ -817,10 +864,10 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjI2MDczOWMtMmE3NS00YTZlLThlZWMtN2Y4NGI3M2M2OWRi?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfN2FjM2VjMjItYTk1NS00OTQ5LWEyMDUtOWJhNGQ4YjVmYThi?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -832,7 +879,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:18 GMT + - Tue, 28 Apr 2020 17:06:38 GMT expires: - '-1' pragma: @@ -864,13 +911,13 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVRM=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkTk=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -879,7 +926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:19 GMT + - Tue, 28 Apr 2020 17:06:39 GMT expires: - '-1' pragma: @@ -913,15 +960,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVRM=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkTk=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -930,7 +977,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:19 GMT + - Tue, 28 Apr 2020 17:06:39 GMT expires: - '-1' pragma: @@ -966,15 +1013,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2018-01-22 response: body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, DeviceConnect, EnrollmentWrite"}]}' headers: cache-control: @@ -984,7 +1031,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:19 GMT + - Tue, 28 Apr 2020 17:06:40 GMT expires: - '-1' pragma: @@ -1020,15 +1067,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVRM=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkTk=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1037,7 +1084,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:20 GMT + - Tue, 28 Apr 2020 17:06:41 GMT expires: - '-1' pragma: @@ -1058,8 +1105,8 @@ interactions: - request: body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=", "secondaryKey": - "qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=", "rights": "ServiceConfig, DeviceConnect, + "primaryKey": "gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=", "secondaryKey": + "A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=", "rights": "ServiceConfig, DeviceConnect, EnrollmentWrite"}, {"keyName": "policy000004", "rights": "EnrollmentRead"}]}, "sku": {"name": "S1", "capacity": 1}}' headers: @@ -1078,19 +1125,19 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentRead"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentRead"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfOGYxYWJiNTMtNDVlMC00MzRmLWIzNTktMmViZWRmMzNmNTUz?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjhjMjMyMTEtNWIxOS00OGNlLTgzZjUtMWM1OWE3M2FjMjc4?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -1098,7 +1145,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:23 GMT + - Tue, 28 Apr 2020 17:06:42 GMT expires: - '-1' pragma: @@ -1128,10 +1175,10 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfOGYxYWJiNTMtNDVlMC00MzRmLWIzNTktMmViZWRmMzNmNTUz?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjhjMjMyMTEtNWIxOS00OGNlLTgzZjUtMWM1OWE3M2FjMjc4?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -1143,7 +1190,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:54 GMT + - Tue, 28 Apr 2020 17:07:12 GMT expires: - '-1' pragma: @@ -1175,13 +1222,13 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1190,7 +1237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:54 GMT + - Tue, 28 Apr 2020 17:07:13 GMT expires: - '-1' pragma: @@ -1224,15 +1271,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1241,7 +1288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:55 GMT + - Tue, 28 Apr 2020 17:07:13 GMT expires: - '-1' pragma: @@ -1277,15 +1324,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000004/listkeys?api-version=2018-01-22 response: body: - string: '{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentRead"}' + string: '{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentRead"}' headers: cache-control: - no-cache @@ -1294,7 +1341,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:55 GMT + - Tue, 28 Apr 2020 17:07:14 GMT expires: - '-1' pragma: @@ -1330,15 +1377,15 @@ interactions: ParameterSetName: - -g --dps-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1347,7 +1394,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:56 GMT + - Tue, 28 Apr 2020 17:07:15 GMT expires: - '-1' pragma: @@ -1383,16 +1430,16 @@ interactions: ParameterSetName: - -g --dps-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2018-01-22 response: body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentRead"}]}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentRead"}]}' headers: cache-control: - no-cache @@ -1401,7 +1448,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:56 GMT + - Tue, 28 Apr 2020 17:07:15 GMT expires: - '-1' pragma: @@ -1437,15 +1484,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1454,7 +1501,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:58 GMT + - Tue, 28 Apr 2020 17:07:16 GMT expires: - '-1' pragma: @@ -1490,15 +1537,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000004/listkeys?api-version=2018-01-22 response: body: - string: '{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentRead"}' + string: '{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentRead"}' headers: cache-control: - no-cache @@ -1507,7 +1554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:58 GMT + - Tue, 28 Apr 2020 17:07:16 GMT expires: - '-1' pragma: @@ -1523,7 +1570,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1543,15 +1590,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1560,7 +1607,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:59 GMT + - Tue, 28 Apr 2020 17:07:18 GMT expires: - '-1' pragma: @@ -1596,16 +1643,16 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2018-01-22 response: body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentRead"}]}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentRead"}]}' headers: cache-control: - no-cache @@ -1614,7 +1661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:59 GMT + - Tue, 28 Apr 2020 17:07:18 GMT expires: - '-1' pragma: @@ -1650,15 +1697,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVUg=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkXc=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1667,7 +1714,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:42:59 GMT + - Tue, 28 Apr 2020 17:07:23 GMT expires: - '-1' pragma: @@ -1688,10 +1735,10 @@ interactions: - request: body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=", "secondaryKey": - "qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=", "rights": "ServiceConfig, DeviceConnect, - EnrollmentWrite"}, {"keyName": "policy000004", "primaryKey": "kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=", - "secondaryKey": "mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=", "rights": "EnrollmentWrite"}]}, + "primaryKey": "gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=", "secondaryKey": + "A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=", "rights": "ServiceConfig, DeviceConnect, + EnrollmentWrite"}, {"keyName": "policy000004", "primaryKey": "enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=", + "secondaryKey": "x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=", "rights": "EnrollmentWrite"}]}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: @@ -1709,19 +1756,19 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentWrite"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentWrite"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNDA2MzExNmItZThkZi00NjM3LThkNDEtYzU4NjNhOTQ5YjA3?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZTE0ODk1MDktZGFiYS00Yzg4LTk4NjQtZDQ4NGMxNTBmMDkx?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -1729,7 +1776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:02 GMT + - Tue, 28 Apr 2020 17:07:24 GMT expires: - '-1' pragma: @@ -1759,10 +1806,10 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNDA2MzExNmItZThkZi00NjM3LThkNDEtYzU4NjNhOTQ5YjA3?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZTE0ODk1MDktZGFiYS00Yzg4LTk4NjQtZDQ4NGMxNTBmMDkx?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -1774,7 +1821,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:32 GMT + - Tue, 28 Apr 2020 17:07:55 GMT expires: - '-1' pragma: @@ -1806,13 +1853,13 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVcQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkag=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1821,7 +1868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:32 GMT + - Tue, 28 Apr 2020 17:07:56 GMT expires: - '-1' pragma: @@ -1855,15 +1902,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVcQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkag=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1872,7 +1919,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:34 GMT + - Tue, 28 Apr 2020 17:07:56 GMT expires: - '-1' pragma: @@ -1908,15 +1955,15 @@ interactions: ParameterSetName: - -g --dps-name -n -r User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000004/listkeys?api-version=2018-01-22 response: body: - string: '{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentWrite"}' + string: '{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentWrite"}' headers: cache-control: - no-cache @@ -1925,7 +1972,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:34 GMT + - Tue, 28 Apr 2020 17:07:57 GMT expires: - '-1' pragma: @@ -1961,15 +2008,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVcQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkag=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1978,7 +2025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:35 GMT + - Tue, 28 Apr 2020 17:07:57 GMT expires: - '-1' pragma: @@ -2014,16 +2061,16 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2018-01-22 response: body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"kJBcgMkXIFW9DezbcFnh/x1Wx/haMC+XMuhnH7kUVpk=","secondaryKey":"mVNaTc9tPy9zDA9VtwTQU/DLqEHIORr6esl59JZ1SVw=","rights":"EnrollmentWrite"}]}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"enRRbDeljR3aQm6o6Pz2GMAKvZ6XExBpQsDkm6uezOQ=","secondaryKey":"x+yqXe8HGAmiNAvK8WM407Ign2e9HhFLZ0IlS84rHY8=","rights":"EnrollmentWrite"}]}' headers: cache-control: - no-cache @@ -2032,7 +2079,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:36 GMT + - Tue, 28 Apr 2020 17:07:57 GMT expires: - '-1' pragma: @@ -2048,7 +2095,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -2068,15 +2115,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVcQ=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkag=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -2085,7 +2132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:36 GMT + - Tue, 28 Apr 2020 17:07:58 GMT expires: - '-1' pragma: @@ -2106,8 +2153,8 @@ interactions: - request: body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=", "secondaryKey": - "qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=", "rights": "ServiceConfig, DeviceConnect, + "primaryKey": "gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=", "secondaryKey": + "A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=", "rights": "ServiceConfig, DeviceConnect, EnrollmentWrite"}]}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: @@ -2125,19 +2172,19 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"}]},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfY2NhMzZjN2MtNjAyOC00ODBlLWI1NmQtZjBiZGJiOGI1NGEy?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfN2Y3ZDRkZDAtMGY2ZS00MjU5LTg1MzAtNTExZDI4ZGVhYWM3?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -2145,7 +2192,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:43:37 GMT + - Tue, 28 Apr 2020 17:08:00 GMT expires: - '-1' pragma: @@ -2175,10 +2222,10 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfY2NhMzZjN2MtNjAyOC00ODBlLWI1NmQtZjBiZGJiOGI1NGEy?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfN2Y3ZDRkZDAtMGY2ZS00MjU5LTg1MzAtNTExZDI4ZGVhYWM3?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -2190,7 +2237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:08 GMT + - Tue, 28 Apr 2020 17:08:30 GMT expires: - '-1' pragma: @@ -2222,13 +2269,13 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVi4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkdw=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -2237,7 +2284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:09 GMT + - Tue, 28 Apr 2020 17:08:30 GMT expires: - '-1' pragma: @@ -2271,15 +2318,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVi4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkdw=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -2288,7 +2335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:09 GMT + - Tue, 28 Apr 2020 17:08:31 GMT expires: - '-1' pragma: @@ -2324,15 +2371,15 @@ interactions: ParameterSetName: - -g --dps-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2018-01-22 response: body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"yzrXW6UjJ/OXCV/k9nN9OvJpE1Z+WRVlOb72CvavMqM=","secondaryKey":"qJfxei+KgELHVWF7l685/ztMgv/6g7gC/V7DM2DhvA0=","rights":"ServiceConfig, + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"gabtWqrcb4/V+O22dHtUfdIt/DbGmRPjGa8TiYTix/w=","secondaryKey":"A0f4LX4ad9M0dK7Q/n1UrZZJLypVs74q69PX94JidL0=","rights":"ServiceConfig, DeviceConnect, EnrollmentWrite"}]}' headers: cache-control: @@ -2342,7 +2389,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:09 GMT + - Tue, 28 Apr 2020 17:08:32 GMT expires: - '-1' pragma: @@ -2358,7 +2405,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -2378,8 +2425,8 @@ interactions: ParameterSetName: - --dps-name -g --name -p User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET @@ -2395,7 +2442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:10 GMT + - Tue, 28 Apr 2020 17:08:33 GMT expires: - '-1' pragma: @@ -2414,7 +2461,7 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIE30zJpCCG7AwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3MyMB4XDTIwMDQxMjE2NDQwOVoXDTIw\r\nMDQxNjE2NDQwOVowIzEhMB8GA1UEAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3My\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1J0NOjjAhx9IBtbYeYONE\r\nPkuTvmT1+pWn22fOC9vWoAH+d7DAdJLJGtxLmvv0y3HwMb4bzbaPJ9aXM/x9X67+\r\nlymunSYuBlEHqSj6sNlPn0qFUHJZnI0iIkD1vydZ/JKMiUOsKlbDLdjiCJHNKoVU\r\nJfaWRp6RA5PvkQtcf+HCEUjIIzqmCOMAeCtx3Bnxd5Ex773kWjJUjD0Eh9gayOrr\r\nSoD7vueZhDOII9VbT/jRfiV+BaZdIXWMya1dHRd/8FjozbX9Ii1fYZo20EVCEbCK\r\nscWNPXy+x9qVAeZwPJ6LrJBwKO+J/srwbeyIL9tizkMEnVQU9mvxSM+besr+qe8v\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQATx8jT7juT+rq+/I9kUbtj/DHtqn4W1N5WK4tZcdeR\r\nIxiE11ZnlAbbIsFvuFyDHUCEtD8JLxRi6jKcqcernnMwp9jRVENWbCxyuRQo6K3I\r\nM3eYIrtfngandddw5EPXONyl3CN1KVUR6CJeZSp780sOcnsc0aTUCsI9g6Dpkaj1\r\nkacDTS+SpAthg4qmdy0VGFZzIHlfTR/qAdg5cHxiemcZmLIX5rMDHMdLMqd9PaOk\r\nesbiTFFgvWDUHo8VXHZacwjJ5yTA30QFkzL7lBohgsZDsD5cItYk/mDscT1FGdTO\r\n+v9rZqGclDSWDLRqK+lez/k3Zb5944dQOvfPG33vCRDj\r\n-----END + body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIHFZpCI1+MsQwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lzMB4XDTIwMDQyNzE3MDgzM1oXDTIw\r\nMDUwMTE3MDgzM1owIzEhMB8GA1UEAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lz\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1BpHaX0j/qUUo7E0+t2u9\r\nBy6OzbV+zdVAmOiMxJgFsGPldb5f1wK/wtSg0a0/0WinFTl7kpXs5XZxpg0dwLtc\r\nOMm4/9+7IvKeJmmo9+1ZaT1mldu1QNfUuK+YoBziI4JscKCUwrIZu6c8sORPrgcY\r\no1Za9qE0GsLaXtwDnWCda5i2u+JDhQ/Eha6wlrpJvT8ID8/EjkU+lbRa+J5TMW5N\r\neMO6HJPz3+iCdbyUUVU/HPcs4PYKLZZeVJmGOD2cC9Z2PFDywP/WPE17jS4XQV34\r\nIFZQky8EuxBRR9CNe5qJZLU7q+Zh4HvbHWeP+pzz9rGVYzLV26Gh5wqeJW+q7AKZ\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAVJSxs/uizV2v3hyhifC9zUQv5W2wbW0hJZAZw8B1H\r\nFMEhVkiqBFXV+e0KvrFN3IPa1Zi635yJwD3CRXYXka0Bs4uIBXlfGdwVnqXEnAl5\r\nMVxvXtY1mmhFID7Wikw+lAhD2j2UZX/sx7iFNAH8uMWeKrRfRqVeHP9zb/aKty08\r\nTangZLOvmORWSKGWMjHJJ03ujP08T5/xDuoK4fQdJJPYTFyxp54vu5qjUvdLKlVw\r\npRd9Gi1S4tKzHtzKEE3o6xfGJRte82jXWEReAq/lS193f6+2O+Udnp1FykxfWzdw\r\nVwCe4eruEJibO9F3ujYvz7L5RvO1P4X356u+5/w2umqg\r\n-----END CERTIFICATE-----\r\n"}' headers: Accept: @@ -2432,19 +2479,19 @@ interactions: ParameterSetName: - --dps-name -g --name -p User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005?api-version=2018-01-22 response: body: - string: '{"properties":{"subject":"TESTCERT000006","expiry":"Thu, 16 Apr 2020 - 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:11 GMT","certificate":"-----BEGIN - CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIE30zJpCCG7AwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3MyMB4XDTIwMDQxMjE2NDQwOVoXDTIw\r\nMDQxNjE2NDQwOVowIzEhMB8GA1UEAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3My\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1J0NOjjAhx9IBtbYeYONE\r\nPkuTvmT1+pWn22fOC9vWoAH+d7DAdJLJGtxLmvv0y3HwMb4bzbaPJ9aXM/x9X67+\r\nlymunSYuBlEHqSj6sNlPn0qFUHJZnI0iIkD1vydZ/JKMiUOsKlbDLdjiCJHNKoVU\r\nJfaWRp6RA5PvkQtcf+HCEUjIIzqmCOMAeCtx3Bnxd5Ex773kWjJUjD0Eh9gayOrr\r\nSoD7vueZhDOII9VbT/jRfiV+BaZdIXWMya1dHRd/8FjozbX9Ii1fYZo20EVCEbCK\r\nscWNPXy+x9qVAeZwPJ6LrJBwKO+J/srwbeyIL9tizkMEnVQU9mvxSM+besr+qe8v\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQATx8jT7juT+rq+/I9kUbtj/DHtqn4W1N5WK4tZcdeR\r\nIxiE11ZnlAbbIsFvuFyDHUCEtD8JLxRi6jKcqcernnMwp9jRVENWbCxyuRQo6K3I\r\nM3eYIrtfngandddw5EPXONyl3CN1KVUR6CJeZSp780sOcnsc0aTUCsI9g6Dpkaj1\r\nkacDTS+SpAthg4qmdy0VGFZzIHlfTR/qAdg5cHxiemcZmLIX5rMDHMdLMqd9PaOk\r\nesbiTFFgvWDUHo8VXHZacwjJ5yTA30QFkzL7lBohgsZDsD5cItYk/mDscT1FGdTO\r\n+v9rZqGclDSWDLRqK+lez/k3Zb5944dQOvfPG33vCRDj\r\n-----END - CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVmA="}' + string: '{"properties":{"subject":"TESTCERT000006","expiry":"Fri, 01 May 2020 + 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:34 GMT","certificate":"-----BEGIN + CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIHFZpCI1+MsQwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lzMB4XDTIwMDQyNzE3MDgzM1oXDTIw\r\nMDUwMTE3MDgzM1owIzEhMB8GA1UEAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lz\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1BpHaX0j/qUUo7E0+t2u9\r\nBy6OzbV+zdVAmOiMxJgFsGPldb5f1wK/wtSg0a0/0WinFTl7kpXs5XZxpg0dwLtc\r\nOMm4/9+7IvKeJmmo9+1ZaT1mldu1QNfUuK+YoBziI4JscKCUwrIZu6c8sORPrgcY\r\no1Za9qE0GsLaXtwDnWCda5i2u+JDhQ/Eha6wlrpJvT8ID8/EjkU+lbRa+J5TMW5N\r\neMO6HJPz3+iCdbyUUVU/HPcs4PYKLZZeVJmGOD2cC9Z2PFDywP/WPE17jS4XQV34\r\nIFZQky8EuxBRR9CNe5qJZLU7q+Zh4HvbHWeP+pzz9rGVYzLV26Gh5wqeJW+q7AKZ\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAVJSxs/uizV2v3hyhifC9zUQv5W2wbW0hJZAZw8B1H\r\nFMEhVkiqBFXV+e0KvrFN3IPa1Zi635yJwD3CRXYXka0Bs4uIBXlfGdwVnqXEnAl5\r\nMVxvXtY1mmhFID7Wikw+lAhD2j2UZX/sx7iFNAH8uMWeKrRfRqVeHP9zb/aKty08\r\nTangZLOvmORWSKGWMjHJJ03ujP08T5/xDuoK4fQdJJPYTFyxp54vu5qjUvdLKlVw\r\npRd9Gi1S4tKzHtzKEE3o6xfGJRte82jXWEReAq/lS193f6+2O+Udnp1FykxfWzdw\r\nVwCe4eruEJibO9F3ujYvz7L5RvO1P4X356u+5/w2umqg\r\n-----END + CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkfk="}' headers: cache-control: - no-cache @@ -2453,7 +2500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:11 GMT + - Tue, 28 Apr 2020 17:08:34 GMT expires: - '-1' pragma: @@ -2489,17 +2536,17 @@ interactions: ParameterSetName: - --dps-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2018-01-22 response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000006","expiry":"Thu, - 16 Apr 2020 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:11 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVmA="}]}' + string: '{"value":[{"properties":{"subject":"TESTCERT000006","expiry":"Fri, + 01 May 2020 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:34 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkfk="}]}' headers: cache-control: - no-cache @@ -2508,7 +2555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:12 GMT + - Tue, 28 Apr 2020 17:08:35 GMT expires: - '-1' pragma: @@ -2542,17 +2589,17 @@ interactions: ParameterSetName: - --dps-name -g --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005?api-version=2018-01-22 response: body: - string: '{"properties":{"subject":"TESTCERT000006","expiry":"Thu, 16 Apr 2020 - 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:11 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVmA="}' + string: '{"properties":{"subject":"TESTCERT000006","expiry":"Fri, 01 May 2020 + 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:34 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkfk="}' headers: cache-control: - no-cache @@ -2561,7 +2608,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:12 GMT + - Tue, 28 Apr 2020 17:08:35 GMT expires: - '-1' pragma: @@ -2595,17 +2642,17 @@ interactions: ParameterSetName: - --dps-name -g --name -p --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2018-01-22 response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000006","expiry":"Thu, - 16 Apr 2020 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:11 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVmA="}]}' + string: '{"value":[{"properties":{"subject":"TESTCERT000006","expiry":"Fri, + 01 May 2020 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:34 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkfk="}]}' headers: cache-control: - no-cache @@ -2614,7 +2661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:13 GMT + - Tue, 28 Apr 2020 17:08:37 GMT expires: - '-1' pragma: @@ -2633,7 +2680,7 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIE30zJpCCG7AwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3MyMB4XDTIwMDQxMjE2NDQwOVoXDTIw\r\nMDQxNjE2NDQwOVowIzEhMB8GA1UEAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3My\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1J0NOjjAhx9IBtbYeYONE\r\nPkuTvmT1+pWn22fOC9vWoAH+d7DAdJLJGtxLmvv0y3HwMb4bzbaPJ9aXM/x9X67+\r\nlymunSYuBlEHqSj6sNlPn0qFUHJZnI0iIkD1vydZ/JKMiUOsKlbDLdjiCJHNKoVU\r\nJfaWRp6RA5PvkQtcf+HCEUjIIzqmCOMAeCtx3Bnxd5Ex773kWjJUjD0Eh9gayOrr\r\nSoD7vueZhDOII9VbT/jRfiV+BaZdIXWMya1dHRd/8FjozbX9Ii1fYZo20EVCEbCK\r\nscWNPXy+x9qVAeZwPJ6LrJBwKO+J/srwbeyIL9tizkMEnVQU9mvxSM+besr+qe8v\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQATx8jT7juT+rq+/I9kUbtj/DHtqn4W1N5WK4tZcdeR\r\nIxiE11ZnlAbbIsFvuFyDHUCEtD8JLxRi6jKcqcernnMwp9jRVENWbCxyuRQo6K3I\r\nM3eYIrtfngandddw5EPXONyl3CN1KVUR6CJeZSp780sOcnsc0aTUCsI9g6Dpkaj1\r\nkacDTS+SpAthg4qmdy0VGFZzIHlfTR/qAdg5cHxiemcZmLIX5rMDHMdLMqd9PaOk\r\nesbiTFFgvWDUHo8VXHZacwjJ5yTA30QFkzL7lBohgsZDsD5cItYk/mDscT1FGdTO\r\n+v9rZqGclDSWDLRqK+lez/k3Zb5944dQOvfPG33vCRDj\r\n-----END + body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIHFZpCI1+MsQwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lzMB4XDTIwMDQyNzE3MDgzM1oXDTIw\r\nMDUwMTE3MDgzM1owIzEhMB8GA1UEAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lz\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1BpHaX0j/qUUo7E0+t2u9\r\nBy6OzbV+zdVAmOiMxJgFsGPldb5f1wK/wtSg0a0/0WinFTl7kpXs5XZxpg0dwLtc\r\nOMm4/9+7IvKeJmmo9+1ZaT1mldu1QNfUuK+YoBziI4JscKCUwrIZu6c8sORPrgcY\r\no1Za9qE0GsLaXtwDnWCda5i2u+JDhQ/Eha6wlrpJvT8ID8/EjkU+lbRa+J5TMW5N\r\neMO6HJPz3+iCdbyUUVU/HPcs4PYKLZZeVJmGOD2cC9Z2PFDywP/WPE17jS4XQV34\r\nIFZQky8EuxBRR9CNe5qJZLU7q+Zh4HvbHWeP+pzz9rGVYzLV26Gh5wqeJW+q7AKZ\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAVJSxs/uizV2v3hyhifC9zUQv5W2wbW0hJZAZw8B1H\r\nFMEhVkiqBFXV+e0KvrFN3IPa1Zi635yJwD3CRXYXka0Bs4uIBXlfGdwVnqXEnAl5\r\nMVxvXtY1mmhFID7Wikw+lAhD2j2UZX/sx7iFNAH8uMWeKrRfRqVeHP9zb/aKty08\r\nTangZLOvmORWSKGWMjHJJ03ujP08T5/xDuoK4fQdJJPYTFyxp54vu5qjUvdLKlVw\r\npRd9Gi1S4tKzHtzKEE3o6xfGJRte82jXWEReAq/lS193f6+2O+Udnp1FykxfWzdw\r\nVwCe4eruEJibO9F3ujYvz7L5RvO1P4X356u+5/w2umqg\r\n-----END CERTIFICATE-----\r\n"}' headers: Accept: @@ -2649,23 +2696,23 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - AAAAAALAVmA= + - AAAAAALnkfk= ParameterSetName: - --dps-name -g --name -p --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005?api-version=2018-01-22 response: body: - string: '{"properties":{"subject":"TESTCERT000006","expiry":"Thu, 16 Apr 2020 - 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:14 GMT","certificate":"-----BEGIN - CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIE30zJpCCG7AwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3MyMB4XDTIwMDQxMjE2NDQwOVoXDTIw\r\nMDQxNjE2NDQwOVowIzEhMB8GA1UEAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3My\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1J0NOjjAhx9IBtbYeYONE\r\nPkuTvmT1+pWn22fOC9vWoAH+d7DAdJLJGtxLmvv0y3HwMb4bzbaPJ9aXM/x9X67+\r\nlymunSYuBlEHqSj6sNlPn0qFUHJZnI0iIkD1vydZ/JKMiUOsKlbDLdjiCJHNKoVU\r\nJfaWRp6RA5PvkQtcf+HCEUjIIzqmCOMAeCtx3Bnxd5Ex773kWjJUjD0Eh9gayOrr\r\nSoD7vueZhDOII9VbT/jRfiV+BaZdIXWMya1dHRd/8FjozbX9Ii1fYZo20EVCEbCK\r\nscWNPXy+x9qVAeZwPJ6LrJBwKO+J/srwbeyIL9tizkMEnVQU9mvxSM+besr+qe8v\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQATx8jT7juT+rq+/I9kUbtj/DHtqn4W1N5WK4tZcdeR\r\nIxiE11ZnlAbbIsFvuFyDHUCEtD8JLxRi6jKcqcernnMwp9jRVENWbCxyuRQo6K3I\r\nM3eYIrtfngandddw5EPXONyl3CN1KVUR6CJeZSp780sOcnsc0aTUCsI9g6Dpkaj1\r\nkacDTS+SpAthg4qmdy0VGFZzIHlfTR/qAdg5cHxiemcZmLIX5rMDHMdLMqd9PaOk\r\nesbiTFFgvWDUHo8VXHZacwjJ5yTA30QFkzL7lBohgsZDsD5cItYk/mDscT1FGdTO\r\n+v9rZqGclDSWDLRqK+lez/k3Zb5944dQOvfPG33vCRDj\r\n-----END - CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVm4="}' + string: '{"properties":{"subject":"TESTCERT000006","expiry":"Fri, 01 May 2020 + 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:38 GMT","certificate":"-----BEGIN + CERTIFICATE-----\r\nMIIDHTCCAgWgAwIBAgIIHFZpCI1+MsQwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lzMB4XDTIwMDQyNzE3MDgzM1oXDTIw\r\nMDUwMTE3MDgzM1owIzEhMB8GA1UEAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lz\r\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQA1BpHaX0j/qUUo7E0+t2u9\r\nBy6OzbV+zdVAmOiMxJgFsGPldb5f1wK/wtSg0a0/0WinFTl7kpXs5XZxpg0dwLtc\r\nOMm4/9+7IvKeJmmo9+1ZaT1mldu1QNfUuK+YoBziI4JscKCUwrIZu6c8sORPrgcY\r\no1Za9qE0GsLaXtwDnWCda5i2u+JDhQ/Eha6wlrpJvT8ID8/EjkU+lbRa+J5TMW5N\r\neMO6HJPz3+iCdbyUUVU/HPcs4PYKLZZeVJmGOD2cC9Z2PFDywP/WPE17jS4XQV34\r\nIFZQky8EuxBRR9CNe5qJZLU7q+Zh4HvbHWeP+pzz9rGVYzLV26Gh5wqeJW+q7AKZ\r\nAgMBAAGjVjBUMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFNo5o+5ea0sN\r\nMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFNo5o+5ea0sNMlW/75VgGJCv2AcJMA0G\r\nCSqGSIb3DQEBCwUAA4IBAQAVJSxs/uizV2v3hyhifC9zUQv5W2wbW0hJZAZw8B1H\r\nFMEhVkiqBFXV+e0KvrFN3IPa1Zi635yJwD3CRXYXka0Bs4uIBXlfGdwVnqXEnAl5\r\nMVxvXtY1mmhFID7Wikw+lAhD2j2UZX/sx7iFNAH8uMWeKrRfRqVeHP9zb/aKty08\r\nTangZLOvmORWSKGWMjHJJ03ujP08T5/xDuoK4fQdJJPYTFyxp54vu5qjUvdLKlVw\r\npRd9Gi1S4tKzHtzKEE3o6xfGJRte82jXWEReAq/lS193f6+2O+Udnp1FykxfWzdw\r\nVwCe4eruEJibO9F3ujYvz7L5RvO1P4X356u+5/w2umqg\r\n-----END + CERTIFICATE-----\r\n"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkf4="}' headers: cache-control: - no-cache @@ -2674,7 +2721,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:15 GMT + - Tue, 28 Apr 2020 17:08:38 GMT expires: - '-1' pragma: @@ -2710,21 +2757,21 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - AAAAAALAVm4= + - AAAAAALnkf4= ParameterSetName: - --dps-name -g -n --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005/generateVerificationCode?api-version=2018-01-22 response: body: - string: '{"properties":{"verificationCode":"1D8CAF2932600F7DE11856D77162811EB2D04F3F35BD346A","subject":"TESTCERT000006","expiry":"Thu, - 16 Apr 2020 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":false,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:16 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVnI="}' + string: '{"properties":{"verificationCode":"ED6BD1BB5AEA9FD998F02A6AEBE0CA471CCE80FE893307FA","subject":"TESTCERT000006","expiry":"Fri, + 01 May 2020 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":false,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:39 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkgM="}' headers: cache-control: - no-cache @@ -2733,7 +2780,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:15 GMT + - Tue, 28 Apr 2020 17:08:39 GMT expires: - '-1' pragma: @@ -2749,12 +2796,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK - request: - body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDAjCCAeqgAwIBAgIII+35fRIHMXMwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlR2enBob2ZteWN2cnYzc3MyMB4XDTIwMDQxMjE2NDQxNloXDTIw\r\nMDQxNjE2NDQxNlowOzE5MDcGA1UEAwwwMUQ4Q0FGMjkzMjYwMEY3REUxMTg1NkQ3\r\nNzE2MjgxMUVCMkQwNEYzRjM1QkQzNDZBMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4A\r\nMIIBCQKCAQA7kTluw8xzX8YhmWHAC34sZ5RNdR8JOZGSxaobQJOsAHJswIVrDUU3\r\n6Giwyfp1vSCdFTMfLFlE0M4wcQ4NIqlsWo+nWlOWgDcZ31T8ZDtUgTJXAGAtvXAy\r\nuVIpUNVBiX+EQ6B7PnAucUk8sw8cu6/vfNcDtkpC3Av6MmSotsodJHa/TRP7+EU+\r\nPPQfEv8TcOqdpqnFJ1XUgKOpdTFallWFopwYPU4UqSFNakA9oFnpX/V3RdTWu5Oh\r\nk1ghX74JRVsxUJdEmb9QAq2pbwCRgwXXGeQEGe0XLQxVQlFeCv1CTe/06q0SH12K\r\nHtJmsswQPOCGh5KmGbWBqA8ze75mCYM7AgMBAAGjIzAhMB8GA1UdIwQYMBaAFNo5\r\no+5ea0sNMlW/75VgGJCv2AcJMA0GCSqGSIb3DQEBCwUAA4IBAQAwzKonAgPTbveU\r\nehUpOBjHbZJjo2BP6h/cYZjLq72Kko/awWjiN1yCF8CtDz+PLshT39x12AoFE/pa\r\nUXsMFT+Yl2y6HOM5cXf0ZNIF/gYIwR4+mIeLw6FApuJRAjgd1VyELAf/na09/flD\r\nG7EMuGrneuCcGOrYKjDw1z/K4oQ7AZHWeUbJZf74mtW/YavYnj/o9cgn5hbGa24w\r\nC7g0vj3g0gXCpceDC5qa7fRvtH9BUErf2H7769DlbHJEQTQgcsumIYxaofKLczvC\r\nGbEX3PfMxCli5ETghbmt2+W0vKb5OsFVRlVFBxqJGYShzpSd5hy4Xl0MB9zsuNsd\r\nDR3J+YVC\r\n-----END + body: '{"certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDAjCCAeqgAwIBAgIIc8CrCi4dVqIwDQYJKoZIhvcNAQELBQAwIzEhMB8GA1UE\r\nAwwYVEVTVENFUlRzeTR0ZWJ3eHE2NGo1a3lzMB4XDTIwMDQyNzE3MDg0MFoXDTIw\r\nMDUwMTE3MDg0MFowOzE5MDcGA1UEAwwwRUQ2QkQxQkI1QUVBOUZEOTk4RjAyQTZB\r\nRUJFMENBNDcxQ0NFODBGRTg5MzMwN0ZBMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4A\r\nMIIBCQKCAQA8XeS6Oj0WJRdmv2cky2+R7pv3URIzXvBsulbjl7qRliRsb7NQc8Bx\r\nU9prbuGIAhl53HAydabCDIApJnMCvIurfQLLRkkZBfXUgWsPWqyCbTd9psO3pm/A\r\nYuPKqAD4i8fJH5qP58UGM0hb6ZHUgryPC1yjJk0Tkh+NqEpyyVQgT5SEKdtDku10\r\nCC8kj7eQJlqPy/nhOhrF9yTwAX5fPOiLQKEtha+YrSEKQFP9N0eG56IuIJqVF+Jg\r\n/yG604NKEHBYAT0S3wQK/+4YqRXwUvG7vef1uf6mEZqUcba3kpdl8Ufv4vtErqUa\r\nXNbkTUUaorNo6KI3zAk2YM72rsyxosQVAgMBAAGjIzAhMB8GA1UdIwQYMBaAFNo5\r\no+5ea0sNMlW/75VgGJCv2AcJMA0GCSqGSIb3DQEBCwUAA4IBAQAO6AW7RSrpa5j+\r\nMdxjzWJWLje6GwdKdTCq1sMQH5bG7H+EUiMFkSdlugJ1KtwrKRWkpqzF7K/ieghJ\r\nJoySy8Ag9nZ5AcjkjJi5kSO5hja+wN2vbK99cYU31YYudJupvy4s3+I9qHEm9B5Q\r\ntDVbJ5oKQh1/jkxmefSubu9u2AOpJPnRyv3OHNCwit0GBILjY2zLL4KvtRdRv9MZ\r\n/bZWyRBIeUZ8a0O57bBfqQy4iZuHeL0teMHEmPmhGSaSW2qOnblAMa+5c52hxL7l\r\niWM19ssahRVsfny03kzmKTjVFeXeEwukNhLUwctF9ChLr83m3vUMMN1yvQNUe75h\r\nfZdnaiw2\r\n-----END CERTIFICATE-----\r\n"}' headers: Accept: @@ -2770,21 +2817,21 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - AAAAAALAVnI= + - AAAAAALnkgM= ParameterSetName: - --dps-name -g -n -p --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005/verify?api-version=2018-01-22 response: body: - string: '{"properties":{"subject":"TESTCERT000006","expiry":"Thu, 16 Apr 2020 - 16:44:09 GMT","thumbprint":"D7214E0A407F6C4E7048DB8A8875BCD4E72AC9FE","isVerified":true,"created":"Mon, - 13 Apr 2020 16:44:11 GMT","updated":"Mon, 13 Apr 2020 16:44:17 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALAVnQ="}' + string: '{"properties":{"subject":"TESTCERT000006","expiry":"Fri, 01 May 2020 + 17:08:33 GMT","thumbprint":"67EA1CEC64E3F377FD5AEC0E228E9151797F2F4C","isVerified":true,"created":"Tue, + 28 Apr 2020 17:08:34 GMT","updated":"Tue, 28 Apr 2020 17:08:41 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005","name":"certificate000005","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"AAAAAALnkgQ="}' headers: cache-control: - no-cache @@ -2793,7 +2840,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:17 GMT + - Tue, 28 Apr 2020 17:08:41 GMT expires: - '-1' pragma: @@ -2829,12 +2876,12 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - AAAAAALAVnQ= + - AAAAAALnkgQ= ParameterSetName: - --dps-name -g --name --etag User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: DELETE @@ -2848,7 +2895,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:44:19 GMT + - Tue, 28 Apr 2020 17:08:42 GMT expires: - '-1' pragma: @@ -2878,25 +2925,38 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJC7w=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iotreip7bx-3245353-7d96d43334.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/ryan-testhub","name":"ryan-testhub","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAAzXW70=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ryan-testhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ryan-testhub","endpoint":"sb://iothub-ns-ryan-testh-2518193-ff7820fd43.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rk-iot-rg;SharedAccessKey=****;EntityPath=rkiotsbqueue","name":"service-queue-endpoint","id":"f7caaf4b-d1e1-4513-b09e-32834e2b1945","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rk-iot-rg;SharedAccessKey=****;EntityPath=rkiotsbqueue","name":"queue-endpoint-2","id":"a35dea6c-b3b6-4392-96bd-decc9d1aa632","subscriptionId":"72f988bf-86f1-41af-91ab-2d7cd011db47","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"blob","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"new-storeage-endpoint","id":"dc021654-99c7-4e62-abd2-ca5287a52e52","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"routes":[{"name":"new-storage-route","source":"DeviceMessages","condition":"true","endpointNames":["new-storeage-endpoint"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT48H","maxDeliveryCount":100}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2RY8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXY=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAAy6HUk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0skZA=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"endpointUri":"https://rkiotsb.servicebus.windows.net/rkiotsbqueue","entityPath":"rkiotsbqueue","authenticationType":"identityBased","name":"sbq-endpoint","id":"5baf1cd5-48f9-49af-be74-16d2e52291bb","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[{"endpointUri":"https://rkiotsb.servicebus.windows.net/rkiotsbtopic","entityPath":"rkiotsbtopic","authenticationType":"identityBased","name":"sbt-endpoint","id":"98d9ac5c-9175-4253-ac33-0bbf36b6992e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"eventHubs":[{"endpointUri":"rkioteh.servicebus.windows.net","entityPath":"rk-eventhub","authenticationType":"identityBased","name":"eh-endpoint","id":"9e0847f5-2a32-4a09-a2e9-59c6bf6686f1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"containerName":"blob","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":300,"maxChunkSizeInBytes":314572800,"encoding":"avro","endpointUri":"https://rkstoragetest.blob.core.windows.net","authenticationType":"identityBased","name":"sc-endpoint","id":"d3d0ac2d-7c2a-4e37-a8a4-ac91e7b91c88","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"ca39affb-6523-4301-a3e4-8fdeca7e9425","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA0stp0=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iot5rs5jwx-3334846-c6b692b616.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgkzc7ly7rcxyrlsntmd6lf7tbluqrlou3g4ew324krn6p4wsgxt54qqbsrc4azd42p/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgkzc7ly7rcxyrlsntmd6lf7tbluqrlou3g4ew324krn6p4wsgxt54qqbsrc4azd42p","etag":"AAAAAA0suQ8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' headers: cache-control: - no-cache content-length: - - '1669' + - '24944' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:19 GMT + - Tue, 28 Apr 2020 17:08:45 GMT expires: - '-1' pragma: @@ -2930,16 +2990,16 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=","secondaryKey":"PzTda7OWpyNxedRgntIs0eCR0hImJevTcxnU4DKOH9o=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"R5epxD12ipJLB2p6owGIBkvnpNiMgv3mkZINWPayonE=","secondaryKey":"m4c4OmRiSkbiWuxlDmOwT1hag5Nzd4S/pgwnSmKWKBg=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"fpaXOC8W/QPRC7wdEGAjp6JtRwWfInsdg5I+/UpDo8M=","secondaryKey":"mPA/tGJNDnzuEfxz6K091w03pCdQQWfAguGXu08Z8AQ=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"+31bQ1z9Mh55qqQlo7++6nhKITppZx4pauS3GA2b+ww=","secondaryKey":"J6JKTWOGvdlaqwZQbDRSr81x/73M3i9zUXC0HoUdtGs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"YIkX2hwfaQMW2TYuQKEeG7E6rGQ0sIIU/RKFVDDq8MI=","secondaryKey":"1VSEVNol8jQZcxjXaEyyevRz138i7LjUmSLka8OrtsY=","rights":"RegistryWrite"}]}' + string: '{"value":[{"keyName":"iothubowner","primaryKey":"2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=","secondaryKey":"ujOXiOQ2mBn7sHhDnLMp2AYEz862JYgDLd5kjSxComU=","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"M/fA2TrcbxeLMEEaue05cLlRVs8o/FS2Jn+uRc4WIqA=","secondaryKey":"srYqKjRpOwdL3r6upG6hhkmhTtHpSY3WZL6aQQezQ4U=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"vZpluDB/ZcXyphIUGK6as4KAH3+tGZ3kyjkK5Lcg8vw=","secondaryKey":"wDUNoT+hS5VT1W1KGCS+W28YlYqgLWtOO++dvph34Ws=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"UXWQSTyBk2AOCCnbn0nCpFnEWl1TbQn22svyA3dU9pg=","secondaryKey":"4ySvxfcNQFGVsfWf8a3mI6GGc+XtX3Ikmx03UmQHMh4=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"RU5LY8s7wE342p4sqmwaIKrvlRmYk2MnwoxtQqxFHpg=","secondaryKey":"uPLDrPcYA5x0V5cTYIRqeQT3bN7TXbLMdZLXFBLgBsY=","rights":"RegistryWrite"}]}' headers: cache-control: - no-cache @@ -2948,7 +3008,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:19 GMT + - Tue, 28 Apr 2020 17:08:45 GMT expires: - '-1' pragma: @@ -2969,17 +3029,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "etag": "AAAAAAzJC7w=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=", - "secondaryKey": "PzTda7OWpyNxedRgntIs0eCR0hImJevTcxnU4DKOH9o=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "R5epxD12ipJLB2p6owGIBkvnpNiMgv3mkZINWPayonE=", - "secondaryKey": "m4c4OmRiSkbiWuxlDmOwT1hag5Nzd4S/pgwnSmKWKBg=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "fpaXOC8W/QPRC7wdEGAjp6JtRwWfInsdg5I+/UpDo8M=", - "secondaryKey": "mPA/tGJNDnzuEfxz6K091w03pCdQQWfAguGXu08Z8AQ=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "+31bQ1z9Mh55qqQlo7++6nhKITppZx4pauS3GA2b+ww=", - "secondaryKey": "J6JKTWOGvdlaqwZQbDRSr81x/73M3i9zUXC0HoUdtGs=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "YIkX2hwfaQMW2TYuQKEeG7E6rGQ0sIIU/RKFVDDq8MI=", - "secondaryKey": "1VSEVNol8jQZcxjXaEyyevRz138i7LjUmSLka8OrtsY=", "rights": "RegistryWrite"}, + body: '{"location": "westus", "tags": {}, "etag": "AAAAAA0stp0=", "properties": + {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=", + "secondaryKey": "ujOXiOQ2mBn7sHhDnLMp2AYEz862JYgDLd5kjSxComU=", "rights": "RegistryWrite, + ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "M/fA2TrcbxeLMEEaue05cLlRVs8o/FS2Jn+uRc4WIqA=", + "secondaryKey": "srYqKjRpOwdL3r6upG6hhkmhTtHpSY3WZL6aQQezQ4U=", "rights": "ServiceConnect"}, + {"keyName": "device", "primaryKey": "vZpluDB/ZcXyphIUGK6as4KAH3+tGZ3kyjkK5Lcg8vw=", + "secondaryKey": "wDUNoT+hS5VT1W1KGCS+W28YlYqgLWtOO++dvph34Ws=", "rights": "DeviceConnect"}, + {"keyName": "registryRead", "primaryKey": "UXWQSTyBk2AOCCnbn0nCpFnEWl1TbQn22svyA3dU9pg=", + "secondaryKey": "4ySvxfcNQFGVsfWf8a3mI6GGc+XtX3Ikmx03UmQHMh4=", "rights": "RegistryRead"}, + {"keyName": "registryReadWrite", "primaryKey": "RU5LY8s7wE342p4sqmwaIKrvlRmYk2MnwoxtQqxFHpg=", + "secondaryKey": "uPLDrPcYA5x0V5cTYIRqeQT3bN7TXbLMdZLXFBLgBsY=", "rights": "RegistryWrite"}, {"keyName": "key000007", "rights": "RegistryWrite"}], "ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 1, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": @@ -3005,27 +3065,27 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzJC7w=''}' + - '{''IF-MATCH'': ''AAAAAA0stp0=''}' ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJC7w=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=","secondaryKey":"PzTda7OWpyNxedRgntIs0eCR0hImJevTcxnU4DKOH9o=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"R5epxD12ipJLB2p6owGIBkvnpNiMgv3mkZINWPayonE=","secondaryKey":"m4c4OmRiSkbiWuxlDmOwT1hag5Nzd4S/pgwnSmKWKBg=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"fpaXOC8W/QPRC7wdEGAjp6JtRwWfInsdg5I+/UpDo8M=","secondaryKey":"mPA/tGJNDnzuEfxz6K091w03pCdQQWfAguGXu08Z8AQ=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"+31bQ1z9Mh55qqQlo7++6nhKITppZx4pauS3GA2b+ww=","secondaryKey":"J6JKTWOGvdlaqwZQbDRSr81x/73M3i9zUXC0HoUdtGs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"YIkX2hwfaQMW2TYuQKEeG7E6rGQ0sIIU/RKFVDDq8MI=","secondaryKey":"1VSEVNol8jQZcxjXaEyyevRz138i7LjUmSLka8OrtsY=","rights":"RegistryWrite"},{"keyName":"key000007","primaryKey":"kUVC855eGbSDz6h8pzfJkJ4lYSQ6nKJCb/WBifUlw3s=","secondaryKey":"TvscXHDbgaHRy9jNLIGNY3h/OBnvw/k8ZpBVwpjPyjg=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003-operationmonitoring","endpoint":"sb://iothub-ns-iotreip7bx-3245353-7d96d43334.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-63e1e6cf-c46a-46a4-ae9c-e85b3bac7004-iothub","PrimaryKey":"jTEciKXQ57pfCvUVXeaPD5gEd+s6DilvFQPOS+6K5Dk=","SecondaryKey":"gZMe8f7l3WYA7kLH2AVcgxTXSQaKugtNiOhRnHU2ggM=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:40:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:40:46 GMT"},{"KeyName":"owner-50de76f8-e9b0-4e7f-aab1-a118d9d92021-iothub","PrimaryKey":"nauMObwXGj32ggF2JsdzNWFIGxgBG5Knqre/B1gUXsc=","SecondaryKey":"MKZFTgx/OHCbKOWPFQbhlOTQKPu216FopA1J1YZVunA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:40:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:40:46 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=","SecondaryKey":"PzTda7OWpyNxedRgntIs0eCR0hImJevTcxnU4DKOH9o=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:40:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:40:46 GMT"},{"KeyName":"service","PrimaryKey":"R5epxD12ipJLB2p6owGIBkvnpNiMgv3mkZINWPayonE=","SecondaryKey":"m4c4OmRiSkbiWuxlDmOwT1hag5Nzd4S/pgwnSmKWKBg=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:40:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:40:46 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA0stp0=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=","secondaryKey":"ujOXiOQ2mBn7sHhDnLMp2AYEz862JYgDLd5kjSxComU=","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"M/fA2TrcbxeLMEEaue05cLlRVs8o/FS2Jn+uRc4WIqA=","secondaryKey":"srYqKjRpOwdL3r6upG6hhkmhTtHpSY3WZL6aQQezQ4U=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"vZpluDB/ZcXyphIUGK6as4KAH3+tGZ3kyjkK5Lcg8vw=","secondaryKey":"wDUNoT+hS5VT1W1KGCS+W28YlYqgLWtOO++dvph34Ws=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"UXWQSTyBk2AOCCnbn0nCpFnEWl1TbQn22svyA3dU9pg=","secondaryKey":"4ySvxfcNQFGVsfWf8a3mI6GGc+XtX3Ikmx03UmQHMh4=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"RU5LY8s7wE342p4sqmwaIKrvlRmYk2MnwoxtQqxFHpg=","secondaryKey":"uPLDrPcYA5x0V5cTYIRqeQT3bN7TXbLMdZLXFBLgBsY=","rights":"RegistryWrite"},{"keyName":"key000007","primaryKey":"dpJ6DeICVKz2VtSrDBxYOIHrKBLvJZmK1ji/6OLNo0o=","secondaryKey":"kiznFn+l/t4ZbEWmLaBnHm0iYNgZaIfoWsMvVUlQmRQ=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003-operationmonitoring","endpoint":"sb://iothub-ns-iot5rs5jwx-3334846-c6b692b616.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-49a59580-8ba5-4d93-8504-81a0ee84de88-iothub","PrimaryKey":"F1MRa8j7ya8SKahOS6Xra9C1rh4QDI6TTH8HOccDOmg=","SecondaryKey":"PmmhND4utsbNXek4uZ4954pDO2kkjrnyaH4hAq0mZ1M=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Tue, + 28 Apr 2020 17:05:11 GMT","ModifiedTime":"Tue, 28 Apr 2020 17:05:11 GMT"},{"KeyName":"owner-820a0293-f683-4d55-babc-d25563af2eb8-iothub","PrimaryKey":"qrdXJrNKAV8DsoC32Nd7m2VaclC1B9XKovMXLYlwv8I=","SecondaryKey":"rGv8uf7a/RLuXIBPqU2sF80hkcQgUPqCjTnfPEPaNtY=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Tue, + 28 Apr 2020 17:05:11 GMT","ModifiedTime":"Tue, 28 Apr 2020 17:05:11 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=","SecondaryKey":"ujOXiOQ2mBn7sHhDnLMp2AYEz862JYgDLd5kjSxComU=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Tue, + 28 Apr 2020 17:05:11 GMT","ModifiedTime":"Tue, 28 Apr 2020 17:05:11 GMT"},{"KeyName":"service","PrimaryKey":"M/fA2TrcbxeLMEEaue05cLlRVs8o/FS2Jn+uRc4WIqA=","SecondaryKey":"srYqKjRpOwdL3r6upG6hhkmhTtHpSY3WZL6aQQezQ4U=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Tue, + 28 Apr 2020 17:05:11 GMT","ModifiedTime":"Tue, 28 Apr 2020 17:05:11 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDIxZmNkYzAtOGRjYi00ZGI3LWJiODItNGFkMjFiNGQ4MDU4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYTYwMjBkMzItZDJhNS00NWU5LTg2NTItNGQxN2M4MmNmMGUw?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -3033,7 +3093,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:22 GMT + - Tue, 28 Apr 2020 17:08:47 GMT expires: - '-1' pragma: @@ -3063,10 +3123,10 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDIxZmNkYzAtOGRjYi00ZGI3LWJiODItNGFkMjFiNGQ4MDU4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYTYwMjBkMzItZDJhNS00NWU5LTg2NTItNGQxN2M4MmNmMGUw?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -3078,7 +3138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:53 GMT + - Tue, 28 Apr 2020 17:09:18 GMT expires: - '-1' pragma: @@ -3110,14 +3170,14 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJD3c=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iotreip7bx-3245353-7d96d43334.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA0suws=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iot5rs5jwx-3334846-c6b692b616.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3126,7 +3186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:53 GMT + - Tue, 28 Apr 2020 17:09:19 GMT expires: - '-1' pragma: @@ -3160,15 +3220,15 @@ interactions: ParameterSetName: - --name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/IotHubKeys/iothubowner/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/IotHubKeys/iothubowner/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"iothubowner","primaryKey":"HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=","secondaryKey":"PzTda7OWpyNxedRgntIs0eCR0hImJevTcxnU4DKOH9o=","rights":"RegistryWrite, + string: '{"keyName":"iothubowner","primaryKey":"2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=","secondaryKey":"ujOXiOQ2mBn7sHhDnLMp2AYEz862JYgDLd5kjSxComU=","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -3178,7 +3238,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:55 GMT + - Tue, 28 Apr 2020 17:09:20 GMT expires: - '-1' pragma: @@ -3212,25 +3272,38 @@ interactions: ParameterSetName: - --name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothub/0.12.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJD3c=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iotreip7bx-3245353-7d96d43334.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/ryan-testhub","name":"ryan-testhub","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAAzXW70=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ryan-testhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ryan-testhub","endpoint":"sb://iothub-ns-ryan-testh-2518193-ff7820fd43.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rk-iot-rg;SharedAccessKey=****;EntityPath=rkiotsbqueue","name":"service-queue-endpoint","id":"f7caaf4b-d1e1-4513-b09e-32834e2b1945","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rk-iot-rg;SharedAccessKey=****;EntityPath=rkiotsbqueue","name":"queue-endpoint-2","id":"a35dea6c-b3b6-4392-96bd-decc9d1aa632","subscriptionId":"72f988bf-86f1-41af-91ab-2d7cd011db47","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"blob","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"new-storeage-endpoint","id":"dc021654-99c7-4e62-abd2-ca5287a52e52","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"routes":[{"name":"new-storage-route","source":"DeviceMessages","condition":"true","endpointNames":["new-storeage-endpoint"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT48H","maxDeliveryCount":100}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2RY8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXY=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAAy6HUk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0skZA=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"endpointUri":"https://rkiotsb.servicebus.windows.net/rkiotsbqueue","entityPath":"rkiotsbqueue","authenticationType":"identityBased","name":"sbq-endpoint","id":"5baf1cd5-48f9-49af-be74-16d2e52291bb","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[{"endpointUri":"https://rkiotsb.servicebus.windows.net/rkiotsbtopic","entityPath":"rkiotsbtopic","authenticationType":"identityBased","name":"sbt-endpoint","id":"98d9ac5c-9175-4253-ac33-0bbf36b6992e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"eventHubs":[{"endpointUri":"rkioteh.servicebus.windows.net","entityPath":"rk-eventhub","authenticationType":"identityBased","name":"eh-endpoint","id":"9e0847f5-2a32-4a09-a2e9-59c6bf6686f1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"containerName":"blob","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":300,"maxChunkSizeInBytes":314572800,"encoding":"avro","endpointUri":"https://rkstoragetest.blob.core.windows.net","authenticationType":"identityBased","name":"sc-endpoint","id":"d3d0ac2d-7c2a-4e37-a8a4-ac91e7b91c88","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"ca39affb-6523-4301-a3e4-8fdeca7e9425","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003","name":"iot000003","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA0suws=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot000003.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot000003","endpoint":"sb://iothub-ns-iot5rs5jwx-3334846-c6b692b616.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgkzc7ly7rcxyrlsntmd6lf7tbluqrlou3g4ew324krn6p4wsgxt54qqbsrc4azd42p/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgkzc7ly7rcxyrlsntmd6lf7tbluqrlou3g4ew324krn6p4wsgxt54qqbsrc4azd42p","etag":"AAAAAA0suyc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3334861-3efde37951.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' headers: cache-control: - no-cache content-length: - - '1669' + - '25134' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:56 GMT + - Tue, 28 Apr 2020 17:09:22 GMT expires: - '-1' pragma: @@ -3264,15 +3337,15 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVi4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkdw=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3281,7 +3354,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:56 GMT + - Tue, 28 Apr 2020 17:09:23 GMT expires: - '-1' pragma: @@ -3315,15 +3388,15 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVi4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkdw=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3332,7 +3405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:44:59 GMT + - Tue, 28 Apr 2020 17:09:23 GMT expires: - '-1' pragma: @@ -3352,7 +3425,7 @@ interactions: message: OK - request: body: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": - "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=", + "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=", "location": "westus"}], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' headers: @@ -3371,18 +3444,18 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=HY2qlevQvi5VzPNU0cT089cdLkoVenDW8+CO/pxNx08=","location":"westus"}],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=2+XMZIQhSPHo2ux1qalfUP75dDTHsG1x7q1EYjXcA9o=","location":"westus"}],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNjY1YjlhZGUtYjkzMC00OGEzLWE5MGQtYzJkZDdjYjMxNmVk?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjc3YWI4MmUtNzFjZC00NjNiLWFiNjMtOTA1N2E2MjMwMDQ5?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -3390,7 +3463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:01 GMT + - Tue, 28 Apr 2020 17:09:25 GMT expires: - '-1' pragma: @@ -3420,10 +3493,10 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNjY1YjlhZGUtYjkzMC00OGEzLWE5MGQtYzJkZDdjYjMxNmVk?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjc3YWI4MmUtNzFjZC00NjNiLWFiNjMtOTA1N2E2MjMwMDQ5?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -3435,7 +3508,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:32 GMT + - Tue, 28 Apr 2020 17:09:55 GMT expires: - '-1' pragma: @@ -3467,13 +3540,13 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3482,7 +3555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:32 GMT + - Tue, 28 Apr 2020 17:09:56 GMT expires: - '-1' pragma: @@ -3516,15 +3589,15 @@ interactions: ParameterSetName: - --dps-name -g --connection-string -l User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3533,7 +3606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:33 GMT + - Tue, 28 Apr 2020 17:09:56 GMT expires: - '-1' pragma: @@ -3567,15 +3640,15 @@ interactions: ParameterSetName: - --dps-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3584,7 +3657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:33 GMT + - Tue, 28 Apr 2020 17:09:57 GMT expires: - '-1' pragma: @@ -3618,15 +3691,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3635,7 +3708,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:37 GMT + - Tue, 28 Apr 2020 17:09:57 GMT expires: - '-1' pragma: @@ -3669,15 +3742,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3686,7 +3759,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:37 GMT + - Tue, 28 Apr 2020 17:10:00 GMT expires: - '-1' pragma: @@ -3720,15 +3793,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAVug=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkmA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3737,7 +3810,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:38 GMT + - Tue, 28 Apr 2020 17:10:01 GMT expires: - '-1' pragma: @@ -3776,18 +3849,18 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZTVmMDIyM2ItMmVkMC00YTA0LWI1OTYtNDYzZmYxOWU0ZmE5?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjA4MDg1OWMtZmRiYy00ZTE3LWIzY2ItYTlkMzRjMjUzYjQw?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -3795,7 +3868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:45:40 GMT + - Tue, 28 Apr 2020 17:10:02 GMT expires: - '-1' pragma: @@ -3825,10 +3898,10 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZTVmMDIyM2ItMmVkMC00YTA0LWI1OTYtNDYzZmYxOWU0ZmE5?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjA4MDg1OWMtZmRiYy00ZTE3LWIzY2ItYTlkMzRjMjUzYjQw?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -3840,7 +3913,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:17 GMT + - Tue, 28 Apr 2020 17:10:32 GMT expires: - '-1' pragma: @@ -3872,13 +3945,13 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAV/A=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkm4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3887,7 +3960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:19 GMT + - Tue, 28 Apr 2020 17:10:33 GMT expires: - '-1' pragma: @@ -3921,15 +3994,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAV/A=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkm4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3938,7 +4011,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:20 GMT + - Tue, 28 Apr 2020 17:10:33 GMT expires: - '-1' pragma: @@ -3972,15 +4045,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAV/A=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkm4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -3989,7 +4062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:24 GMT + - Tue, 28 Apr 2020 17:10:34 GMT expires: - '-1' pragma: @@ -4023,15 +4096,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAV/A=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkm4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -4040,7 +4113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:29 GMT + - Tue, 28 Apr 2020 17:10:35 GMT expires: - '-1' pragma: @@ -4074,15 +4147,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAV/A=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkm4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[{"applyAllocationPolicy":true,"allocationWeight":10,"name":"iot000003.azure-devices.net","connectionString":"HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****","location":"westus"}],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -4091,7 +4164,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:30 GMT + - Tue, 28 Apr 2020 17:10:36 GMT expires: - '-1' pragma: @@ -4128,18 +4201,18 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZDg3ZTc4MzItNTgyZi00ZGUwLTg0ZGUtN2JjM2YzNTIxYTI0?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZDg4MWJmZTctNTdkZS00ZWIzLTkxNzgtYjk2ODA4Yjc0MWQ1?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -4147,7 +4220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:46:40 GMT + - Tue, 28 Apr 2020 17:10:37 GMT expires: - '-1' pragma: @@ -4177,10 +4250,10 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZDg3ZTc4MzItNTgyZi00ZGUwLTg0ZGUtN2JjM2YzNTIxYTI0?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZDg4MWJmZTctNTdkZS00ZWIzLTkxNzgtYjk2ODA4Yjc0MWQ1?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4192,7 +4265,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:47:11 GMT + - Tue, 28 Apr 2020 17:11:14 GMT expires: - '-1' pragma: @@ -4224,13 +4297,13 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAWNA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkq4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -4239,7 +4312,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:47:11 GMT + - Tue, 28 Apr 2020 17:11:16 GMT expires: - '-1' pragma: @@ -4273,15 +4346,15 @@ interactions: ParameterSetName: - --dps-name -g --linked-hub User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2018-01-22 response: body: - string: '{"etag":"AAAAAALAWNA=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000EAFB5"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"etag":"AAAAAALnkq4=","name":"dps000002","location":"westus","properties":{"state":"Active","provisioningState":"Succeeded","iotHubs":[],"allocationPolicy":"GeoLatency","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne000F6329"},"resourcegroup":"clitest.rg000001","type":"Microsoft.Devices/provisioningServices","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002","subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -4290,7 +4363,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:47:12 GMT + - Tue, 28 Apr 2020 17:11:16 GMT expires: - '-1' pragma: @@ -4326,8 +4399,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 accept-language: - en-US method: DELETE @@ -4337,7 +4410,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfYmMyYzdhYzYtOGI3Ny00MWFjLTljYzEtMTA0NzY1MWU5ZTkw?api-version=2018-01-22&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfMTU3NTMxNjYtOWFhOS00MWFhLTkwZmMtZTE2OTIyMWE2YzU3?api-version=2018-01-22&asyncinfo cache-control: - no-cache content-length: @@ -4345,11 +4418,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:47:14 GMT + - Tue, 28 Apr 2020 17:11:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfYmMyYzdhYzYtOGI3Ny00MWFjLTljYzEtMTA0NzY1MWU5ZTkw?api-version=2018-01-22 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfMTU3NTMxNjYtOWFhOS00MWFhLTkwZmMtZTE2OTIyMWE2YzU3?api-version=2018-01-22 pragma: - no-cache server: @@ -4377,10 +4450,10 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.7.3 (Windows-10-10.0.19603-SP0) msrest/0.6.13 msrest_azure/0.6.3 + azure-mgmt-iothubprovisioningservices/0.2.0 Azure-SDK-For-Python AZURECLI/2.5.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfYmMyYzdhYzYtOGI3Ny00MWFjLTljYzEtMTA0NzY1MWU5ZTkw?api-version=2018-01-22&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfMTU3NTMxNjYtOWFhOS00MWFhLTkwZmMtZTE2OTIyMWE2YzU3?api-version=2018-01-22&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4392,7 +4465,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:47:30 GMT + - Tue, 28 Apr 2020 17:11:36 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml new file mode 100644 index 00000000000..9d165d93b61 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml @@ -0,0 +1,5879 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage container create + Connection: + - keep-alive + ParameterSetName: + - --name --account-name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 + response: + body: + string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Storage/storageAccounts/andbuctestadu","name":"andbuctestadu","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:46:12.4529458Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:46:12.4529458Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-04T22:46:12.3904552Z","primaryEndpoints":{"blob":"https://andbuctestadu.blob.core.windows.net/","queue":"https://andbuctestadu.queue.core.windows.net/","table":"https://andbuctestadu.table.core.windows.net/","file":"https://andbuctestadu.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Storage/storageAccounts/testiotextstor0","name":"testiotextstor0","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-10-19T00:06:41.0740705Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-10-19T00:06:41.0740705Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-10-19T00:06:41.0115264Z","primaryEndpoints":{"dfs":"https://testiotextstor0.dfs.core.windows.net/","web":"https://testiotextstor0.z20.web.core.windows.net/","blob":"https://testiotextstor0.blob.core.windows.net/","queue":"https://testiotextstor0.queue.core.windows.net/","table":"https://testiotextstor0.table.core.windows.net/","file":"https://testiotextstor0.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgenpyh64i2vaonpqdgn7ru2hcncdbe5joaypwha5gblwp4tm3btc37r7stt4ke5oro/providers/Microsoft.Storage/storageAccounts/clitest662umriajhq72kjwq","name":"clitest662umriajhq72kjwq","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:22:13.4890554Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:22:13.4890554Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:22:13.4109246Z","primaryEndpoints":{"blob":"https://clitest662umriajhq72kjwq.blob.core.windows.net/","queue":"https://clitest662umriajhq72kjwq.queue.core.windows.net/","table":"https://clitest662umriajhq72kjwq.table.core.windows.net/","file":"https://clitest662umriajhq72kjwq.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:53:41.0214892Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:53:41.0214892Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-15T00:53:40.9434117Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgjy5npopkr23yhbtfeqhn2q5yjeoxxvgmglh3mzhmy5sej2fn4rwlx7fl5cw24b7rj/providers/Microsoft.Storage/storageAccounts/clitest7ukwq5v6aeur6q2wy","name":"clitest7ukwq5v6aeur6q2wy","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T21:00:16.2526478Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T21:00:16.2526478Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T21:00:16.1745600Z","primaryEndpoints":{"blob":"https://clitest7ukwq5v6aeur6q2wy.blob.core.windows.net/","queue":"https://clitest7ukwq5v6aeur6q2wy.queue.core.windows.net/","table":"https://clitest7ukwq5v6aeur6q2wy.table.core.windows.net/","file":"https://clitest7ukwq5v6aeur6q2wy.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rghxa2cn4cu5pmuzncd6vm7gy6hbvimz7lq6ja5avdb6oyiplntcnmgm4opqf7ad3uk/providers/Microsoft.Storage/storageAccounts/clitesthnvnr4yk375krclrs","name":"clitesthnvnr4yk375krclrs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:18:41.1715025Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:18:41.1715025Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:18:41.1090469Z","primaryEndpoints":{"blob":"https://clitesthnvnr4yk375krclrs.blob.core.windows.net/","queue":"https://clitesthnvnr4yk375krclrs.queue.core.windows.net/","table":"https://clitesthnvnr4yk375krclrs.table.core.windows.net/","file":"https://clitesthnvnr4yk375krclrs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgurbg4xr6ox2wcidz43k2ee73pixkutolqq64xrrzojc7lqnp2bmhmfwia7wobufqo/providers/Microsoft.Storage/storageAccounts/clitests6zf7e3hnuzdqdlmw","name":"clitests6zf7e3hnuzdqdlmw","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:11:20.7916200Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:11:20.7916200Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:11:20.7291526Z","primaryEndpoints":{"blob":"https://clitests6zf7e3hnuzdqdlmw.blob.core.windows.net/","queue":"https://clitests6zf7e3hnuzdqdlmw.queue.core.windows.net/","table":"https://clitests6zf7e3hnuzdqdlmw.table.core.windows.net/","file":"https://clitests6zf7e3hnuzdqdlmw.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww/providers/Microsoft.Storage/storageAccounts/clitestuosjrn5xww7dhxefn","name":"clitestuosjrn5xww7dhxefn","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:50:25.2005455Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:50:25.2005455Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-15T00:50:25.1380703Z","primaryEndpoints":{"blob":"https://clitestuosjrn5xww7dhxefn.blob.core.windows.net/","queue":"https://clitestuosjrn5xww7dhxefn.queue.core.windows.net/","table":"https://clitestuosjrn5xww7dhxefn.table.core.windows.net/","file":"https://clitestuosjrn5xww7dhxefn.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-westus/providers/Microsoft.Storage/storageAccounts/cs4a386d5eaea90x441ax826","name":"cs4a386d5eaea90x441ax826","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-11-25T17:05:48.4365854Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-11-25T17:05:48.4365854Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-11-25T17:05:48.3897448Z","primaryEndpoints":{"dfs":"https://cs4a386d5eaea90x441ax826.dfs.core.windows.net/","web":"https://cs4a386d5eaea90x441ax826.z22.web.core.windows.net/","blob":"https://cs4a386d5eaea90x441ax826.blob.core.windows.net/","queue":"https://cs4a386d5eaea90x441ax826.queue.core.windows.net/","table":"https://cs4a386d5eaea90x441ax826.table.core.windows.net/","file":"https://cs4a386d5eaea90x441ax826.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GZRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Storage/storageAccounts/rkstoragetest","name":"rkstoragetest","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Storage/storageAccounts/rkstoragetest/privateEndpointConnections/rkstoragetest.d3022f24-e7d2-4622-907a-1b0f713c271e","name":"rkstoragetest.d3022f24-e7d2-4622-907a-1b0f713c271e","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Network/privateEndpoints/upx-hub-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"isHnsEnabled":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T19:12:01.2738834Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T19:12:01.2738834Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-03-10T19:12:01.2113542Z","primaryEndpoints":{"dfs":"https://rkstoragetest.dfs.core.windows.net/","web":"https://rkstoragetest.z5.web.core.windows.net/","blob":"https://rkstoragetest.blob.core.windows.net/","queue":"https://rkstoragetest.queue.core.windows.net/","table":"https://rkstoragetest.table.core.windows.net/","file":"https://rkstoragetest.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available","secondaryLocation":"westcentralus","statusOfSecondary":"available"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '13345' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:54:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 06c80cfe-18c2-42db-b861-a7fbe2e7fd94 + - 8a4bb42c-23d3-475c-a8f7-324724c8d601 + - cf1b1ff2-abff-46ef-81f4-e8cc89f19c4a + - cb2ecd03-7272-4b1f-8361-e83fbb4dc866 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage container create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --account-name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2019-06-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 15 May 2020 00:54:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 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: + - '11999' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.2; Windows 10) AZURECLI/2.5.1 + x-ms-date: + - Fri, 15 May 2020 00:54:01 GMT + x-ms-version: + - '2018-11-09' + method: PUT + uri: https://clitest000002.blob.core.windows.net/iothubcontainer1?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 15 May 2020 00:54:01 GMT + etag: + - '"0x8D7F86A75C7CC5A"' + last-modified: + - Fri, 15 May 2020 00:54:02 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2018-11-09' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage account show-connection-string + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2019-06-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 15 May 2020 00:54:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 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: + - '11999' + status: + code: 200 + message: OK +- request: + body: "{\"properties\": {\"parameters\": {\"name\": {\"value\": \"identity-test-hub-cli\"}, + \"location\": {\"value\": \"westus2\"}}, \"mode\": \"Incremental\", template:{\r\n + \ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"name\": + {\r\n \"type\": \"string\"\r\n },\r\n \"location\":{\r\n + \ \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": + [\r\n {\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"apiVersion\": + \"2020-03-01\",\r\n \"name\": \"[parameters('name')]\",\r\n \"location\": + \"[parameters('location')]\",\r\n \"identity\": {\r\n \"type\": + \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"minTlsVersion\": + \"1.2\"\r\n },\r\n \"sku\": {\r\n \"name\": + \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": + 1\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2018-02-01\",\r\n \"name\": \"updateIotHubWithKeyEncryptionKey\",\r\n + \ \"dependsOn\": [\r\n \"[parameters('name')]\"\r\n + \ ],\r\n \"properties\": {\r\n \"mode\": + \"Incremental\",\r\n \"template\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"0.9.0.0\",\r\n \"resources\": + [\r\n {\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n + \ \"apiVersion\": \"2020-03-01\",\r\n \"name\": + \"[parameters('name')]\",\r\n \"location\": \"[parameters('location')]\",\r\n + \ \"identity\": {\r\n \"type\": + \"SystemAssigned\"\r\n },\r\n \"properties\": + {\r\n \"minTlsVersion\": \"1.2\"\r\n },\r\n + \ \"sku\": {\r\n \"name\": + \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": + 1\r\n }\r\n }\r\n ]\r\n + \ }\r\n }\r\n }\r\n ]\r\n}}}" + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - deployment group create + Connection: + - keep-alive + Content-Length: + - '2386' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/identity-hub-deployment","name":"identity-hub-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11350779003338463755","parameters":{"name":{"type":"String","value":"identity-test-hub-cli"},"location":{"type":"String","value":"westus2"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-05-15T00:54:04.1132774Z","duration":"PT0S","correlationId":"66787478-7267-4fa2-8d1d-67842fdaeb6c","providers":[{"namespace":"Microsoft.Devices","resourceTypes":[{"resourceType":"IotHubs","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","resourceType":"Microsoft.Devices/IotHubs","resourceName":"identity-test-hub-cli"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/updateIotHubWithKeyEncryptionKey","resourceType":"Microsoft.Resources/deployments","resourceName":"updateIotHubWithKeyEncryptionKey"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/updateIotHubWithKeyEncryptionKey"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '2172' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:54:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 200 + message: OK +- request: + body: "{\"properties\": {\"parameters\": {\"name\": {\"value\": \"identity-test-hub-cli\"}, + \"location\": {\"value\": \"westus2\"}}, \"mode\": \"Incremental\", template:{\r\n + \ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"name\": + {\r\n \"type\": \"string\"\r\n },\r\n \"location\":{\r\n + \ \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": + [\r\n {\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"apiVersion\": + \"2020-03-01\",\r\n \"name\": \"[parameters('name')]\",\r\n \"location\": + \"[parameters('location')]\",\r\n \"identity\": {\r\n \"type\": + \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"minTlsVersion\": + \"1.2\"\r\n },\r\n \"sku\": {\r\n \"name\": + \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": + 1\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2018-02-01\",\r\n \"name\": \"updateIotHubWithKeyEncryptionKey\",\r\n + \ \"dependsOn\": [\r\n \"[parameters('name')]\"\r\n + \ ],\r\n \"properties\": {\r\n \"mode\": + \"Incremental\",\r\n \"template\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"0.9.0.0\",\r\n \"resources\": + [\r\n {\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n + \ \"apiVersion\": \"2020-03-01\",\r\n \"name\": + \"[parameters('name')]\",\r\n \"location\": \"[parameters('location')]\",\r\n + \ \"identity\": {\r\n \"type\": + \"SystemAssigned\"\r\n },\r\n \"properties\": + {\r\n \"minTlsVersion\": \"1.2\"\r\n },\r\n + \ \"sku\": {\r\n \"name\": + \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": + 1\r\n }\r\n }\r\n ]\r\n + \ }\r\n }\r\n }\r\n ]\r\n}}}" + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - deployment group create + Connection: + - keep-alive + Content-Length: + - '2386' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/identity-hub-deployment","name":"identity-hub-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11350779003338463755","parameters":{"name":{"type":"String","value":"identity-test-hub-cli"},"location":{"type":"String","value":"westus2"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-05-15T00:54:06.3070336Z","duration":"PT1.2076112S","correlationId":"a3ea83e7-1c75-457b-9f1d-643febe159ef","providers":[{"namespace":"Microsoft.Devices","resourceTypes":[{"resourceType":"IotHubs","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","resourceType":"Microsoft.Devices/IotHubs","resourceName":"identity-test-hub-cli"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/updateIotHubWithKeyEncryptionKey","resourceType":"Microsoft.Resources/deployments","resourceName":"updateIotHubWithKeyEncryptionKey"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/identity-hub-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:54:05 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:54:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:55:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:55:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:56:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:56:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586121028403781922?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - deployment group create + Connection: + - keep-alive + ParameterSetName: + - --name -g --template-file --parameters --parameters + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/identity-hub-deployment","name":"identity-hub-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11350779003338463755","parameters":{"name":{"type":"String","value":"identity-test-hub-cli"},"location":{"type":"String","value":"westus2"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-05-15T00:56:47.0840614Z","duration":"PT2M41.984639S","correlationId":"a3ea83e7-1c75-457b-9f1d-643febe159ef","providers":[{"namespace":"Microsoft.Devices","resourceTypes":[{"resourceType":"IotHubs","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","resourceType":"Microsoft.Devices/IotHubs","resourceName":"identity-test-hub-cli"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/updateIotHubWithKeyEncryptionKey","resourceType":"Microsoft.Resources/deployments","resourceName":"updateIotHubWithKeyEncryptionKey"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '1742' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + 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: + - iot hub show + Connection: + - keep-alive + ParameterSetName: + - --name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww","etag":"AAAAAA2lFf8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestuosjrn5xww7dhxefn;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '25470' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub update + Connection: + - keep-alive + ParameterSetName: + - -n --fsa --fcs --fc --fn --fnt --fnd --rd --ct --cdd --ft --fld --fd + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww","etag":"AAAAAA2lFf8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestuosjrn5xww7dhxefn;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '25470' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub update + Connection: + - keep-alive + ParameterSetName: + - -n --fsa --fcs --fc --fn --fnt --fnd --rd --ct --cdd --ft --fld --fd + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgwylrtweukn33fmcs66sg4sddzyuguu4gcqgvdiz4wu2kbl3ugwbh77cxpz2jdefww","etag":"AAAAAA2lFjQ=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestuosjrn5xww7dhxefn;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '25459' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57: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: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFJ4=", "properties": + {"ipFilterRules": [], "minTlsVersion": "1.2", "eventHubEndpoints": {"events": + {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": + [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": []}, "routes": + [], "fallbackRoute": {"name": "$fallback", "source": "DeviceMessages", "condition": + "true", "endpointNames": ["events"], "isEnabled": true}}, "storageEndpoints": + {"$default": {"sasTtlAsIso8601": "PT1H", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==", + "containerName": "iothubcontainer1", "authenticationType": "identitybased"}}, + "messagingEndpoints": {"fileNotifications": {"lockDurationAsIso8601": "PT1M", + "ttlAsIso8601": "P1DT8H", "maxDeliveryCount": 80}}, "enableFileUploadNotifications": + true, "cloudToDevice": {"maxDeliveryCount": 46, "defaultTtlAsIso8601": "P1DT10H", + "feedback": {"lockDurationAsIso8601": "PT10S", "ttlAsIso8601": "P1DT19H", "maxDeliveryCount": + 76}}, "features": "None"}, "sku": {"name": "S1", "capacity": 1}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub update + Connection: + - keep-alive + Content-Length: + - '1236' + Content-Type: + - application/json; charset=utf-8 + If-Match: + - '{''IF-MATCH'': ''AAAAAA2lFJ4=''}' + ParameterSetName: + - -n --fsa --fcs --fc --fn --fnt --fnd --rd --ct --cdd --ft --fld --fd + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFJ4=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli-operationmonitoring","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-ee66c994-103f-4e73-a7a9-d38fe4e3e12b-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:56:17 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:17 GMT"},{"KeyName":"owner-9be4bb68-97d1-49d7-8412-1d98c6d74883-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:56:17 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:17 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:56:17 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:17 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:56:17 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:17 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDQ4NGFhN2QtNWM2Yy00NzIxLWI5NGQtNGI3MzhkNWE2ZjRh?api-version=2020-03-01&operationSource=os_ih&asyncinfo + cache-control: + - no-cache + content-length: + - '4396' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:20 GMT + expires: + - '-1' + 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-resource-requests: + - '4999' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub update + Connection: + - keep-alive + ParameterSetName: + - -n --fsa --fcs --fc --fn --fnt --fnd --rd --ct --cdd --ft --fld --fd + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDQ4NGFhN2QtNWM2Yy00NzIxLWI5NGQtNGI3MzhkNWE2ZjRh?api-version=2020-03-01&operationSource=os_ih&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub update + Connection: + - keep-alive + ParameterSetName: + - -n --fsa --fcs --fc --fn --fnt --fnd --rd --ct --cdd --ft --fld --fd + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFso=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}' + headers: + cache-control: + - no-cache + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub routing-endpoint create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 15 May 2020 00:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '{"name": "identity-test-hub-cli"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub routing-endpoint create + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 + response: + body: + string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name + ''identity-test-hub-cli'' is not available"}' + headers: + cache-control: + - no-cache + content-length: + - '113' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:53 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub routing-endpoint create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFso=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}' + headers: + cache-control: + - no-cache + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:53 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: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFso=", "properties": + {"ipFilterRules": [], "minTlsVersion": "1.2", "eventHubEndpoints": {"events": + {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": + [], "serviceBusTopics": [], "eventHubs": [{"endpointUri": "eh://test", "entityPath": + "entity", "authenticationType": "identitybased", "name": "EventHubIdentityEndpoint", + "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001"}], + "storageContainers": []}, "routes": [], "fallbackRoute": {"name": "$fallback", + "source": "DeviceMessages", "condition": "true", "endpointNames": ["events"], + "isEnabled": true}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": "PT1H", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "containerName": "iothubcontainer1", "authenticationType": "identityBased"}}, + "messagingEndpoints": {"fileNotifications": {"lockDurationAsIso8601": "PT1M", + "ttlAsIso8601": "P1DT8H", "maxDeliveryCount": 80}}, "enableFileUploadNotifications": + true, "cloudToDevice": {"maxDeliveryCount": 46, "defaultTtlAsIso8601": "P1DT10H", + "feedback": {"lockDurationAsIso8601": "PT10S", "ttlAsIso8601": "P1DT19H", "maxDeliveryCount": + 76}}, "features": "None"}, "sku": {"name": "S1", "capacity": 1}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub routing-endpoint create + Connection: + - keep-alive + Content-Length: + - '1433' + Content-Type: + - application/json; charset=utf-8 + If-Match: + - '{''IF-MATCH'': ''AAAAAA2lFso=''}' + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFso=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli-operationmonitoring","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-ee66c994-103f-4e73-a7a9-d38fe4e3e12b-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:34 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:34 GMT"},{"KeyName":"owner-9be4bb68-97d1-49d7-8412-1d98c6d74883-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:34 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:34 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:34 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:34 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:34 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:34 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZDg0MThmYWEtNDNiNi00NjZjLWIyNzItOWJjN2RiYWI4OGRk?api-version=2020-03-01&operationSource=os_ih&asyncinfo + cache-control: + - no-cache + content-length: + - '4710' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:57:55 GMT + expires: + - '-1' + 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-resource-requests: + - '4999' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub routing-endpoint create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZDg0MThmYWEtNDNiNi00NjZjLWIyNzItOWJjN2RiYWI4OGRk?api-version=2020-03-01&operationSource=os_ih&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58: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: + - iot hub routing-endpoint create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -g -n -t -r -s --auth-type --endpoint-uri --entity-path + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lF1M=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}' + headers: + cache-control: + - no-cache + content-length: + - '2324' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58: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: '{"location": "westus2", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": + "10.0.0.0/24"}, "name": "subnet1"}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '206' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"test-iot-vnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet\",\r\n + \ \"etag\": \"W/\\\"35b02059-ad16-48ba-9b00-f17eaa11b18b\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"76576a4f-f675-46ea-83f4-8308e5e38693\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"35b02059-ad16-48ba-9b00-f17eaa11b18b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b8de375b-3fea-44f8-8480-3c8487b41ad4?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a9c636cc-0902-4ffb-9b4b-bfef2335e6b7 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b8de375b-3fea-44f8-8480-3c8487b41ad4?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 42e0102e-f034-42f1-aeac-279fce51e0c0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"test-iot-vnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet\",\r\n + \ \"etag\": \"W/\\\"3994bc90-8e55-470e-8f2e-0c9dd47a379f\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"76576a4f-f675-46ea-83f4-8308e5e38693\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"3994bc90-8e55-470e-8f2e-0c9dd47a379f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1464' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:34 GMT + etag: + - W/"3994bc90-8e55-470e-8f2e-0c9dd47a379f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2a57f118-f8f9-478c-b0e3-9ec75662245f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"3994bc90-8e55-470e-8f2e-0c9dd47a379f\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '594' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:36 GMT + etag: + - W/"3994bc90-8e55-470e-8f2e-0c9dd47a379f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0e2b159f-6bb8-42a1-8f8f-74ed618c0019 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "subnet1"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + Content-Length: + - '406' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"6d284c2d-167e-4069-be57-8af731140d30\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/90ef61d6-e514-46c0-9cba-6c98b11a39d5?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '594' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0380e172-ccb1-4ed8-89c0-1eb9ec2818f8 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/90ef61d6-e514-46c0-9cba-6c98b11a39d5?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c1075707-a076-4718-84b3-2662e27fd2e6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"5a4ef8d3-35a7-41bb-b54e-d7c3da209169\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '595' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:40 GMT + etag: + - W/"5a4ef8d3-35a7-41bb-b54e-d7c3da209169" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 34a5bdee-7ff4-4bdb-ba9c-7fe831d83916 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-link-resource list + Connection: + - keep-alive + ParameterSetName: + - --type -n -g + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateLinkResources?api-version=2020-03-01 + response: + body: + string: '{"value":[{"properties":{"groupId":"iotHub","requiredMembers":["iotHub"],"requiredZoneNames":["privatelink.azure-devices.net"]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateLinkResources/iotHub","name":"iotHub","type":"Microsoft.Devices/IotHubs/PrivateLinkResources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '438' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 15 May 2020 00:58:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '{"name": "identity-test-hub-cli"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 + response: + body: + string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name + ''identity-test-hub-cli'' is not available"}' + headers: + cache-control: + - no-cache + content-length: + - '113' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lF1M=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}' + headers: + cache-control: + - no-cache + content-length: + - '2324' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58: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: 'b''{"location": "westus2", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1"}, + "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli", + "groupIds": ["iotHub"]}, "name": "iot-private-endpoint-connection"}]}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '625' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"iot-private-endpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint\",\r\n + \ \"etag\": \"W/\\\"28884d5a-af2c-4fc5-be47-c95c9b136701\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"0fccb11e-191f-4650-95ba-4ecd2b49375b\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"iot-private-endpoint-connection\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint/privateLinkServiceConnections/iot-private-endpoint-connection\",\r\n + \ \"etag\": \"W/\\\"28884d5a-af2c-4fc5-be47-c95c9b136701\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli\",\r\n + \ \"groupIds\": [\r\n \"iotHub\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/iot-private-endpoint.nic.f718bc61-30a4-43a7-b019-b65625e74ac4\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '2275' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a1e0f407-22bb-4493-99ea-ec5585b3b8c6 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:58:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 65841e56-9e3d-45f0-9b90-04542a10b36c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 49d393d2-42ee-408b-9bb9-9d1d85559b9c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 31b27dca-b050-4b27-83de-7c9cbb1b9291 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f4e79f24-ee2e-4066-a7c3-fcd804197e5a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d4aa0826-5e8f-43e1-94e8-182fc9fdf32e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b38f7dbe-63dc-4fe5-a154-327aa8f1cf3d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 00:59:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5dcca0cd-9814-4b24-a987-778718e4eb47 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/33e74962-c637-4b7a-aee3-ddc928f7eaf3?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 00d64ed4-9a31-4796-ab7d-3188015e46ca + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.1.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"iot-private-endpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint\",\r\n + \ \"etag\": \"W/\\\"7e4cbcd2-aa29-47a9-8cb6-e00c5cac043d\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"0fccb11e-191f-4650-95ba-4ecd2b49375b\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"iot-private-endpoint-connection\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint/privateLinkServiceConnections/iot-private-endpoint-connection\",\r\n + \ \"etag\": \"W/\\\"7e4cbcd2-aa29-47a9-8cb6-e00c5cac043d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli\",\r\n + \ \"groupIds\": [\r\n \"iotHub\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/iot-private-endpoint.nic.f718bc61-30a4-43a7-b019-b65625e74ac4\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"identity-test-hub-cli.azure-devices.net\",\r\n \"ipAddresses\": [\r\n + \ \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2432' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00:09 GMT + etag: + - W/"7e4cbcd2-aa29-47a9-8cb6-e00c5cac043d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ad8a7903-6a08-4ccc-8204-c2e31238abfd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 15 May 2020 01:00:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '{"name": "identity-test-hub-cli"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 + response: + body: + string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name + ''identity-test-hub-cli'' is not available"}' + headers: + cache-control: + - no-cache + content-length: + - '113' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGas=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}' + headers: + cache-control: + - no-cache + content-length: + - '3145' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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: + - network private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - --type -n -g + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections?api-version=2020-03-01 + response: + body: + string: '{"value":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]}' + headers: + cache-control: + - no-cache + content-length: + - '801' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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: 'b''{"properties": {"privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"}, + "privateLinkServiceConnectionState": {"status": "Approved", "description": "Approving + endpoint connection", "actionsRequired": "None"}}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", + "name": "identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", "type": + "Microsoft.Devices/IotHubs/PrivateEndpointConnections"}''' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Approving + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00:24 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00:34 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:00: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01:38 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:02: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:02: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:02:30 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:02: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03:24 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03:34 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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: 'b''{"properties": {"privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"}, + "privateLinkServiceConnectionState": {"status": "Approved", "description": "Approving + endpoint connection", "actionsRequired": "None"}}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", + "name": "identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", "type": + "Microsoft.Devices/IotHubs/PrivateEndpointConnections"}''' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Approving + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:03: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:04: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:04: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:04: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:04: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:04: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05:33 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:05:54 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06:04 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:06:58 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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07: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: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --id --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07: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: 'b''{"properties": {"privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"}, + "privateLinkServiceConnectionState": {"status": "Rejected", "description": "Rejecting + endpoint connection", "actionsRequired": "None"}}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", + "name": "identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee", "type": + "Microsoft.Devices/IotHubs/PrivateEndpointConnections"}''' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjQ2MzRlOGUtNjAwNi00Nzc4LTlhOTEtNzZjMWQ1MDE3MWRj?api-version=2020-03-01&operationSource=os_ih&asyncinfo + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07:23 GMT + expires: + - '-1' + 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: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07:33 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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:07: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:08: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:08: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:08:38 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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:08: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:09:53 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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10:04 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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10:34 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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10: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: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g --description + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10: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: + - network private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --type -n --resource-name -g + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejecting + endpoint connection","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10: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: + - network private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --type -n --resource-name -g -y + User-Agent: + - AZURECLI/2.5.1 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/privateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee?api-version=2020-03-01 + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGVmNDI3MDQtZGVhMS00OTJhLTkwMWQtNzI2ZWVhYTcyYTg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 01:10:59 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGVmNDI3MDQtZGVhMS00OTJhLTkwMWQtNzI2ZWVhYTcyYTg5?api-version=2020-03-01&operationSource=os_ih + 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-deletes: + - '14999' + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_hub.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_hub.yaml index a01ad08cf95..2a9c0c616cf 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_hub.yaml +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_hub.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - --name --account-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-13T16:10:27.9407804Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-13T16:10:27.9407804Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-13T16:10:27.8626491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SIE-AZ-ML/providers/Microsoft.Storage/storageAccounts/ids9851878971","name":"ids9851878971","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T22:58:54.2969820Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T22:58:54.2969820Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-03-10T22:58:54.2344977Z","primaryEndpoints":{"blob":"https://ids9851878971.blob.core.windows.net/","queue":"https://ids9851878971.queue.core.windows.net/","table":"https://ids9851878971.table.core.windows.net/","file":"https://ids9851878971.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}}]}' + string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Storage/storageAccounts/andbuctestadu","name":"andbuctestadu","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:46:12.4529458Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:46:12.4529458Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-04T22:46:12.3904552Z","primaryEndpoints":{"blob":"https://andbuctestadu.blob.core.windows.net/","queue":"https://andbuctestadu.queue.core.windows.net/","table":"https://andbuctestadu.table.core.windows.net/","file":"https://andbuctestadu.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Storage/storageAccounts/testiotextstor0","name":"testiotextstor0","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-10-19T00:06:41.0740705Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-10-19T00:06:41.0740705Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-10-19T00:06:41.0115264Z","primaryEndpoints":{"dfs":"https://testiotextstor0.dfs.core.windows.net/","web":"https://testiotextstor0.z20.web.core.windows.net/","blob":"https://testiotextstor0.blob.core.windows.net/","queue":"https://testiotextstor0.queue.core.windows.net/","table":"https://testiotextstor0.table.core.windows.net/","file":"https://testiotextstor0.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgenpyh64i2vaonpqdgn7ru2hcncdbe5joaypwha5gblwp4tm3btc37r7stt4ke5oro/providers/Microsoft.Storage/storageAccounts/clitest662umriajhq72kjwq","name":"clitest662umriajhq72kjwq","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:22:13.4890554Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:22:13.4890554Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:22:13.4109246Z","primaryEndpoints":{"blob":"https://clitest662umriajhq72kjwq.blob.core.windows.net/","queue":"https://clitest662umriajhq72kjwq.queue.core.windows.net/","table":"https://clitest662umriajhq72kjwq.table.core.windows.net/","file":"https://clitest662umriajhq72kjwq.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgjy5npopkr23yhbtfeqhn2q5yjeoxxvgmglh3mzhmy5sej2fn4rwlx7fl5cw24b7rj/providers/Microsoft.Storage/storageAccounts/clitest7ukwq5v6aeur6q2wy","name":"clitest7ukwq5v6aeur6q2wy","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T21:00:16.2526478Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T21:00:16.2526478Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T21:00:16.1745600Z","primaryEndpoints":{"blob":"https://clitest7ukwq5v6aeur6q2wy.blob.core.windows.net/","queue":"https://clitest7ukwq5v6aeur6q2wy.queue.core.windows.net/","table":"https://clitest7ukwq5v6aeur6q2wy.table.core.windows.net/","file":"https://clitest7ukwq5v6aeur6q2wy.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rghxa2cn4cu5pmuzncd6vm7gy6hbvimz7lq6ja5avdb6oyiplntcnmgm4opqf7ad3uk/providers/Microsoft.Storage/storageAccounts/clitesthnvnr4yk375krclrs","name":"clitesthnvnr4yk375krclrs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:18:41.1715025Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:18:41.1715025Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:18:41.1090469Z","primaryEndpoints":{"blob":"https://clitesthnvnr4yk375krclrs.blob.core.windows.net/","queue":"https://clitesthnvnr4yk375krclrs.queue.core.windows.net/","table":"https://clitesthnvnr4yk375krclrs.table.core.windows.net/","file":"https://clitesthnvnr4yk375krclrs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgurbg4xr6ox2wcidz43k2ee73pixkutolqq64xrrzojc7lqnp2bmhmfwia7wobufqo/providers/Microsoft.Storage/storageAccounts/clitests6zf7e3hnuzdqdlmw","name":"clitests6zf7e3hnuzdqdlmw","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:11:20.7916200Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-14T19:11:20.7916200Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-14T19:11:20.7291526Z","primaryEndpoints":{"blob":"https://clitests6zf7e3hnuzdqdlmw.blob.core.windows.net/","queue":"https://clitests6zf7e3hnuzdqdlmw.queue.core.windows.net/","table":"https://clitests6zf7e3hnuzdqdlmw.table.core.windows.net/","file":"https://clitests6zf7e3hnuzdqdlmw.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:50:25.2005455Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-15T00:50:25.2005455Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-15T00:50:25.1380703Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-westus/providers/Microsoft.Storage/storageAccounts/cs4a386d5eaea90x441ax826","name":"cs4a386d5eaea90x441ax826","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-11-25T17:05:48.4365854Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-11-25T17:05:48.4365854Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-11-25T17:05:48.3897448Z","primaryEndpoints":{"dfs":"https://cs4a386d5eaea90x441ax826.dfs.core.windows.net/","web":"https://cs4a386d5eaea90x441ax826.z22.web.core.windows.net/","blob":"https://cs4a386d5eaea90x441ax826.blob.core.windows.net/","queue":"https://cs4a386d5eaea90x441ax826.queue.core.windows.net/","table":"https://cs4a386d5eaea90x441ax826.table.core.windows.net/","file":"https://cs4a386d5eaea90x441ax826.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GZRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Storage/storageAccounts/rkstoragetest","name":"rkstoragetest","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Storage/storageAccounts/rkstoragetest/privateEndpointConnections/rkstoragetest.d3022f24-e7d2-4622-907a-1b0f713c271e","name":"rkstoragetest.d3022f24-e7d2-4622-907a-1b0f713c271e","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Network/privateEndpoints/upx-hub-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"isHnsEnabled":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T19:12:01.2738834Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-10T19:12:01.2738834Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-03-10T19:12:01.2113542Z","primaryEndpoints":{"dfs":"https://rkstoragetest.dfs.core.windows.net/","web":"https://rkstoragetest.z5.web.core.windows.net/","blob":"https://rkstoragetest.blob.core.windows.net/","queue":"https://rkstoragetest.queue.core.windows.net/","table":"https://rkstoragetest.table.core.windows.net/","file":"https://rkstoragetest.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available","secondaryLocation":"westcentralus","statusOfSecondary":"available"}}]}' headers: cache-control: - no-cache content-length: - - '2385' + - '12083' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:46 GMT + - Fri, 15 May 2020 00:50:45 GMT expires: - '-1' pragma: @@ -42,8 +42,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 03bf1db2-1d84-407e-8476-83076fd3b756 - - 3c03eb5b-e036-40b2-a60d-434f14ab2644 + - bb63ba24-3ffd-4299-8947-945201241204 + - 4d3c0980-123b-4b7d-8e71-55ec22a6535b + - b3c16567-7bc9-40b0-a58c-35e1b0eba904 + - 409c89ce-a496-4ac3-8ab7-dd9200099b65 status: code: 200 message: OK @@ -63,8 +65,8 @@ interactions: ParameterSetName: - --name --account-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -80,7 +82,7 @@ interactions: content-type: - application/json date: - - Mon, 13 Apr 2020 16:10:46 GMT + - Fri, 15 May 2020 00:50:45 GMT expires: - '-1' pragma: @@ -108,9 +110,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.6; Windows 10) AZURECLI/2.3.1 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.2; Windows 10) AZURECLI/2.5.1 x-ms-date: - - Mon, 13 Apr 2020 16:10:47 GMT + - Fri, 15 May 2020 00:50:45 GMT x-ms-version: - '2018-11-09' method: PUT @@ -122,11 +124,11 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:10:47 GMT + - Fri, 15 May 2020 00:50:45 GMT etag: - - '"0x8D7DFC53A721BC5"' + - '"0x8D7F86A00B411C6"' last-modified: - - Mon, 13 Apr 2020 16:10:47 GMT + - Fri, 15 May 2020 00:50:45 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -150,8 +152,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -167,7 +169,7 @@ interactions: content-type: - application/json date: - - Mon, 13 Apr 2020 16:10:47 GMT + - Fri, 15 May 2020 00:50:45 GMT expires: - '-1' pragma: @@ -201,15 +203,15 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-05-15T00:50:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -218,7 +220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:48 GMT + - Fri, 15 May 2020 00:50:47 GMT expires: - '-1' pragma: @@ -250,8 +252,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -259,25 +261,25 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1","name":"ehNamespaceiothubfortest1","type":"Microsoft.EventHub/Namespaces","location":"West - US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e:ehnamespaceiothubfortest1","createdAt":"2020-04-13T16:10:50.1Z","updatedAt":"2020-04-13T16:10:50.1Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Activating"}}' + US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"a386d5ea-ea90-441a-8263-d816368c84a1:ehnamespaceiothubfortest1","createdAt":"2020-05-15T00:50:50.747Z","updatedAt":"2020-05-15T00:50:50.747Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '759' + - '763' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:10:50 GMT + - Fri, 15 May 2020 00:50:51 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -305,23 +307,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1","name":"ehNamespaceiothubfortest1","type":"Microsoft.EventHub/Namespaces","location":"West - US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e:ehnamespaceiothubfortest1","createdAt":"2020-04-13T16:10:50.1Z","updatedAt":"2020-04-13T16:10:50.1Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Activating"}}' + US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"a386d5ea-ea90-441a-8263-d816368c84a1:ehnamespaceiothubfortest1","createdAt":"2020-05-15T00:50:50.747Z","updatedAt":"2020-05-15T00:50:50.747Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '759' + - '763' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:20 GMT + - Fri, 15 May 2020 00:51:21 GMT expires: - '-1' pragma: @@ -356,23 +358,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1","name":"ehNamespaceiothubfortest1","type":"Microsoft.EventHub/Namespaces","location":"West - US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e:ehnamespaceiothubfortest1","createdAt":"2020-04-13T16:10:50.1Z","updatedAt":"2020-04-13T16:11:36.933Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Active"}}' + US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"a386d5ea-ea90-441a-8263-d816368c84a1:ehnamespaceiothubfortest1","createdAt":"2020-05-15T00:50:50.747Z","updatedAt":"2020-05-15T00:51:33.193Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '759' + - '761' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:50 GMT + - Fri, 15 May 2020 00:51:51 GMT expires: - '-1' pragma: @@ -407,8 +409,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -416,25 +418,25 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1","name":"ehNamespaceiothubfortest1","type":"Microsoft.EventHub/Namespaces","location":"West - US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e:ehnamespaceiothubfortest1","createdAt":"2020-04-13T16:10:50.1Z","updatedAt":"2020-04-13T16:11:36.933Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Active"}}' + US 2","tags":{},"properties":{"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"a386d5ea-ea90-441a-8263-d816368c84a1:ehnamespaceiothubfortest1","createdAt":"2020-05-15T00:50:50.747Z","updatedAt":"2020-05-15T00:51:33.193Z","serviceBusEndpoint":"https://ehNamespaceiothubfortest1.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '759' + - '761' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:50 GMT + - Fri, 15 May 2020 00:51:52 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -464,8 +466,8 @@ interactions: ParameterSetName: - --resource-group --namespace-name --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -473,7 +475,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1/eventhubs/eventHubiothubfortest","name":"eventHubiothubfortest","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"West - US 2","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-04-13T16:11:53.253Z","updatedAt":"2020-04-13T16:11:53.66Z","partitionIds":["0","1","2","3"]}}' + US 2","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-05-15T00:51:55.243Z","updatedAt":"2020-05-15T00:51:55.48Z","partitionIds":["0","1","2","3"]}}' headers: cache-control: - no-cache @@ -482,7 +484,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:54 GMT + - Fri, 15 May 2020 00:51:56 GMT expires: - '-1' pragma: @@ -523,8 +525,8 @@ interactions: ParameterSetName: - --resource-group --namespace-name --eventhub-name --name --rights User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -541,16 +543,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:55 GMT + - Fri, 15 May 2020 00:51:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -560,7 +562,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -580,15 +582,15 @@ interactions: ParameterSetName: - --resource-group --namespace-name --eventhub-name --name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-eventhub/3.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-eventhub/3.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.EventHub/namespaces/ehNamespaceiothubfortest1/eventhubs/eventHubiothubfortest/authorizationRules/eventHubPolicyiothubfortest/ListKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","secondaryConnectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=/wKCbdIM0bg8W1ipOnhd0vGNUXSVq4sub9c3h98HR3M=;EntityPath=eventHubiothubfortest","primaryKey":"Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=","secondaryKey":"/wKCbdIM0bg8W1ipOnhd0vGNUXSVq4sub9c3h98HR3M=","keyName":"eventHubPolicyiothubfortest"}' + string: '{"primaryConnectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","secondaryConnectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=LKs+YGzA7BphYVbOnzTnVPirtAfeQqwxKYEtZOyvxV8=;EntityPath=eventHubiothubfortest","primaryKey":"mock_key","secondaryKey":"mock_key","keyName":"eventHubPolicyiothubfortest"}' headers: cache-control: - no-cache @@ -597,16 +599,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:56 GMT + - Fri, 15 May 2020 00:51:58 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -638,12 +640,12 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -655,7 +657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:58 GMT + - Fri, 15 May 2020 00:51:58 GMT expires: - '-1' pragma: @@ -671,7 +673,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -689,15 +691,15 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-05-15T00:50:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -706,7 +708,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:58 GMT + - Fri, 15 May 2020 00:51:58 GMT expires: - '-1' pragma: @@ -744,18 +746,18 @@ interactions: ParameterSetName: - -n -g --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: '{"code":400016,"httpStatusCode":"BadRequest","message":"Invalid PartitionCount 4 - value must be between 2 and 2. If you contact a support representative - please include this correlation identifier: ee911e27-a0bf-4dc8-a489-ea6d7a24618c, - timestamp: 2020-04-13 16:11:58Z, errorcode: IH400016."}' + please include this correlation identifier: 08908d43-0f69-4eab-a6cb-884e3581793c, + timestamp: 2020-05-15 00:52:01Z, errorcode: IH400016."}' headers: cache-control: - no-cache @@ -764,7 +766,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:58 GMT + - Fri, 15 May 2020 00:52:01 GMT expires: - '-1' pragma: @@ -798,12 +800,12 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -815,7 +817,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:59 GMT + - Fri, 15 May 2020 00:52:03 GMT expires: - '-1' pragma: @@ -831,7 +833,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -849,15 +851,15 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-05-15T00:50:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -866,7 +868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:11:59 GMT + - Fri, 15 May 2020 00:52:03 GMT expires: - '-1' pragma: @@ -904,18 +906,18 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: '{"code":400016,"httpStatusCode":"BadRequest","message":"Invalid PartitionCount 4 - value must be between 2 and 2. If you contact a support representative - please include this correlation identifier: 7fae406d-bcac-4a8e-aee7-ae0bdb00bd8e, - timestamp: 2020-04-13 16:12:00Z, errorcode: IH400016."}' + please include this correlation identifier: 09cd0c84-c7db-4310-b707-5b9056384d13, + timestamp: 2020-05-15 00:52:05Z, errorcode: IH400016."}' headers: cache-control: - no-cache @@ -924,7 +926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:00 GMT + - Fri, 15 May 2020 00:52:06 GMT expires: - '-1' pragma: @@ -936,7 +938,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 400 message: Bad Request @@ -958,12 +960,12 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -975,7 +977,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:00 GMT + - Fri, 15 May 2020 00:52:06 GMT expires: - '-1' pragma: @@ -1009,15 +1011,15 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-05-15T00:50:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1026,7 +1028,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:00 GMT + - Fri, 15 May 2020 00:52:06 GMT expires: - '-1' pragma: @@ -1064,18 +1066,18 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":2}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":2}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzlkN2FmZWUtYjFkOS00ZDE5LWJiNGMtYjgxNzBmNWU5OTZi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWM1OWYzM2EtYTQwOS00OTlmLThmMTgtMmYzODVlYjViOGQ2?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -1083,7 +1085,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:04 GMT + - Fri, 15 May 2020 00:52:10 GMT expires: - '-1' pragma: @@ -1113,10 +1115,10 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzlkN2FmZWUtYjFkOS00ZDE5LWJiNGMtYjgxNzBmNWU5OTZi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWM1OWYzM2EtYTQwOS00OTlmLThmMTgtMmYzODVlYjViOGQ2?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -1128,7 +1130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:12:33 GMT + - Fri, 15 May 2020 00:52:42 GMT expires: - '-1' pragma: @@ -1160,57 +1162,10 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzlkN2FmZWUtYjFkOS00ZDE5LWJiNGMtYjgxNzBmNWU5OTZi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 13 Apr 2020 16:13:04 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: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku --partition-count - User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzlkN2FmZWUtYjFkOS00ZDE5LWJiNGMtYjgxNzBmNWU5OTZi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWM1OWYzM2EtYTQwOS00OTlmLThmMTgtMmYzODVlYjViOGQ2?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -1222,7 +1177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:34 GMT + - Fri, 15 May 2020 00:53:11 GMT expires: - '-1' pragma: @@ -1254,14 +1209,14 @@ interactions: ParameterSetName: - -n -g --sku --partition-count User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI61k=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2,"partitionIds":["0","1"],"path":"iothub-ehub-iot-hub-fo-3245244-284cac1f2f","endpoint":"sb://ihsuprodmwhres005dednamespace.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lECA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2,"partitionIds":["0","1"],"path":"iothub-ehub-iot-hub-fo-3439898-bb5e73f496","endpoint":"sb://ihsuprodmwhres003dednamespace.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}' headers: cache-control: - no-cache @@ -1270,7 +1225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:35 GMT + - Fri, 15 May 2020 00:53:12 GMT expires: - '-1' pragma: @@ -1302,26 +1257,37 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI61k=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2,"partitionIds":["0","1"],"path":"iothub-ehub-iot-hub-fo-3245244-284cac1f2f","endpoint":"sb://ihsuprodmwhres005dednamespace.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lECA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":2,"partitionIds":["0","1"],"path":"iothub-ehub-iot-hub-fo-3439898-bb5e73f496","endpoint":"sb://ihsuprodmwhres003dednamespace.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"F1","tier":"Free","capacity":1}}]}' headers: cache-control: - no-cache content-length: - - '3334' + - '23423' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:36 GMT + - Fri, 15 May 2020 00:53:14 GMT expires: - '-1' pragma: @@ -1355,18 +1321,18 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjk1OTUxZjMtMjliOS00M2MxLWFjYzUtM2ViYWNhMTZjNmEz?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMTZhNmUwMDAtOWQ5NS00NDBjLWIyOTktODBkOTM5MDU3NWFj?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -1374,11 +1340,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:37 GMT + - Fri, 15 May 2020 00:53:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjk1OTUxZjMtMjliOS00M2MxLWFjYzUtM2ViYWNhMTZjNmEz?api-version=2019-07-01-preview&operationSource=os_ih + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMTZhNmUwMDAtOWQ5NS00NDBjLWIyOTktODBkOTM5MDU3NWFj?api-version=2020-03-01&operationSource=os_ih pragma: - no-cache server: @@ -1406,10 +1372,10 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjk1OTUxZjMtMjliOS00M2MxLWFjYzUtM2ViYWNhMTZjNmEz?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMTZhNmUwMDAtOWQ5NS00NDBjLWIyOTktODBkOTM5MDU3NWFj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -1421,7 +1387,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:53 GMT + - Fri, 15 May 2020 00:53:30 GMT expires: - '-1' pragma: @@ -1459,12 +1425,12 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":true,"reason":"Invalid","message":null}' @@ -1476,7 +1442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:55 GMT + - Fri, 15 May 2020 00:53:32 GMT expires: - '-1' pragma: @@ -1492,7 +1458,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: OK @@ -1512,15 +1478,15 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-04-13T16:10:25Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2020-05-15T00:50:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1529,7 +1495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:55 GMT + - Fri, 15 May 2020 00:53:32 GMT expires: - '-1' pragma: @@ -1569,18 +1535,18 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","properties":{"state":"Activating","provisioningState":"Accepted","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNWE5MTcxY2MtNWY5OS00YzMzLWExNTctNTA1NzRjOGQ3MjFh?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzA5MmQ2N2UtMGZlNi00Nzg3LWI2OWEtOTE4OTFiZjE4YmEy?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -1588,7 +1554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:13:58 GMT + - Fri, 15 May 2020 00:53:35 GMT expires: - '-1' pragma: @@ -1600,7 +1566,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -1620,10 +1586,10 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNWE5MTcxY2MtNWY5OS00YzMzLWExNTctNTA1NzRjOGQ3MjFh?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzA5MmQ2N2UtMGZlNi00Nzg3LWI2OWEtOTE4OTFiZjE4YmEy?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -1635,7 +1601,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:14:29 GMT + - Fri, 15 May 2020 00:54:06 GMT expires: - '-1' pragma: @@ -1669,10 +1635,10 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNWE5MTcxY2MtNWY5OS00YzMzLWExNTctNTA1NzRjOGQ3MjFh?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzA5MmQ2N2UtMGZlNi00Nzg3LWI2OWEtOTE4OTFiZjE4YmEy?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -1684,7 +1650,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:14:59 GMT + - Fri, 15 May 2020 00:54:36 GMT expires: - '-1' pragma: @@ -1718,10 +1684,10 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNWE5MTcxY2MtNWY5OS00YzMzLWExNTctNTA1NzRjOGQ3MjFh?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzA5MmQ2N2UtMGZlNi00Nzg3LWI2OWEtOTE4OTFiZjE4YmEy?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -1733,7 +1699,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:15:29 GMT + - Fri, 15 May 2020 00:55:06 GMT expires: - '-1' pragma: @@ -1767,10 +1733,10 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNWE5MTcxY2MtNWY5OS00YzMzLWExNTctNTA1NzRjOGQ3MjFh?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzA5MmQ2N2UtMGZlNi00Nzg3LWI2OWEtOTE4OTFiZjE4YmEy?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -1782,7 +1748,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:15:59 GMT + - Fri, 15 May 2020 00:55:37 GMT expires: - '-1' pragma: @@ -1816,14 +1782,14 @@ interactions: --feedback-max-delivery-count --fileupload-notification-max-delivery-count --fileupload-notification-ttl User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -1832,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:00 GMT + - Fri, 15 May 2020 00:55:37 GMT expires: - '-1' pragma: @@ -1864,26 +1830,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:02 GMT + - Fri, 15 May 2020 00:55:38 GMT expires: - '-1' pragma: @@ -1917,15 +1895,15 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -1935,7 +1913,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:02 GMT + - Fri, 15 May 2020 00:55:39 GMT expires: - '-1' pragma: @@ -1969,26 +1947,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:03 GMT + - Fri, 15 May 2020 00:55:39 GMT expires: - '-1' pragma: @@ -2022,15 +2012,15 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -2040,7 +2030,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:03 GMT + - Fri, 15 May 2020 00:55:39 GMT expires: - '-1' pragma: @@ -2074,26 +2064,38 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:04 GMT + - Fri, 15 May 2020 00:55:39 GMT expires: - '-1' pragma: @@ -2127,16 +2129,16 @@ interactions: ParameterSetName: - -n -g --all User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}]}' + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}]}' headers: cache-control: - no-cache @@ -2145,7 +2147,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:04 GMT + - Fri, 15 May 2020 00:55:40 GMT expires: - '-1' pragma: @@ -2161,7 +2163,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -2179,26 +2181,38 @@ interactions: ParameterSetName: - -n -g --all User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:05 GMT + - Fri, 15 May 2020 00:55:41 GMT expires: - '-1' pragma: @@ -2230,26 +2244,38 @@ interactions: ParameterSetName: - -n --fnd --rd --ct --cdd --ft --fld --fd --fn --fnt --fst --fcs --fc User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:06 GMT + - Fri, 15 May 2020 00:55:42 GMT expires: - '-1' pragma: @@ -2281,26 +2307,38 @@ interactions: ParameterSetName: - -n --fnd --rd --ct --cdd --ft --fld --fd --fn --fnt --fst --fcs --fc User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI6gQ=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":3,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT20H","maxDeliveryCount":79}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":89,"defaultTtlAsIso8601":"PT23H","feedback":{"lockDurationAsIso8601":"PT35S","ttlAsIso8601":"P1DT5H","maxDeliveryCount":40}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lEk4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Activating","provisioningState":"Activating","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3339' + - '25069' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:06 GMT + - Fri, 15 May 2020 00:55:42 GMT expires: - '-1' pragma: @@ -2319,7 +2357,7 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI70Q=", "properties": + body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lEsw=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": []}, "routes": @@ -2346,27 +2384,27 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI70Q=''}' + - '{''IF-MATCH'': ''AAAAAA2lEsw=''}' ParameterSetName: - -n --fnd --rd --ct --cdd --ft --fld --fd --fn --fnt --fst --fcs --fc User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI70Q=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:15:32 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:15:32 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:15:32 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:15:32 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:15:32 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:15:32 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:15:32 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:15:32 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lEsw=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:55:09 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:09 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:55:09 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:09 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:55:09 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:09 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:55:09 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:09 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjA0NDg5YjItMmU5OC00ZWFhLWJjMWItOTYwMmI5ZjY0NzE2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2FlY2FmMTYtNjIzMS00Mjk0LWJmZDAtNzAyNTBkODI2YmY1?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -2374,7 +2412,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:08 GMT + - Fri, 15 May 2020 00:55:45 GMT expires: - '-1' pragma: @@ -2386,7 +2424,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4997' status: code: 201 message: Created @@ -2404,10 +2442,10 @@ interactions: ParameterSetName: - -n --fnd --rd --ct --cdd --ft --fld --fd --fn --fnt --fst --fcs --fc User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjA0NDg5YjItMmU5OC00ZWFhLWJjMWItOTYwMmI5ZjY0NzE2?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfM2FlY2FmMTYtNjIzMS00Mjk0LWJmZDAtNzAyNTBkODI2YmY1?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -2419,7 +2457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:39 GMT + - Fri, 15 May 2020 00:56:17 GMT expires: - '-1' pragma: @@ -2451,23 +2489,23 @@ interactions: ParameterSetName: - -n --fnd --rd --ct --cdd --ft --fld --fd --fn --fnt --fst --fcs --fc User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:39 GMT + - Fri, 15 May 2020 00:56:17 GMT expires: - '-1' pragma: @@ -2499,26 +2537,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:41 GMT + - Fri, 15 May 2020 00:56:18 GMT expires: - '-1' pragma: @@ -2550,25 +2600,25 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '1877' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:42 GMT + - Fri, 15 May 2020 00:56:19 GMT expires: - '-1' pragma: @@ -2600,26 +2650,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:42 GMT + - Fri, 15 May 2020 00:56:19 GMT expires: - '-1' pragma: @@ -2651,12 +2713,12 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/skus?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/skus?api-version=2020-03-01 response: body: string: '{"value":[{"resourceType":"Microsoft.Devices/IotHubs","sku":{"name":"S1","tier":"Standard"},"capacity":{"minimum":1,"maximum":200,"default":1,"scaleType":"Manual"}},{"resourceType":"Microsoft.Devices/IotHubs","sku":{"name":"S2","tier":"Standard"},"capacity":{"minimum":1,"maximum":200,"default":1,"scaleType":"Manual"}},{"resourceType":"Microsoft.Devices/IotHubs","sku":{"name":"S3","tier":"Standard"},"capacity":{"minimum":1,"maximum":10,"default":1,"scaleType":"Manual"}}]}' @@ -2668,7 +2730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:42 GMT + - Fri, 15 May 2020 00:56:20 GMT expires: - '-1' pragma: @@ -2700,26 +2762,38 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:43 GMT + - Fri, 15 May 2020 00:56:21 GMT expires: - '-1' pragma: @@ -2753,16 +2827,16 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}]}' + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}]}' headers: cache-control: - no-cache @@ -2771,7 +2845,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:43 GMT + - Fri, 15 May 2020 00:56:22 GMT expires: - '-1' pragma: @@ -2792,17 +2866,14 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI8ag=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=", - "secondaryKey": "hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=", - "secondaryKey": "t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=", - "secondaryKey": "28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=", - "secondaryKey": "45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=", - "secondaryKey": "JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=", "rights": "RegistryWrite"}, + body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFBU=", "properties": + {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}, + {"keyName": "service", "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": + "ServiceConnect"}, {"keyName": "device", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "DeviceConnect"}, {"keyName": "registryRead", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryRead"}, {"keyName": "registryReadWrite", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "RegistryWrite"}, {"keyName": "test_policy", "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}], "ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], @@ -2830,28 +2901,28 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI8ag=''}' + - '{''IF-MATCH'': ''AAAAAA2lFBU=''}' ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8ag=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"PMjJcfjxJKq661nFsoTxxRhAdrFBO5GBJjOrToUM194=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:18 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:18 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:18 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:18 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:18 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:18 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:18 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:18 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFBU=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:55:58 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:58 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:55:58 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:58 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:55:58 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:58 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:55:58 GMT","ModifiedTime":"Fri, 15 May 2020 00:55:58 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGU3MzUxYjItZGY0ZS00N2QxLTg5NzctOTRhYzZkNmM0ZmM5?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMDNlMjZkYWMtNTBlOC00NDAzLWFhMmQtYjk3ZDczZThmMjY2?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -2859,7 +2930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:16:46 GMT + - Fri, 15 May 2020 00:56:24 GMT expires: - '-1' pragma: @@ -2871,7 +2942,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -2889,10 +2960,10 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGU3MzUxYjItZGY0ZS00N2QxLTg5NzctOTRhYzZkNmM0ZmM5?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMDNlMjZkYWMtNTBlOC00NDAzLWFhMmQtYjk3ZDczZThmMjY2?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -2904,7 +2975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:17 GMT + - Fri, 15 May 2020 00:56:54 GMT expires: - '-1' pragma: @@ -2936,23 +3007,23 @@ interactions: ParameterSetName: - --hub-name -n --permissions User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8v8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFR4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:17 GMT + - Fri, 15 May 2020 00:56:55 GMT expires: - '-1' pragma: @@ -2984,26 +3055,38 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8v8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFR4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:20 GMT + - Fri, 15 May 2020 00:56:57 GMT expires: - '-1' pragma: @@ -3037,16 +3120,16 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"PMjJcfjxJKq661nFsoTxxRhAdrFBO5GBJjOrToUM194=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}]}' headers: cache-control: @@ -3056,7 +3139,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:20 GMT + - Fri, 15 May 2020 00:56:57 GMT expires: - '-1' pragma: @@ -3072,7 +3155,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -3090,26 +3173,38 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8v8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFR4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:21 GMT + - Fri, 15 May 2020 00:56:58 GMT expires: - '-1' pragma: @@ -3143,15 +3238,15 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"test_policy","primaryKey":"PMjJcfjxJKq661nFsoTxxRhAdrFBO5GBJjOrToUM194=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -3161,7 +3256,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:21 GMT + - Fri, 15 May 2020 00:56:59 GMT expires: - '-1' pragma: @@ -3177,7 +3272,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: OK @@ -3195,26 +3290,38 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8v8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFR4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFJ4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25459' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:22 GMT + - Fri, 15 May 2020 00:56:59 GMT expires: - '-1' pragma: @@ -3248,16 +3355,16 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"PMjJcfjxJKq661nFsoTxxRhAdrFBO5GBJjOrToUM194=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}]}' headers: cache-control: @@ -3267,7 +3374,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:22 GMT + - Fri, 15 May 2020 00:57:00 GMT expires: - '-1' pragma: @@ -3288,25 +3395,22 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI8v8=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=", - "secondaryKey": "hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=", - "secondaryKey": "t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=", - "secondaryKey": "28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=", - "secondaryKey": "45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=", - "secondaryKey": "JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=", "rights": "RegistryWrite"}, - {"keyName": "test_policy", "primaryKey": "aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=", - "secondaryKey": "vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}], "ipFilterRules": [], "eventHubEndpoints": - {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": - {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": - []}, "routes": [], "fallbackRoute": {"name": "$fallback", "source": "DeviceMessages", - "condition": "true", "endpointNames": ["events"], "isEnabled": true}}, "storageEndpoints": - {"$default": {"sasTtlAsIso8601": "PT3H", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFR4=", "properties": + {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}, + {"keyName": "service", "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": + "ServiceConnect"}, {"keyName": "device", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "DeviceConnect"}, {"keyName": "registryRead", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryRead"}, {"keyName": "registryReadWrite", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "RegistryWrite"}, + {"keyName": "test_policy", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}], "ipFilterRules": + [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": + 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], + "eventHubs": [], "storageContainers": []}, "routes": [], "fallbackRoute": {"name": + "$fallback", "source": "DeviceMessages", "condition": "true", "endpointNames": + ["events"], "isEnabled": true}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": + "PT3H", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", "containerName": "iothubcontainer1"}}, "messagingEndpoints": {"fileNotifications": {"lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "P1DT8H", "maxDeliveryCount": 80}}, "enableFileUploadNotifications": true, "cloudToDevice": {"maxDeliveryCount": @@ -3327,29 +3431,29 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI8v8=''}' + - '{''IF-MATCH'': ''AAAAAA2lFR4=''}' ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI8v8=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:58 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:58 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:58 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:58 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:58 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:58 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:58 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:58 GMT"},{"KeyName":"test_policy","PrimaryKey":"PMjJcfjxJKq661nFsoTxxRhAdrFBO5GBJjOrToUM194=","SecondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:16:58 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:16:58 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFR4=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:56:35 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:35 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:56:35 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:35 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:56:35 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:35 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:56:35 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:35 GMT"},{"KeyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:56:35 GMT","ModifiedTime":"Fri, 15 May 2020 00:56:35 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZGE0YTBiYzctZTBlZS00NmY0LWI0YjEtYWM5N2FmNmExNzEy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYWQ4YWM1ZmYtZWY2Mi00YWVmLTljNGEtZjQ0M2ZjNzBkODVi?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -3357,7 +3461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:17:24 GMT + - Fri, 15 May 2020 00:57:03 GMT expires: - '-1' pragma: @@ -3387,104 +3491,10 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZGE0YTBiYzctZTBlZS00NmY0LWI0YjEtYWM5N2FmNmExNzEy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 13 Apr 2020 16:17:54 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: - - iot hub policy renew-key - Connection: - - keep-alive - ParameterSetName: - - --hub-name -n --renew-key - User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZGE0YTBiYzctZTBlZS00NmY0LWI0YjEtYWM5N2FmNmExNzEy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 13 Apr 2020 16:18: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: - - iot hub policy renew-key - Connection: - - keep-alive - ParameterSetName: - - --hub-name -n --renew-key - User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZGE0YTBiYzctZTBlZS00NmY0LWI0YjEtYWM5N2FmNmExNzEy?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYWQ4YWM1ZmYtZWY2Mi00YWVmLTljNGEtZjQ0M2ZjNzBkODVi?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -3496,7 +3506,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:56 GMT + - Fri, 15 May 2020 00:57:33 GMT expires: - '-1' pragma: @@ -3528,23 +3538,23 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:56 GMT + - Fri, 15 May 2020 00:57:33 GMT expires: - '-1' pragma: @@ -3576,26 +3586,38 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFsg=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25635' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:57 GMT + - Fri, 15 May 2020 00:57:34 GMT expires: - '-1' pragma: @@ -3629,15 +3651,15 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"test_policy","primaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -3647,7 +3669,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:57 GMT + - Fri, 15 May 2020 00:57:35 GMT expires: - '-1' pragma: @@ -3681,26 +3703,38 @@ interactions: ParameterSetName: - -n --policy-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFso=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25635' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:58 GMT + - Fri, 15 May 2020 00:57:35 GMT expires: - '-1' pragma: @@ -3734,15 +3768,15 @@ interactions: ParameterSetName: - -n --policy-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"test_policy","primaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -3752,7 +3786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:58 GMT + - Fri, 15 May 2020 00:57:36 GMT expires: - '-1' pragma: @@ -3786,26 +3820,38 @@ interactions: ParameterSetName: - -n --policy-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFso=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25635' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:18:59 GMT + - Fri, 15 May 2020 00:57:36 GMT expires: - '-1' pragma: @@ -3837,26 +3883,38 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lFso=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25635' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:00 GMT + - Fri, 15 May 2020 00:57:38 GMT expires: - '-1' pragma: @@ -3890,16 +3948,16 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","secondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","rights":"RegistryWrite, + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}]}' headers: cache-control: @@ -3909,7 +3967,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:00 GMT + - Fri, 15 May 2020 00:57:38 GMT expires: - '-1' pragma: @@ -3925,30 +3983,27 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK - request: - body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI9Ok=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=", - "secondaryKey": "hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=", - "secondaryKey": "t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=", - "secondaryKey": "28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=", - "secondaryKey": "45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=", - "secondaryKey": "JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=", "rights": "RegistryWrite"}, - {"keyName": "test_policy", "primaryKey": "vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=", - "secondaryKey": "aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}], "ipFilterRules": [], "eventHubEndpoints": - {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": - {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": - []}, "routes": [], "fallbackRoute": {"name": "$fallback", "source": "DeviceMessages", - "condition": "true", "endpointNames": ["events"], "isEnabled": true}}, "storageEndpoints": - {"$default": {"sasTtlAsIso8601": "PT3H", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFkU=", "properties": + {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}, + {"keyName": "service", "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": + "ServiceConnect"}, {"keyName": "device", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "DeviceConnect"}, {"keyName": "registryRead", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryRead"}, {"keyName": "registryReadWrite", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "RegistryWrite"}, + {"keyName": "test_policy", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}], "ipFilterRules": + [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": + 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], + "eventHubs": [], "storageContainers": []}, "routes": [], "fallbackRoute": {"name": + "$fallback", "source": "DeviceMessages", "condition": "true", "endpointNames": + ["events"], "isEnabled": true}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": + "PT3H", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", "containerName": "iothubcontainer1"}}, "messagingEndpoints": {"fileNotifications": {"lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "P1DT8H", "maxDeliveryCount": 80}}, "enableFileUploadNotifications": true, "cloudToDevice": {"maxDeliveryCount": @@ -3969,29 +4024,29 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI9Ok=''}' + - '{''IF-MATCH'': ''AAAAAA2lFkU=''}' ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9Ok=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","secondaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:18:24 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:18:24 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:18:24 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:18:24 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:18:24 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:18:24 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:18:24 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:18:24 GMT"},{"KeyName":"test_policy","PrimaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","SecondaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:18:24 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:18:24 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFkU=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:15 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:15 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:15 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:15 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:15 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:15 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:15 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:15 GMT"},{"KeyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:15 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:15 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYTRkN2M4ZWQtMjA3MS00ODZlLTllNzYtNTQxOTc4OTQyZDNj?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYmUwMDk0NGEtNGFjZS00YWM1LWJmMjctOTc4MTllNWMwOGYw?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -3999,7 +4054,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:02 GMT + - Fri, 15 May 2020 00:57:41 GMT expires: - '-1' pragma: @@ -4029,10 +4084,10 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYTRkN2M4ZWQtMjA3MS00ODZlLTllNzYtNTQxOTc4OTQyZDNj?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYmUwMDk0NGEtNGFjZS00YWM1LWJmMjctOTc4MTllNWMwOGYw?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4044,7 +4099,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:33 GMT + - Fri, 15 May 2020 00:58:11 GMT expires: - '-1' pragma: @@ -4076,23 +4131,23 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9bE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFvk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:33 GMT + - Fri, 15 May 2020 00:58:11 GMT expires: - '-1' pragma: @@ -4124,26 +4179,38 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9bE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFvk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lF1M=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25949' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:34 GMT + - Fri, 15 May 2020 00:58:12 GMT expires: - '-1' pragma: @@ -4177,15 +4244,15 @@ interactions: ParameterSetName: - --hub-name -n --renew-key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/test_policy/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"test_policy","primaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","secondaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","rights":"RegistryWrite, + string: '{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -4195,7 +4262,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:34 GMT + - Fri, 15 May 2020 00:58:13 GMT expires: - '-1' pragma: @@ -4211,7 +4278,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -4229,26 +4296,38 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI8hM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9bE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFvk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lF1M=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3473' + - '25949' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:36 GMT + - Fri, 15 May 2020 00:58:14 GMT expires: - '-1' pragma: @@ -4282,16 +4361,16 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","secondaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","rights":"RegistryWrite, + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}]}' headers: cache-control: @@ -4301,7 +4380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:36 GMT + - Fri, 15 May 2020 00:58:14 GMT expires: - '-1' pragma: @@ -4337,16 +4416,16 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","secondaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","rights":"RegistryWrite, + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"},{"keyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}]}' headers: cache-control: @@ -4356,7 +4435,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:36 GMT + - Fri, 15 May 2020 00:58:15 GMT expires: - '-1' pragma: @@ -4377,17 +4456,14 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI9bE=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=", - "secondaryKey": "hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=", - "secondaryKey": "t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=", - "secondaryKey": "28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=", - "secondaryKey": "45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=", - "secondaryKey": "JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=", "rights": "RegistryWrite"}], + body: 'b''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lFvk=", "properties": + {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryWrite, ServiceConnect, DeviceConnect"}, + {"keyName": "service", "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": + "ServiceConnect"}, {"keyName": "device", "primaryKey":"mock_key", "secondaryKey":"mock_key", + "rights": "DeviceConnect"}, {"keyName": "registryRead", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "RegistryRead"}, {"keyName": "registryReadWrite", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "RegistryWrite"}], "ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": []}, "routes": @@ -4414,28 +4490,28 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI9bE=''}' + - '{''IF-MATCH'': ''AAAAAA2lFvk=''}' ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9bE=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:16 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:16 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:16 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:16 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:16 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:16 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:16 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:16 GMT"},{"KeyName":"test_policy","PrimaryKey":"vPweQEbs+kxWXyLnZUu3RbAZKOsbvbh67OUNsj5cNJ0=","SecondaryKey":"aUZzFW1fTyNcAkYDFVY2cSVaHDZeLTpJNG1nZkk7WGA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:16 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:16 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lFvk=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:51 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:51 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:57:51 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:51 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:51 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:51 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:51 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:51 GMT"},{"KeyName":"test_policy","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:57:51 GMT","ModifiedTime":"Fri, 15 May 2020 00:57:51 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNzI1ODI2ZjAtZjgyYy00NmUxLTlmNDQtMThjMTIyNmNmNDVj?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOThmN2RjYTMtZGY2Zi00N2U2LWJjNTUtYTJkZWMwODM4OWUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -4443,7 +4519,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:19:39 GMT + - Fri, 15 May 2020 00:58:17 GMT expires: - '-1' pragma: @@ -4455,7 +4531,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -4473,10 +4549,10 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNzI1ODI2ZjAtZjgyYy00NmUxLTlmNDQtMThjMTIyNmNmNDVj?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOThmN2RjYTMtZGY2Zi00N2U2LWJjNTUtYTJkZWMwODM4OWUz?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4488,7 +4564,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:09 GMT + - Fri, 15 May 2020 00:58:47 GMT expires: - '-1' pragma: @@ -4520,23 +4596,23 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:10 GMT + - Fri, 15 May 2020 00:58:47 GMT expires: - '-1' pragma: @@ -4568,26 +4644,38 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI9ks=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lF1M=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3474' + - '25949' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:11 GMT + - Fri, 15 May 2020 00:58:49 GMT expires: - '-1' pragma: @@ -4621,16 +4709,16 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/listkeys?api-version=2020-03-01 response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}]}' + string: '{"value":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}]}' headers: cache-control: - no-cache @@ -4639,7 +4727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:12 GMT + - Fri, 15 May 2020 00:58:49 GMT expires: - '-1' pragma: @@ -4655,7 +4743,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -4673,26 +4761,38 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI9lM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGIc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3474' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:12 GMT + - Fri, 15 May 2020 00:58:50 GMT expires: - '-1' pragma: @@ -4726,15 +4826,15 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2020-03-01 response: body: - string: '{"properties":{"created":"Mon, 13 Apr 2020 16:20:14 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}' + string: '{"properties":{"created":"Fri, 15 May 2020 00:58:53 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}' headers: cache-control: - no-cache @@ -4743,7 +4843,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:15 GMT + - Fri, 15 May 2020 00:58:52 GMT expires: - '-1' pragma: @@ -4777,26 +4877,38 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt/providers/Microsoft.Devices/IotHubs/iot3uc57ocflhtusyq2k","name":"iot3uc57ocflhtusyq2k","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg4775n3czqinrrkfdegmqyvtm6hofxtoy2hio6o45dnw4lbgkqwrnk2p3cknwlfnxt","etag":"AAAAAAzI9lM=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"iot3uc57ocflhtusyq2k.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot3uc57ocflhtusyq2k","endpoint":"sb://iothub-ns-iot3uc57oc-3245240-6d870be0c7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGJE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '3474' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:15 GMT + - Fri, 15 May 2020 00:58:53 GMT expires: - '-1' pragma: @@ -4828,15 +4940,15 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2020-03-01 response: body: - string: '{"properties":{"created":"Mon, 13 Apr 2020 16:20:14 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}' + string: '{"properties":{"created":"Fri, 15 May 2020 00:58:53 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}' headers: cache-control: - no-cache @@ -4845,7 +4957,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:16 GMT + - Fri, 15 May 2020 00:58:54 GMT expires: - '-1' pragma: @@ -4877,25 +4989,38 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGJE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:17 GMT + - Fri, 15 May 2020 00:58:55 GMT expires: - '-1' pragma: @@ -4927,16 +5052,16 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups?api-version=2020-03-01 response: body: - string: '{"value":[{"properties":{"created":"Mon, 13 Apr 2020 16:15:24 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/%24Default","name":"$Default","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null},{"properties":{"created":"Mon, - 13 Apr 2020 16:20:14 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}]}' + string: '{"value":[{"properties":{"created":"Fri, 15 May 2020 00:55:00 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/%24Default","name":"$Default","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null},{"properties":{"created":"Fri, + 15 May 2020 00:58:53 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1","name":"cg1","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}]}' headers: cache-control: - no-cache @@ -4945,7 +5070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:17 GMT + - Fri, 15 May 2020 00:58:56 GMT expires: - '-1' pragma: @@ -4977,25 +5102,38 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:18 GMT + - Fri, 15 May 2020 00:58:56 GMT expires: - '-1' pragma: @@ -5029,12 +5167,12 @@ interactions: ParameterSetName: - --hub-name -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/cg1?api-version=2020-03-01 response: body: string: '' @@ -5044,7 +5182,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:20:18 GMT + - Fri, 15 May 2020 00:58:57 GMT expires: - '-1' pragma: @@ -5074,25 +5212,38 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:19 GMT + - Fri, 15 May 2020 00:58:58 GMT expires: - '-1' pragma: @@ -5124,15 +5275,15 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups?api-version=2020-03-01 response: body: - string: '{"value":[{"properties":{"created":"Mon, 13 Apr 2020 16:15:24 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/%24Default","name":"$Default","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}]}' + string: '{"value":[{"properties":{"created":"Fri, 15 May 2020 00:55:00 GMT"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/eventHubEndpoints/events/ConsumerGroups/%24Default","name":"$Default","type":"Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups","etag":null}]}' headers: cache-control: - no-cache @@ -5141,7 +5292,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:20 GMT + - Fri, 15 May 2020 00:58:59 GMT expires: - '-1' pragma: @@ -5173,25 +5324,38 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:20 GMT + - Fri, 15 May 2020 00:59:00 GMT expires: - '-1' pragma: @@ -5223,12 +5387,12 @@ interactions: ParameterSetName: - --hub-name User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/jobs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/jobs?api-version=2020-03-01 response: body: string: '{"value":[]}' @@ -5240,7 +5404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:21 GMT + - Fri, 15 May 2020 00:59:01 GMT expires: - '-1' pragma: @@ -5272,25 +5436,38 @@ interactions: ParameterSetName: - --hub-name --job-id User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:22 GMT + - Fri, 15 May 2020 00:59:01 GMT expires: - '-1' pragma: @@ -5322,18 +5499,18 @@ interactions: ParameterSetName: - --hub-name --job-id User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/jobs/fake-job?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/jobs/fake-job?api-version=2020-03-01 response: body: string: '{"code":404011,"httpStatusCode":"NotFound","message":"Job not found with ID ''fake-job''. If you contact a support representative please include - this correlation identifier: 5b21ca45-5970-4304-abd7-d379c7327ea0, timestamp: - 2020-04-13 16:20:22Z, errorcode: IH404011."}' + this correlation identifier: 6b9090d0-7e23-45ea-b308-ba6d55b6a92f, timestamp: + 2020-05-15 00:59:03Z, errorcode: IH404011."}' headers: cache-control: - no-cache @@ -5342,7 +5519,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:22 GMT + - Fri, 15 May 2020 00:59:02 GMT expires: - '-1' pragma: @@ -5370,25 +5547,38 @@ interactions: ParameterSetName: - --hub-name --job-id User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:22 GMT + - Fri, 15 May 2020 00:59:03 GMT expires: - '-1' pragma: @@ -5420,25 +5610,38 @@ interactions: ParameterSetName: - --hub-name --job-id User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:22 GMT + - Fri, 15 May 2020 00:59:03 GMT expires: - '-1' pragma: @@ -5472,15 +5675,15 @@ interactions: ParameterSetName: - --hub-name --job-id User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubKeys/iothubowner/listkeys?api-version=2020-03-01 response: body: - string: '{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, ServiceConnect, DeviceConnect"}' headers: cache-control: @@ -5490,7 +5693,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:22 GMT + - Fri, 15 May 2020 00:59:03 GMT expires: - '-1' pragma: @@ -5506,7 +5709,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -5524,8 +5727,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - iothubdeviceclient/2016-11-14 Azure-SDK-For-Python + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 iothubdeviceclient/2016-11-14 + Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -5533,18 +5736,20 @@ interactions: response: body: string: '{"Message":"ErrorCode:JobNotFound;NotFound","ExceptionMessage":"Tracking - ID:2b0cc54a1b1248f1a18969f794c94226-G:5-TimeStamp:04/13/2020 16:20:24"}' + ID:039f0a1022aa41bfac9b4d18eac9202b-G:18-TimeStamp:05/15/2020 00:59:04"}' headers: content-length: - - '144' + - '145' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:24 GMT + - Fri, 15 May 2020 00:59:03 GMT iothub-errorcode: - JobNotFound server: - Microsoft-HTTPAPI/2.0 + vary: + - Origin status: code: 404 message: Not Found @@ -5562,25 +5767,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:23 GMT + - Fri, 15 May 2020 00:59:05 GMT expires: - '-1' pragma: @@ -5612,12 +5830,12 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/quotaMetrics?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/quotaMetrics?api-version=2020-03-01 response: body: string: '{"value":[{"name":"TotalMessages","currentValue":0,"maxValue":400000},{"name":"TotalDeviceCount","currentValue":0,"maxValue":1000000}]}' @@ -5629,7 +5847,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:24 GMT + - Fri, 15 May 2020 00:59:06 GMT expires: - '-1' pragma: @@ -5661,25 +5879,38 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli","name":"identity-test-hub-cli","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk","etag":"AAAAAA2lGKY=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identity-test-hub-cli.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub-cli","endpoint":"sb://iothub-ns-identity-t-3439908-0dda58b1a3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"521aa7ff-bf36-47c3-aa66-c7151fb0e384","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest6jwecvrakccowvse4;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv36df67ldot5aznnjancizkzpbhz37sihbibtiqh42gwcwdyt4cecq7dru4gw3gmk/providers/Microsoft.Devices/IotHubs/identity-test-hub-cli/PrivateEndpointConnections/identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","name":"identity-test-hub-cli.02981d14-3a96-4040-a025-e3dc907dbeee","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"2d4fe89c-72c9-4447-9a19-439de479e5a7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}}]}' headers: cache-control: - no-cache content-length: - - '1815' + - '26781' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:25 GMT + - Fri, 15 May 2020 00:59:06 GMT expires: - '-1' pragma: @@ -5711,12 +5942,12 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubStats?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/IotHubStats?api-version=2020-03-01 response: body: string: '{"totalDeviceCount":0,"enabledDeviceCount":0,"disabledDeviceCount":0}' @@ -5728,7 +5959,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:25 GMT + - Fri, 15 May 2020 00:59:08 GMT expires: - '-1' pragma: @@ -5760,8 +5991,8 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -5775,7 +6006,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:20:26 GMT + - Fri, 15 May 2020 00:59:08 GMT expires: - '-1' pragma: @@ -5805,12 +6036,12 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -5823,7 +6054,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:26 GMT + - Fri, 15 May 2020 00:59:09 GMT expires: - '-1' pragma: @@ -5839,7 +6070,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -5857,25 +6088,25 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '1803' + - '1865' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:27 GMT + - Fri, 15 May 2020 00:59:09 GMT expires: - '-1' pragma: @@ -5894,11 +6125,11 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI9gY=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lGA0=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest", - "name": "Event1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest", + "name": "Event1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001"}], "storageContainers": []}, "routes": [], "fallbackRoute": {"name": "$fallback", "source": "DeviceMessages", "condition": "true", "endpointNames": ["events"], "isEnabled": true}}, "storageEndpoints": @@ -5923,27 +6154,27 @@ interactions: Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI9gY=''}' + - '{''IF-MATCH'': ''AAAAAA2lGA0=''}' ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9gY=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:50 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:50 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:50 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:50 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:50 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:50 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:19:50 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:19:50 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGA0=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:58:30 GMT","ModifiedTime":"Fri, 15 May 2020 00:58:30 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:58:30 GMT","ModifiedTime":"Fri, 15 May 2020 00:58:30 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:58:30 GMT","ModifiedTime":"Fri, 15 May 2020 00:58:30 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:58:30 GMT","ModifiedTime":"Fri, 15 May 2020 00:58:30 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhlMTZhNWUtN2VhYS00NGNmLWIwMGYtZTJhY2Y0YjI4OTA0?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDU2OTQwNzItZGE0Yy00N2YxLWE2MjItOTg0MDI3ZjA0MzVh?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -5951,7 +6182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:20:29 GMT + - Fri, 15 May 2020 00:59:11 GMT expires: - '-1' pragma: @@ -5981,10 +6212,10 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZjhlMTZhNWUtN2VhYS00NGNmLWIwMGYtZTJhY2Y0YjI4OTA0?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNDU2OTQwNzItZGE0Yy00N2YxLWE2MjItOTg0MDI3ZjA0MzVh?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -5996,7 +6227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:00 GMT + - Fri, 15 May 2020 00:59:42 GMT expires: - '-1' pragma: @@ -6028,23 +6259,23 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2206' + - '2268' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:01 GMT + - Fri, 15 May 2020 00:59:42 GMT expires: - '-1' pragma: @@ -6076,8 +6307,8 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -6091,7 +6322,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:21:02 GMT + - Fri, 15 May 2020 00:59:43 GMT expires: - '-1' pragma: @@ -6121,12 +6352,12 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -6139,7 +6370,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:03 GMT + - Fri, 15 May 2020 00:59:43 GMT expires: - '-1' pragma: @@ -6155,7 +6386,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -6173,25 +6404,25 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2206' + - '2268' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:03 GMT + - Fri, 15 May 2020 00:59:44 GMT expires: - '-1' pragma: @@ -6223,8 +6454,8 @@ interactions: ParameterSetName: - --hub-name -g -t User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -6238,7 +6469,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:21:04 GMT + - Fri, 15 May 2020 00:59:44 GMT expires: - '-1' pragma: @@ -6268,12 +6499,12 @@ interactions: ParameterSetName: - --hub-name -g -t User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -6286,7 +6517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:03 GMT + - Fri, 15 May 2020 00:59:45 GMT expires: - '-1' pragma: @@ -6302,7 +6533,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -6320,25 +6551,25 @@ interactions: ParameterSetName: - --hub-name -g -t User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2206' + - '2268' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:04 GMT + - Fri, 15 May 2020 00:59:46 GMT expires: - '-1' pragma: @@ -6370,8 +6601,8 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -6385,7 +6616,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:21:04 GMT + - Fri, 15 May 2020 00:59:46 GMT expires: - '-1' pragma: @@ -6415,12 +6646,12 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -6433,7 +6664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:05 GMT + - Fri, 15 May 2020 00:59:47 GMT expires: - '-1' pragma: @@ -6467,25 +6698,25 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2206' + - '2268' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:06 GMT + - Fri, 15 May 2020 00:59:47 GMT expires: - '-1' pragma: @@ -6517,8 +6748,8 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -6532,7 +6763,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:21:06 GMT + - Fri, 15 May 2020 00:59:48 GMT expires: - '-1' pragma: @@ -6562,12 +6793,12 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -6580,7 +6811,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:07 GMT + - Fri, 15 May 2020 00:59:47 GMT expires: - '-1' pragma: @@ -6614,25 +6845,25 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2206' + - '2268' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:07 GMT + - Fri, 15 May 2020 00:59:48 GMT expires: - '-1' pragma: @@ -6651,14 +6882,15 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI9sw=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lGVs=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", - "name": "Event1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [{"id": "ee3901af-d107-4720-8ecd-ee6a3b6204a4", + "connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", + "name": "Event1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -6681,31 +6913,31 @@ interactions: Connection: - keep-alive Content-Length: - - '2044' + - '2090' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI9sw=''}' + - '{''IF-MATCH'': ''AAAAAA2lGVs=''}' ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI9sw=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:20:39 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:20:39 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:20:39 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:20:39 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:20:39 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:20:39 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:20:39 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:20:39 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGVs=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 00:59:20 GMT","ModifiedTime":"Fri, 15 May 2020 00:59:20 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 00:59:20 GMT","ModifiedTime":"Fri, 15 May 2020 00:59:20 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:59:20 GMT","ModifiedTime":"Fri, 15 May 2020 00:59:20 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 00:59:20 GMT","ModifiedTime":"Fri, 15 May 2020 00:59:20 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmFmMzJmMWItZTk3Zi00YzQzLThjYTktMWY3MjI4MDQ5NjM4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTk0ZTIyODUtZTRkYy00ZWMwLThlNGQtODVjNTA1NjE4ZTRh?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -6713,7 +6945,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:10 GMT + - Fri, 15 May 2020 00:59:50 GMT expires: - '-1' pragma: @@ -6743,10 +6975,10 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmFmMzJmMWItZTk3Zi00YzQzLThjYTktMWY3MjI4MDQ5NjM4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTk0ZTIyODUtZTRkYy00ZWMwLThlNGQtODVjNTA1NjE4ZTRh?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -6758,7 +6990,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:40 GMT + - Fri, 15 May 2020 01:00:21 GMT expires: - '-1' pragma: @@ -6790,23 +7022,23 @@ interactions: ParameterSetName: - --hub-name -g -n -t -r -s -c --container-name --encoding -b -w User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI934=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGgM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2738' + - '2800' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:41 GMT + - Fri, 15 May 2020 01:00:22 GMT expires: - '-1' pragma: @@ -6838,8 +7070,8 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -6853,7 +7085,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:21:43 GMT + - Fri, 15 May 2020 01:00:22 GMT expires: - '-1' pragma: @@ -6883,12 +7115,12 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -6901,7 +7133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:43 GMT + - Fri, 15 May 2020 01:00:23 GMT expires: - '-1' pragma: @@ -6917,7 +7149,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -6935,25 +7167,25 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI934=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGgM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2738' + - '2800' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:44 GMT + - Fri, 15 May 2020 01:00:23 GMT expires: - '-1' pragma: @@ -6972,14 +7204,15 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI934=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lGgM=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", - "name": "Event1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", - "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [{"id": "ee3901af-d107-4720-8ecd-ee6a3b6204a4", + "connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", + "name": "Event1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", + "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [{"name": @@ -7004,31 +7237,31 @@ interactions: Connection: - keep-alive Content-Length: - - '2075' + - '2167' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI934=''}' + - '{''IF-MATCH'': ''AAAAAA2lGgM=''}' ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI934=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:21:21 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:21:21 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:21:21 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:21:21 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:21:21 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:21:21 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:21:21 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:21:21 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lGgM=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:00:01 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:01 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:00:01 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:01 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:00:01 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:01 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:00:01 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:01 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTYyYjZkYzktYWExNC00ZTZmLTgzNWUtY2Y3OWIyNjhjNjky?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjU3NzJlMTMtYTE3NS00MDVmLTliYWItYWY4YzE3NTRkNDg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -7036,7 +7269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:21:47 GMT + - Fri, 15 May 2020 01:00:26 GMT expires: - '-1' pragma: @@ -7048,7 +7281,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -7066,10 +7299,10 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTYyYjZkYzktYWExNC00ZTZmLTgzNWUtY2Y3OWIyNjhjNjky?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjU3NzJlMTMtYTE3NS00MDVmLTliYWItYWY4YzE3NTRkNDg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -7081,7 +7314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:18 GMT + - Fri, 15 May 2020 01:00:56 GMT expires: - '-1' pragma: @@ -7113,10 +7346,10 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOTYyYjZkYzktYWExNC00ZTZmLTgzNWUtY2Y3OWIyNjhjNjky?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjU3NzJlMTMtYTE3NS00MDVmLTliYWItYWY4YzE3NTRkNDg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -7128,7 +7361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:48 GMT + - Fri, 15 May 2020 01:01:26 GMT expires: - '-1' pragma: @@ -7160,23 +7393,23 @@ interactions: ParameterSetName: - --hub-name -g -n -s --en -c -e User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:48 GMT + - Fri, 15 May 2020 01:01:26 GMT expires: - '-1' pragma: @@ -7208,8 +7441,8 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -7223,7 +7456,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:22:50 GMT + - Fri, 15 May 2020 01:01:28 GMT expires: - '-1' pragma: @@ -7253,12 +7486,12 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -7271,7 +7504,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:50 GMT + - Fri, 15 May 2020 01:01:28 GMT expires: - '-1' pragma: @@ -7287,7 +7520,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -7305,25 +7538,25 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:50 GMT + - Fri, 15 May 2020 01:01:28 GMT expires: - '-1' pragma: @@ -7355,8 +7588,8 @@ interactions: ParameterSetName: - --hub-name -g -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -7370,7 +7603,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:22:58 GMT + - Fri, 15 May 2020 01:01:29 GMT expires: - '-1' pragma: @@ -7400,12 +7633,12 @@ interactions: ParameterSetName: - --hub-name -g -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -7418,7 +7651,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:59 GMT + - Fri, 15 May 2020 01:01:30 GMT expires: - '-1' pragma: @@ -7434,7 +7667,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -7452,25 +7685,25 @@ interactions: ParameterSetName: - --hub-name -g -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:22:59 GMT + - Fri, 15 May 2020 01:01:30 GMT expires: - '-1' pragma: @@ -7502,8 +7735,8 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -7517,7 +7750,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:22:59 GMT + - Fri, 15 May 2020 01:01:30 GMT expires: - '-1' pragma: @@ -7547,12 +7780,12 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -7565,7 +7798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:00 GMT + - Fri, 15 May 2020 01:01:30 GMT expires: - '-1' pragma: @@ -7581,7 +7814,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -7599,25 +7832,25 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:00 GMT + - Fri, 15 May 2020 01:01:30 GMT expires: - '-1' pragma: @@ -7649,8 +7882,8 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -7664,7 +7897,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:23:01 GMT + - Fri, 15 May 2020 01:01:31 GMT expires: - '-1' pragma: @@ -7694,12 +7927,12 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -7712,7 +7945,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:02 GMT + - Fri, 15 May 2020 01:01:32 GMT expires: - '-1' pragma: @@ -7728,7 +7961,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -7746,25 +7979,25 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:02 GMT + - Fri, 15 May 2020 01:01:32 GMT expires: - '-1' pragma: @@ -7801,12 +8034,12 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/routing/routes/$testnew?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/routing/routes/$testnew?api-version=2020-03-01 response: body: string: '{"result":"true"}' @@ -7818,7 +8051,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:03 GMT + - Fri, 15 May 2020 01:01:32 GMT expires: - '-1' pragma: @@ -7834,7 +8067,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -7856,12 +8089,12 @@ interactions: ParameterSetName: - --hub-name -g -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/routing/routes/$testall?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/routing/routes/$testall?api-version=2020-03-01 response: body: string: '{"routes":[{"properties":{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}}]}' @@ -7873,7 +8106,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:04 GMT + - Fri, 15 May 2020 01:01:33 GMT expires: - '-1' pragma: @@ -7889,7 +8122,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -7907,8 +8140,8 @@ interactions: ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -7922,7 +8155,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:23:04 GMT + - Fri, 15 May 2020 01:01:34 GMT expires: - '-1' pragma: @@ -7952,12 +8185,12 @@ interactions: ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -7970,7 +8203,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:04 GMT + - Fri, 15 May 2020 01:01:35 GMT expires: - '-1' pragma: @@ -7986,7 +8219,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -8004,25 +8237,25 @@ interactions: ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2844' + - '2906' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:05 GMT + - Fri, 15 May 2020 01:01:35 GMT expires: - '-1' pragma: @@ -8041,14 +8274,15 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+Tg=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lHcw=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", - "name": "Event1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", - "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [{"id": "ee3901af-d107-4720-8ecd-ee6a3b6204a4", + "connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", + "name": "Event1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", + "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [{"name": @@ -8073,31 +8307,31 @@ interactions: Connection: - keep-alive Content-Length: - - '2077' + - '2169' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+Tg=''}' + - '{''IF-MATCH'': ''AAAAAA2lHcw=''}' ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+Tg=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:22:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:22:46 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:22:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:22:46 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:22:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:22:46 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:22:46 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:22:46 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHcw=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:00:56 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:56 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:00:56 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:56 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:00:56 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:56 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:00:56 GMT","ModifiedTime":"Fri, 15 May 2020 01:00:56 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjQzYThmYzYtZmQwOS00ODMwLTgwOGItZDRlMzQyOGI1N2Y3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGFjMzRhZjAtN2EyYi00YjM2LThmZTAtYjQ4Nzk0M2VmZDU3?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -8105,7 +8339,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:08 GMT + - Fri, 15 May 2020 01:01:39 GMT expires: - '-1' pragma: @@ -8135,10 +8369,10 @@ interactions: ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNjQzYThmYzYtZmQwOS00ODMwLTgwOGItZDRlMzQyOGI1N2Y3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGFjMzRhZjAtN2EyYi00YjM2LThmZTAtYjQ4Nzk0M2VmZDU3?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -8150,7 +8384,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:39 GMT + - Fri, 15 May 2020 01:02:09 GMT expires: - '-1' pragma: @@ -8182,23 +8416,23 @@ interactions: ParameterSetName: - --hub-name -g -n -s User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+fM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHq8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2846' + - '2908' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:39 GMT + - Fri, 15 May 2020 01:02:09 GMT expires: - '-1' pragma: @@ -8230,8 +8464,8 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -8245,7 +8479,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:23:41 GMT + - Fri, 15 May 2020 01:02:10 GMT expires: - '-1' pragma: @@ -8275,12 +8509,12 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -8293,7 +8527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:41 GMT + - Fri, 15 May 2020 01:02:10 GMT expires: - '-1' pragma: @@ -8309,7 +8543,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -8327,25 +8561,25 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+fM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHq8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[{"name":"route1","source":"TwinChangeEvents","condition":"true","endpointNames":["Event1"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2846' + - '2908' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:41 GMT + - Fri, 15 May 2020 01:02:10 GMT expires: - '-1' pragma: @@ -8364,14 +8598,15 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+fM=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lHq8=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [{"connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", - "name": "Event1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", - "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [{"id": "ee3901af-d107-4720-8ecd-ee6a3b6204a4", + "connectionString": "Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest", + "name": "Event1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", + "resourceGroup": "clitest.rg000001"}], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -8394,31 +8629,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1960' + - '2052' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+fM=''}' + - '{''IF-MATCH'': ''AAAAAA2lHq8=''}' ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+fM=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:19 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:19 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:19 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:19 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:19 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:19 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:19 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:19 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=Cq1RMy7xVLNG33sBxtXCBXxb3JcSGZnl38phKJEDx0I=;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lHq8=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:01:50 GMT","ModifiedTime":"Fri, 15 May 2020 01:01:50 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:01:50 GMT","ModifiedTime":"Fri, 15 May 2020 01:01:50 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:01:50 GMT","ModifiedTime":"Fri, 15 May 2020 01:01:50 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:01:50 GMT","ModifiedTime":"Fri, 15 May 2020 01:01:50 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=bcv7SeZM4GgoCDjyW0XeEtZm0gbU/Zy8uQRX0b/cplo=;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGQ4ZTk0OWUtYjZlMS00Y2U4LWJiNjYtNTgxNGEyMjVhMjU3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNzlhOWMxOGMtNjE0OS00MTAzLWJjMGQtYjQ0MjU5MTFmNjg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -8426,7 +8661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:23:44 GMT + - Fri, 15 May 2020 01:02:13 GMT expires: - '-1' pragma: @@ -8438,7 +8673,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -8456,10 +8691,10 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOGQ4ZTk0OWUtYjZlMS00Y2U4LWJiNjYtNTgxNGEyMjVhMjU3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNzlhOWMxOGMtNjE0OS00MTAzLWJjMGQtYjQ0MjU5MTFmNjg5?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -8471,7 +8706,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:15 GMT + - Fri, 15 May 2020 01:02:44 GMT expires: - '-1' pragma: @@ -8503,23 +8738,23 @@ interactions: ParameterSetName: - --hub-name -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+nQ=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH1Y=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2738' + - '2800' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:16 GMT + - Fri, 15 May 2020 01:02:44 GMT expires: - '-1' pragma: @@ -8551,8 +8786,8 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -8566,7 +8801,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:24:17 GMT + - Fri, 15 May 2020 01:02:45 GMT expires: - '-1' pragma: @@ -8596,12 +8831,12 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -8614,7 +8849,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:17 GMT + - Fri, 15 May 2020 01:02:46 GMT expires: - '-1' pragma: @@ -8630,7 +8865,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -8648,25 +8883,25 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+nQ=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"90e1869d-7cd5-4611-8396-7675a26c90ee","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH1Y=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://ehnamespaceiothubfortest1.servicebus.windows.net:5671/;SharedAccessKeyName=eventHubPolicyiothubfortest;SharedAccessKey=****;EntityPath=eventHubiothubfortest","name":"Event1","id":"ee3901af-d107-4720-8ecd-ee6a3b6204a4","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2738' + - '2800' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:18 GMT + - Fri, 15 May 2020 01:02:46 GMT expires: - '-1' pragma: @@ -8685,12 +8920,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+nQ=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lH1Y=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -8713,31 +8948,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1594' + - '1640' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+nQ=''}' + - '{''IF-MATCH'': ''AAAAAA2lH1Y=''}' ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+nQ=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:53 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:53 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:53 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:53 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:53 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:53 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:23:53 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:23:53 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH1Y=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:02:22 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:22 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:02:22 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:22 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:02:22 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:22 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:02:22 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:22 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmMwYWY1ZDctNDI3OS00ZDViLThhNjItZTc0MDllNGRmOTEx?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGFmN2VkZjctNjcxMS00MDk5LWE0MWYtZjVlYjJhNDgwNDQ1?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -8745,7 +8980,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:20 GMT + - Fri, 15 May 2020 01:02:49 GMT expires: - '-1' pragma: @@ -8757,7 +8992,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -8775,10 +9010,10 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmMwYWY1ZDctNDI3OS00ZDViLThhNjItZTc0MDllNGRmOTEx?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGFmN2VkZjctNjcxMS00MDk5LWE0MWYtZjVlYjJhNDgwNDQ1?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -8790,7 +9025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:51 GMT + - Fri, 15 May 2020 01:03:19 GMT expires: - '-1' pragma: @@ -8822,118 +9057,23 @@ interactions: ParameterSetName: - --hub-name -g -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+uM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '2335' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 13 Apr 2020 16:24: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub devicestream show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 - accept-language: - - en-US - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 13 Apr 2020 16:24:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 204 - message: No Content -- request: - body: '{"name": "iot-hub-for-test-11"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub devicestream show - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name - ''iot-hub-for-test-11'' is not available"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH9g=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2397' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:53 GMT + - Fri, 15 May 2020 01:03:19 GMT expires: - '-1' pragma: @@ -8948,8 +9088,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' status: code: 200 message: OK @@ -8967,16 +9105,16 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+uM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH9g=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache @@ -8985,7 +9123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:54 GMT + - Fri, 15 May 2020 01:03:20 GMT expires: - '-1' pragma: @@ -9017,8 +9155,8 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -9032,7 +9170,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:24:55 GMT + - Fri, 15 May 2020 01:03:20 GMT expires: - '-1' pragma: @@ -9062,12 +9200,12 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -9080,7 +9218,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:55 GMT + - Fri, 15 May 2020 01:03:21 GMT expires: - '-1' pragma: @@ -9114,25 +9252,25 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+uM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH9g=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2335' + - '2397' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:56 GMT + - Fri, 15 May 2020 01:03:21 GMT expires: - '-1' pragma: @@ -9151,12 +9289,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+uM=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lH9g=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -9180,26 +9318,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1691' + - '1737' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+uM=''}' + - '{''IF-MATCH'': ''AAAAAA2lH9g=''}' ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: '{"code":400131,"httpStatusCode":"BadRequest","message":"Enrichment has an undefined endpoint, Enrichment Key:key, EndpointName:fake_endpoint. If you contact a support representative please include this correlation identifier: - 55548492-63de-44be-82ab-99a553b443f6, timestamp: 2020-04-13 16:24:58Z, errorcode: + 7cd360a8-13c7-4359-a731-5b2720c7cc93, timestamp: 2020-05-15 01:03:23Z, errorcode: IH400131."}' headers: cache-control: @@ -9209,7 +9347,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:57 GMT + - Fri, 15 May 2020 01:03:23 GMT expires: - '-1' pragma: @@ -9239,8 +9377,8 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -9254,7 +9392,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:24:59 GMT + - Fri, 15 May 2020 01:03:23 GMT expires: - '-1' pragma: @@ -9284,12 +9422,12 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -9302,7 +9440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:59 GMT + - Fri, 15 May 2020 01:03:24 GMT expires: - '-1' pragma: @@ -9318,7 +9456,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -9336,25 +9474,25 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+uM=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH9g=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2335' + - '2397' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:24:59 GMT + - Fri, 15 May 2020 01:03:24 GMT expires: - '-1' pragma: @@ -9373,12 +9511,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+uM=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lH9g=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -9402,31 +9540,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1674' + - '1720' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+uM=''}' + - '{''IF-MATCH'': ''AAAAAA2lH9g=''}' ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+uM=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:24:30 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:24:30 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:24:30 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:24:30 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:24:30 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:24:30 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:24:30 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:24:30 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lH9g=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:02:59 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:59 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:02:59 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:59 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:02:59 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:59 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:02:59 GMT","ModifiedTime":"Fri, 15 May 2020 01:02:59 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzNiNGVhZTctNTM2OS00ODg1LTk1MzgtYWY5NjU2NWRlNDQ5?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOWMzYmU4ODEtNWQ0Yi00YjQwLTkzYTItNWYxMzc2YTI2ZDQ3?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -9434,7 +9572,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:02 GMT + - Fri, 15 May 2020 01:03:27 GMT expires: - '-1' pragma: @@ -9446,7 +9584,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 201 message: Created @@ -9464,10 +9602,10 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMzNiNGVhZTctNTM2OS00ODg1LTk1MzgtYWY5NjU2NWRlNDQ5?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfOWMzYmU4ODEtNWQ0Yi00YjQwLTkzYTItNWYxMzc2YTI2ZDQ3?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -9479,7 +9617,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:33 GMT + - Fri, 15 May 2020 01:03:58 GMT expires: - '-1' pragma: @@ -9511,23 +9649,23 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+8I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIGk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:33 GMT + - Fri, 15 May 2020 01:03:58 GMT expires: - '-1' pragma: @@ -9559,8 +9697,8 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -9574,7 +9712,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:25:35 GMT + - Fri, 15 May 2020 01:03:59 GMT expires: - '-1' pragma: @@ -9604,12 +9742,12 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -9622,7 +9760,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:35 GMT + - Fri, 15 May 2020 01:03:59 GMT expires: - '-1' pragma: @@ -9638,7 +9776,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -9656,25 +9794,25 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+8I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIGk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:36 GMT + - Fri, 15 May 2020 01:03:59 GMT expires: - '-1' pragma: @@ -9706,8 +9844,8 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -9721,7 +9859,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:25:36 GMT + - Fri, 15 May 2020 01:04:01 GMT expires: - '-1' pragma: @@ -9751,12 +9889,12 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -9769,7 +9907,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:37 GMT + - Fri, 15 May 2020 01:04:00 GMT expires: - '-1' pragma: @@ -9803,25 +9941,25 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+8I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIGk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:38 GMT + - Fri, 15 May 2020 01:04:01 GMT expires: - '-1' pragma: @@ -9840,12 +9978,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+8I=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lIGk=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -9869,26 +10007,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1691' + - '1737' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+8I=''}' + - '{''IF-MATCH'': ''AAAAAA2lIGk=''}' ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: '{"code":400131,"httpStatusCode":"BadRequest","message":"Enrichment has an undefined endpoint, Enrichment Key:key, EndpointName:fake_endpoint. If you contact a support representative please include this correlation identifier: - 09485cf4-a219-41a4-8d8d-a5f7ae275e4a, timestamp: 2020-04-13 16:25:40Z, errorcode: + eb37c2d0-2446-4307-813f-14c3036cf647, timestamp: 2020-05-15 01:04:03Z, errorcode: IH400131."}' headers: cache-control: @@ -9898,7 +10036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:40 GMT + - Fri, 15 May 2020 01:04:02 GMT expires: - '-1' pragma: @@ -9910,7 +10048,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4998' status: code: 400 message: Bad Request @@ -9928,8 +10066,8 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -9943,7 +10081,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:25:40 GMT + - Fri, 15 May 2020 01:04:03 GMT expires: - '-1' pragma: @@ -9973,12 +10111,12 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -9991,7 +10129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:40 GMT + - Fri, 15 May 2020 01:04:03 GMT expires: - '-1' pragma: @@ -10007,7 +10145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -10025,25 +10163,25 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+8I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIGk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:42 GMT + - Fri, 15 May 2020 01:04:04 GMT expires: - '-1' pragma: @@ -10062,12 +10200,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI+8I=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lIGk=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -10091,31 +10229,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1674' + - '1720' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI+8I=''}' + - '{''IF-MATCH'': ''AAAAAA2lIGk=''}' ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI+8I=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:13 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:13 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:13 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:13 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:13 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:13 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:13 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:13 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIGk=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:03:38 GMT","ModifiedTime":"Fri, 15 May 2020 01:03:38 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:03:38 GMT","ModifiedTime":"Fri, 15 May 2020 01:03:38 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:03:38 GMT","ModifiedTime":"Fri, 15 May 2020 01:03:38 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:03:38 GMT","ModifiedTime":"Fri, 15 May 2020 01:03:38 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjUxM2NkYjktYzM1NS00NjNiLWE4NTMtYWY0ZDk3ZjViMDdk?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZWNmNjc3OGMtMmU3Mi00M2I5LThjMTQtOThiNjUyZDNhZmI4?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -10123,7 +10261,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:25:45 GMT + - Fri, 15 May 2020 01:04:07 GMT expires: - '-1' pragma: @@ -10135,7 +10273,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4997' status: code: 201 message: Created @@ -10153,10 +10291,10 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjUxM2NkYjktYzM1NS00NjNiLWE4NTMtYWY0ZDk3ZjViMDdk?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfZWNmNjc3OGMtMmU3Mi00M2I5LThjMTQtOThiNjUyZDNhZmI4?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -10168,7 +10306,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:15 GMT + - Fri, 15 May 2020 01:04:37 GMT expires: - '-1' pragma: @@ -10200,23 +10338,23 @@ interactions: ParameterSetName: - -n -g --key --value --endpoints User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/GU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIQ8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:16 GMT + - Fri, 15 May 2020 01:04:37 GMT expires: - '-1' pragma: @@ -10248,8 +10386,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -10263,7 +10401,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:26:18 GMT + - Fri, 15 May 2020 01:04:38 GMT expires: - '-1' pragma: @@ -10293,12 +10431,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -10311,7 +10449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:17 GMT + - Fri, 15 May 2020 01:04:39 GMT expires: - '-1' pragma: @@ -10327,7 +10465,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -10345,25 +10483,25 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/GU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIQ8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:18 GMT + - Fri, 15 May 2020 01:04:39 GMT expires: - '-1' pragma: @@ -10395,8 +10533,8 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -10410,7 +10548,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:26:19 GMT + - Fri, 15 May 2020 01:04:40 GMT expires: - '-1' pragma: @@ -10440,12 +10578,12 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -10458,7 +10596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:19 GMT + - Fri, 15 May 2020 01:04:40 GMT expires: - '-1' pragma: @@ -10492,25 +10630,25 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/GU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIQ8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:19 GMT + - Fri, 15 May 2020 01:04:41 GMT expires: - '-1' pragma: @@ -10542,8 +10680,8 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -10557,7 +10695,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:26:20 GMT + - Fri, 15 May 2020 01:04:41 GMT expires: - '-1' pragma: @@ -10587,12 +10725,12 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -10605,7 +10743,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:20 GMT + - Fri, 15 May 2020 01:04:42 GMT expires: - '-1' pragma: @@ -10621,7 +10759,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 200 message: OK @@ -10639,25 +10777,25 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/GU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIQ8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[{"key":"key","value":"value","endpointNames":["events"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2408' + - '2470' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:21 GMT + - Fri, 15 May 2020 01:04:42 GMT expires: - '-1' pragma: @@ -10676,12 +10814,12 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAAzI/GU=", "properties": + body: 'b''b\''{"location": "westus2", "tags": {}, "etag": "AAAAAA2lIQ8=", "properties": {"ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 4, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], - "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"connectionString": - "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", - "name": "Storage1", "subscriptionId": "820b737c-cdd7-46bf-9ead-f144ba6e9d1e", + "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "06ed7708-848a-4876-8692-fe02651ff073", + "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****", + "name": "Storage1", "subscriptionId": "a386d5ea-ea90-441a-8263-d816368c84a1", "resourceGroup": "clitest.rg000001", "containerName": "iothubcontainer1", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}", "batchFrequencyInSeconds": 100, "maxChunkSizeInBytes": 157286400, "encoding": "avro"}]}, "routes": [], @@ -10705,31 +10843,31 @@ interactions: Connection: - keep-alive Content-Length: - - '1613' + - '1659' Content-Type: - application/json; charset=utf-8 If-Match: - - '{''IF-MATCH'': ''AAAAAAzI/GU=''}' + - '{''IF-MATCH'': ''AAAAAA2lIQ8=''}' ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/GU=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","secondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","secondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"UvtKOEuGYeWhS+lK8WcknuGVPKqU0yi8BzVgK0XoxQI=","secondaryKey":"28QK0aZGZN/KyPT48EICDDPWoKgNnHJGuDHTTiWv9+4=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"A0noCIqFcXilkT1M9CJRpQNNiwtXnhhM9g5YpoKxdz0=","secondaryKey":"45LFfaaWi2XOvXJ6xYJCgm13SVeZ/4tSy0+D1ebdprs=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"H5shPj5WwkyKD1DmnIWnYvQF4RvEcNbK8mWqi/YMYpY=","secondaryKey":"JXqr2cguFFSfQP5xzCVbFZnLZKVEGJPUO5r7HIgUH9c=","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-feb68079-19b7-4e12-b9e6-83a926c437b1-iothub","PrimaryKey":"SFwYHKR5+p9adpHhGrKa4JJjh6vvTvnBMEM5R07oh4E=","SecondaryKey":"76sTAqda2Wm62VgtUSYlpr7rZFnIwiPoS397X9N4aKQ=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:54 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:54 GMT"},{"KeyName":"owner-a739bef6-2cba-4b28-9f3c-d35427d108c2-iothub","PrimaryKey":"D1xabckUPpM2YdUOm/vi+tYI/7L8uJFbPfJbozE5Ugg=","SecondaryKey":"C+OV7ESJG5SRFHfGMGeC/uSbdRb0QDtrRCre/G/sbZ4=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:54 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:54 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","PrimaryKey":"bNDXi5KalzsDEJVWuvI1JWMGpdfnZQ1EmcLb0nV4Jxs=","SecondaryKey":"hNHcXiuniNsT+4/dwnbWG2jATx4Vlt6nLyvI7JfTn28=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:54 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:54 GMT"},{"KeyName":"service","PrimaryKey":"gPpK4kLMKJOYwPBWRwr8MCRCG2hHYoi2JpoqK6tJ9XM=","SecondaryKey":"t7QzIfdyUrZSuPpNZl58s24rHFcBLjJfBnbOKLdW0mA=","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Mon, - 13 Apr 2020 16:25:54 GMT","ModifiedTime":"Mon, 13 Apr 2020 16:25:54 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIQ8=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite"}],"ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11-operationmonitoring","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/","internalAuthorizationPolicies":[{"KeyName":"scaleunitsend-a2190042-d21d-4809-b8ad-9703749e9e95-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Send"],"CreatedTime":"Fri, + 15 May 2020 01:04:17 GMT","ModifiedTime":"Fri, 15 May 2020 01:04:17 GMT"},{"KeyName":"owner-4127e1fc-d9f2-469c-b282-d08f9101be4d-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 15 May 2020 01:04:17 GMT","ModifiedTime":"Fri, 15 May 2020 01:04:17 GMT"}],"authorizationPolicies":[{"KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:04:17 GMT","ModifiedTime":"Fri, 15 May 2020 01:04:17 GMT"},{"KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","ClaimType":"SharedAccessKey","ClaimValue":"None","Rights":["Listen"],"CreatedTime":"Fri, + 15 May 2020 01:04:17 GMT","ModifiedTime":"Fri, 15 May 2020 01:04:17 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=veryFakedStorageAccountKey==","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmU0YTg3NzktMmUxMS00ZGEwLTlhY2QtNjc5ZWM0MmUwNTY3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMDliMDI1MjEtMWNjOS00OTFhLWEyNzItNDE2MjI0ZjkzMTMz?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -10737,7 +10875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:24 GMT + - Fri, 15 May 2020 01:04:45 GMT expires: - '-1' pragma: @@ -10749,7 +10887,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '4999' + - '4997' status: code: 201 message: Created @@ -10767,10 +10905,10 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNmU0YTg3NzktMmUxMS00ZGEwLTlhY2QtNjc5ZWM0MmUwNTY3?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMDliMDI1MjEtMWNjOS00OTFhLWEyNzItNDE2MjI0ZjkzMTMz?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -10782,7 +10920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:55 GMT + - Fri, 15 May 2020 01:05:15 GMT expires: - '-1' pragma: @@ -10814,23 +10952,23 @@ interactions: ParameterSetName: - -n -g --key User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/Qo=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIcg=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2352' + - '2414' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:55 GMT + - Fri, 15 May 2020 01:05:15 GMT expires: - '-1' pragma: @@ -10862,8 +11000,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -10877,7 +11015,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:26:57 GMT + - Fri, 15 May 2020 01:05:16 GMT expires: - '-1' pragma: @@ -10907,12 +11045,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -10925,7 +11063,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:57 GMT + - Fri, 15 May 2020 01:05:16 GMT expires: - '-1' pragma: @@ -10941,7 +11079,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -10959,25 +11097,25 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzI/Qo=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-4208d3f193.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lIcg=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-262ab05337.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2352' + - '2414' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:58 GMT + - Fri, 15 May 2020 01:05:17 GMT expires: - '-1' pragma: @@ -11013,18 +11151,18 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/failover?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11/failover?api-version=2020-03-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -11032,11 +11170,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:26:59 GMT + - Fri, 15 May 2020 01:05:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih pragma: - no-cache server: @@ -11046,7 +11184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 202 message: Accepted @@ -11064,10 +11202,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11079,7 +11217,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:27:15 GMT + - Fri, 15 May 2020 01:05:33 GMT expires: - '-1' pragma: @@ -11111,10 +11249,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11126,7 +11264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:27:46 GMT + - Fri, 15 May 2020 01:06:04 GMT expires: - '-1' pragma: @@ -11158,10 +11296,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11173,7 +11311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:28:16 GMT + - Fri, 15 May 2020 01:06:34 GMT expires: - '-1' pragma: @@ -11205,10 +11343,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11220,7 +11358,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:28:46 GMT + - Fri, 15 May 2020 01:07:04 GMT expires: - '-1' pragma: @@ -11252,10 +11390,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11267,7 +11405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:29:17 GMT + - Fri, 15 May 2020 01:07:34 GMT expires: - '-1' pragma: @@ -11299,10 +11437,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11314,7 +11452,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:29:46 GMT + - Fri, 15 May 2020 01:08:05 GMT expires: - '-1' pragma: @@ -11346,10 +11484,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11361,7 +11499,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:30:17 GMT + - Fri, 15 May 2020 01:08:35 GMT expires: - '-1' pragma: @@ -11393,10 +11531,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11408,7 +11546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:30:47 GMT + - Fri, 15 May 2020 01:09:05 GMT expires: - '-1' pragma: @@ -11440,10 +11578,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11455,7 +11593,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:31:18 GMT + - Fri, 15 May 2020 01:09:35 GMT expires: - '-1' pragma: @@ -11487,10 +11625,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11502,7 +11640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:31:48 GMT + - Fri, 15 May 2020 01:10:06 GMT expires: - '-1' pragma: @@ -11534,10 +11672,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11549,7 +11687,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:32:18 GMT + - Fri, 15 May 2020 01:10:36 GMT expires: - '-1' pragma: @@ -11581,10 +11719,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11596,7 +11734,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:32:48 GMT + - Fri, 15 May 2020 01:11:06 GMT expires: - '-1' pragma: @@ -11628,10 +11766,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11643,7 +11781,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:33:19 GMT + - Fri, 15 May 2020 01:11:36 GMT expires: - '-1' pragma: @@ -11675,10 +11813,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11690,7 +11828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:33:49 GMT + - Fri, 15 May 2020 01:12:09 GMT expires: - '-1' pragma: @@ -11722,10 +11860,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11737,7 +11875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:34:19 GMT + - Fri, 15 May 2020 01:12:38 GMT expires: - '-1' pragma: @@ -11769,10 +11907,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11784,7 +11922,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:34:49 GMT + - Fri, 15 May 2020 01:13:08 GMT expires: - '-1' pragma: @@ -11816,10 +11954,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Running"}' @@ -11831,7 +11969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:20 GMT + - Fri, 15 May 2020 01:13:38 GMT expires: - '-1' pragma: @@ -11863,10 +12001,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfNGM3NTk2MWYtNTc4ZS00YzVmLWE5ZTYtYzc4Y2JkMWUyYmFi?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfY2UzYTg3OTYtNzA5OC00Nzc4LThlZjUtN2EwMzZhNzdkYTlj?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -11878,7 +12016,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:50 GMT + - Fri, 15 May 2020 01:14:09 GMT expires: - '-1' pragma: @@ -11910,8 +12048,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: HEAD @@ -11925,7 +12063,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Apr 2020 16:35:51 GMT + - Fri, 15 May 2020 01:14:10 GMT expires: - '-1' pragma: @@ -11955,12 +12093,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkNameAvailability?api-version=2020-03-01 response: body: string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name @@ -11973,7 +12111,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:52 GMT + - Fri, 15 May 2020 01:14:10 GMT expires: - '-1' pragma: @@ -11989,7 +12127,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -12007,25 +12145,25 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJBr4=","properties":{"locations":[{"location":"West - Central US","role":"primary"},{"location":"West US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-6782547b10.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lLBc=","properties":{"locations":[{"location":"West + Central US","role":"primary"},{"location":"West US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-1962560949.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2352' + - '2414' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:52 GMT + - Fri, 15 May 2020 01:14:10 GMT expires: - '-1' pragma: @@ -12057,25 +12195,37 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2020-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourcegroup":"clitest.rg000001","etag":"AAAAAAzJBr4=","properties":{"locations":[{"location":"West - Central US","role":"primary"},{"location":"West US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3245255-6782547b10.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"cd53b98e-d5a7-4217-a358-244010881259","subscriptionId":"820b737c-cdd7-46bf-9ead-f144ba6e9d1e","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/TestIotExt1","name":"TestIotExt1","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy1yMw=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"TestIotExt1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testiotext1","endpoint":"sb://iothub-ns-testiotext-2312279-f90eed5388.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunHub","name":"PaymaunHub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAyn6+4=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymaunhub","endpoint":"sb://iothub-ns-paymaunhub-2363588-460f33d1a4.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=testiotextstor0;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Testing_Houman/providers/Microsoft.Devices/IotHubs/testHP","name":"testHP","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"Testing_Houman","etag":"AAAAAAytYhQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"testHP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"testhp","endpoint":"sb://iothub-ns-testhp-2634624-42af86f47d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/ProHub","name":"ProHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAA2b4ws=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ProHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"prohub","endpoint":"sb://iothub-ns-prohub-2773227-3cde9e3ef9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-int","name":"upx-adu-int","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAAywRXU=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-int.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-int","endpoint":"sb://iothub-ns-upx-adu-in-3020691-340db736ec.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/upx-adu-prod","name":"upx-adu-prod","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAAAA2SezE=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"upx-adu-prod.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"upx-adu-prod","endpoint":"sb://iothub-ns-upx-adu-pr-3020700-04500165c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTest","name":"PartitionTest","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAy2qjI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTest.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontest","endpoint":"sb://iothub-ns-partitiont-3040621-f2570be7f9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iotupxhubwithidentity","name":"iotupxhubwithidentity","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAAAA00K5Q=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iotupxhubwithidentity.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iotupxhubwithidentity","endpoint":"sb://iothub-ns-iotupxhubw-3077075-18eb7054c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rkiotsb.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_iliesrg;SharedAccessKey=****;EntityPath=rkiotsbqueue","authenticationType":"keyBased","name":"queue1","id":"3faf851a-e0ac-4954-b064-e77607171cf3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"containerblob"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"8dcce251-575b-4693-8091-a6a25fdaca10","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub","name":"rk-identity-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA2f/vc=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"0.0.0.1"},{"filterName":"test1","action":"Reject","ipMask":"0.0.0.1"}],"hostName":"rk-identity-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-identity-hub","endpoint":"sb://iothub-ns-rk-identit-3174359-de82e52e4d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rk-private-endpoint2"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-identity-hub/PrivateEndpointConnections/rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","name":"rk-identity-hub.7355e244-e2ce-45ea-b458-9620aa888431","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0b169c39-3253-4dab-88db-f7ab702e0f6f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PartitionTestHub","name":"PartitionTestHub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAAAAz1sW4=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PartitionTestHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"partitiontesthub","endpoint":"sb://iothub-ns-partitiont-3285274-2bfad219d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/iot-identity-enabled-hub","name":"iot-identity-enabled-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAAAA0LW90=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-identity-enabled-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-identity-enabled-hub","endpoint":"sb://iothub-ns-iot-identi-3304820-0ed4338aeb.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestbpawuh6dhmy2dgdf5;AccountKey=****","containerName":"","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"71f8b537-2ec1-4b5e-a6e5-48d4c5c3df79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub","name":"identity-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2","etag":"AAAAAA2k4Dk=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Deleting","provisioningState":"Deleting","ipFilterRules":[],"hostName":"identity-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identity-test-hub","endpoint":"sb://iothub-ns-identity-t-3439680-7c2b8e5f0c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"eh://test","entityPath":"entity","authenticationType":"identityBased","name":"EventHubIdentityEndpoint","id":"64b30e87-8f52-43ba-bcaa-c6e91dce327b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitestg5sybct6sfzppqhr2;AccountKey=****","containerName":"iothubcontainer1","authenticationType":"identityBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeqjglyarw4z6orjmpkcueroc6njp6ipmxshfm6fhlqxchs5g7kif6obvsjkjsxmk2/providers/Microsoft.Devices/IotHubs/identity-test-hub/PrivateEndpointConnections/identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","name":"identity-test-hub.e78c6ef6-5ec4-4527-ae74-6c386474d808","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":"0ef29db2-69ec-4c1c-a6e8-c7f66d5cbdd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11","name":"iot-hub-for-test-11","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAAAA2lLBc=","properties":{"locations":[{"location":"West + Central US","role":"primary"},{"location":"West US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-hub-for-test-11.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11","endpoint":"sb://iothub-ns-iot-hub-fo-3439906-1962560949.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":157286400,"encoding":"avro","name":"Storage1","id":"06ed7708-848a-4876-8692-fe02651ff073","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"clitest.rg000001"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT3H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=clitest000002;AccountKey=****","containerName":"iothubcontainer1"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"principalId":null,"tenantId":null,"type":"None"}}]}' headers: cache-control: - no-cache content-length: - - '2364' + - '24173' content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:53 GMT + - Fri, 15 May 2020 01:14:11 GMT expires: - '-1' pragma: @@ -12109,18 +12259,18 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2019-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11?api-version=2020-03-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWI4MDU4OGYtY2U5Yy00YTJkLTllNjUtM2UzNzc5MGMwMzUx?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfODhlYmVhYmQtZjM1ZC00Njg5LTlmZTQtNTM1N2JlYjlmNWQ4?api-version=2020-03-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: @@ -12128,11 +12278,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:35:54 GMT + - Fri, 15 May 2020 01:14:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWI4MDU4OGYtY2U5Yy00YTJkLTllNjUtM2UzNzc5MGMwMzUx?api-version=2019-07-01-preview&operationSource=os_ih + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfODhlYmVhYmQtZjM1ZC00Njg5LTlmZTQtNTM1N2JlYjlmNWQ4?api-version=2020-03-01&operationSource=os_ih pragma: - no-cache server: @@ -12160,10 +12310,10 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.6 (Windows-10-10.0.18362-SP0) msrest/0.6.13 msrest_azure/0.6.3 - azure-mgmt-iothub/0.11.0 Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.2 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-iothub/0.12.0 + Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMWI4MDU4OGYtY2U5Yy00YTJkLTllNjUtM2UzNzc5MGMwMzUx?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfODhlYmVhYmQtZjM1ZC00Njg5LTlmZTQtNTM1N2JlYjlmNWQ4?api-version=2020-03-01&operationSource=os_ih&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -12175,7 +12325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Apr 2020 16:36:10 GMT + - Fri, 15 May 2020 01:14:28 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_commands.py b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_commands.py index 54e9ef7659d..a350d3cdd0e 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_commands.py +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_commands.py @@ -6,10 +6,16 @@ from azure.cli.testsdk import ResourceGroupPreparer, ScenarioTest, StorageAccountPreparer from azure_devtools.scenario_tests import AllowLargeResponse +from .recording_processors import KeyReplacer class IoTHubTest(ScenarioTest): + def __init__(self, method_name): + super(IoTHubTest, self).__init__( + method_name, recording_processors=[KeyReplacer()] + ) + @AllowLargeResponse() @ResourceGroupPreparer(location='westus2') @StorageAccountPreparer() @@ -395,6 +401,131 @@ def test_iot_hub(self, resource_group, resource_group_location, storage_account) # Test 'az iot hub delete' self.cmd('iot hub delete -n {0}'.format(hub), checks=self.is_empty()) + @AllowLargeResponse() + @ResourceGroupPreparer(location='westus2') + @StorageAccountPreparer() + def test_identity_hub(self, resource_group, resource_group_location, storage_account): + # Test IoT Hub create with identity + subscription_id = self._get_current_subscription() + rg = resource_group + location = resource_group_location + + private_endpoint_type = 'Microsoft.Devices/IoTHubs' + identity_hub = 'identity-test-hub-cli' + identity_based_auth = 'identityBased' + event_hub_identity_endpoint_name = 'EventHubIdentityEndpoint' + + containerName = 'iothubcontainer1' + storageConnectionString = self._get_azurestorage_connectionstring(rg, containerName, storage_account) + endpoint_name = 'Event1' + endpoint_type = 'EventHub' + eventhub_endpoint_uri = 'eh://test' + storage_cs_pattern = 'DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=' + entity_path = 'entity' + + # identity hub creation + import os + templateFile = os.path.join(os.path.dirname(os.path.abspath(__file__)), os.path.pardir, 'templates', 'identity.json') + self.cmd('deployment group create --name {0} -g {1} --template-file "{2}" --parameters name={3} --parameters location={4}' + .format("identity-hub-deployment", resource_group, templateFile, identity_hub, location)) + self.cmd('iot hub show --name {0}'.format(identity_hub), checks=[ + self.check('properties.minTlsVersion', '1.2'), + self.check('identity.type', 'SystemAssigned')]) + + # Test 'az iot hub update' with Identity-based fileUpload + updated_hub = self.cmd('iot hub update -n {0} --fsa {1} --fcs {2} --fc {3} --fn true --fnt 32 --fnd 80 --rd 4 ' + '--ct 34 --cdd 46 --ft 43 --fld 10 --fd 76' + .format(identity_hub, identity_based_auth, storageConnectionString, containerName)).get_output_in_json() + assert updated_hub['properties']['storageEndpoints']['$default']['authenticationType'] == identity_based_auth + assert storage_cs_pattern in updated_hub['properties']['storageEndpoints']['$default']['connectionString'] + # TODO - implement file upload container URI instead of connectionString once implemented in service + + # Test 'az iot hub routing-endpoint create' with Identity-based event hub endpoint + self.cmd('iot hub routing-endpoint create --hub-name {0} -g {1} -n {2} -t {3} -r {4} -s {5} --auth-type {6} --endpoint-uri {7} --entity-path {8}' + .format(identity_hub, rg, event_hub_identity_endpoint_name, endpoint_type, rg, subscription_id, identity_based_auth, eventhub_endpoint_uri, entity_path), + checks=[self.check('length(eventHubs[*])', 1), + self.check('eventHubs[0].resourceGroup', rg), + self.check('eventHubs[0].name', event_hub_identity_endpoint_name), + self.check('eventHubs[0].authenticationType', identity_based_auth), + self.check('eventHubs[0].connectionString', None), + self.check('eventHubs[0].endpointUri', eventhub_endpoint_uri), + self.check('eventHubs[0].entityPath', entity_path), + self.check('length(serviceBusQueues[*])', 0), + self.check('length(serviceBusTopics[*])', 0), + self.check('length(storageContainers[*])', 0)]) + + vnet = 'test-iot-vnet' + subnet = 'subnet1' + endpoint_name = 'iot-private-endpoint' + connection_name = 'iot-private-endpoint-connection' + + # Test private endpoints + # Prepare network + self.cmd('network vnet create -n {0} -g {1} -l {2} --subnet-name {3}' + .format(vnet, rg, location, subnet), + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {0} --vnet-name {1} -g {2} ' + '--disable-private-endpoint-network-policies true' + .format(subnet, vnet, rg), + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pr = self.cmd('network private-link-resource list --type {0} -n {1} -g {2}' + .format(private_endpoint_type, identity_hub, rg)).get_output_in_json() + group_id = pr[0]['properties']['groupId'] + + hub = self.cmd('iot hub show -n {0} -g {1}'.format(identity_hub, rg)).get_output_in_json() + hub_id = hub['id'] + + private_endpoint = self.cmd( + 'network private-endpoint create -g {0} -n {1} --vnet-name {2} --subnet {3} -l {4} ' + '--connection-name {5} --private-connection-resource-id {6} --group-ids {7}' + .format(rg, endpoint_name, vnet, subnet, location, connection_name, hub_id, group_id) + ).get_output_in_json() + + self.assertEqual(private_endpoint['name'], endpoint_name) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], connection_name) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], group_id) + + hub = self.cmd('iot hub show -n {0} -g {1}'.format(identity_hub, rg)).get_output_in_json() + endpoint_id = hub['properties']['privateEndpointConnections'][0]['id'] + private_endpoint_name = hub['properties']['privateEndpointConnections'][0]['name'] + + # endpoint list + self.cmd('network private-endpoint-connection list --type {0} -n {1} -g {2}' + .format(private_endpoint_type, identity_hub, rg), + checks=[self.check('length(@)', 1), + self.check('[0].id', endpoint_id), + self.check('[0].name', private_endpoint_name)]) + + # endpoint connection approve by name + approve_desc = 'Approving endpoint connection' + self.cmd('network private-endpoint-connection approve --type {0} -n {1} --resource-name {2} -g {3} --description "{4}"' + .format(private_endpoint_type, private_endpoint_name, identity_hub, rg, approve_desc), + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Approved')]) + + # endpoint approve by id + self.cmd('network private-endpoint-connection approve --id {0} --description "{1}"' + .format(endpoint_id, approve_desc), + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Approved')]) + + # endpoint connection reject by name + reject_desc = 'Rejecting endpoint connection' + self.cmd('network private-endpoint-connection reject --type {0} -n {1} --resource-name {2} -g {3} --description "{4}"' + .format(private_endpoint_type, private_endpoint_name, identity_hub, rg, reject_desc), + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')]) + + # endpoint show + self.cmd('network private-endpoint-connection show --type {0} -n {1} --resource-name {2} -g {3}' + .format(private_endpoint_type, private_endpoint_name, identity_hub, rg), + checks=self.check('id', endpoint_id)) + + # endpoint delete + self.cmd('network private-endpoint-connection delete --type {0} -n {1} --resource-name {2} -g {3} -y' + .format(private_endpoint_type, private_endpoint_name, identity_hub, rg)) + def _get_eventhub_connectionstring(self, rg): ehNamespace = 'ehNamespaceiothubfortest1' eventHub = 'eventHubiothubfortest' diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/templates/identity.json b/src/azure-cli/azure/cli/command_modules/iot/tests/templates/identity.json new file mode 100644 index 00000000000..8838f613f87 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/templates/identity.json @@ -0,0 +1,65 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "type": "string" + }, + "location":{ + "type": "string" + } + }, + "resources": [ + { + "type": "Microsoft.Devices/IotHubs", + "apiVersion": "2020-03-01", + "name": "[parameters('name')]", + "location": "[parameters('location')]", + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "minTlsVersion": "1.2" + }, + "sku": { + "name": "S1", + "tier": "Standard", + "capacity": 1 + } + }, + { + "type": "Microsoft.Resources/deployments", + "apiVersion": "2018-02-01", + "name": "updateIotHubWithKeyEncryptionKey", + "dependsOn": [ + "[parameters('name')]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "0.9.0.0", + "resources": [ + { + "type": "Microsoft.Devices/IotHubs", + "apiVersion": "2020-03-01", + "name": "[parameters('name')]", + "location": "[parameters('location')]", + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "minTlsVersion": "1.2" + }, + "sku": { + "name": "S1", + "tier": "Standard", + "capacity": 1 + } + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index 99c5f72f128..6c008e549ae 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -20,6 +20,7 @@ def register_providers(): _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') + _register_one_provider('Microsoft.Devices/IotHubs', '2020-03-01', True) def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None): diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 9a652cd3db8..7aec3539fd9 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -46,7 +46,7 @@ azure-mgmt-eventhub==3.0.0 azure-mgmt-hdinsight==1.4.0 azure-mgmt-imagebuilder==0.2.1 azure-mgmt-iotcentral==3.0.0 -azure-mgmt-iothub==0.11.0 +azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==2.2.0 azure-mgmt-kusto==0.3.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index ac06d0b01f2..03d03fb7ccb 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -46,7 +46,7 @@ azure-mgmt-eventhub==3.0.0 azure-mgmt-hdinsight==1.4.0 azure-mgmt-imagebuilder==0.2.1 azure-mgmt-iotcentral==3.0.0 -azure-mgmt-iothub==0.11.0 +azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==2.2.0 azure-mgmt-kusto==0.3.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 446e98faaef..d1433c4d93d 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -45,7 +45,7 @@ azure-mgmt-eventhub==3.0.0 azure-mgmt-hdinsight==1.4.0 azure-mgmt-imagebuilder==0.2.1 azure-mgmt-iotcentral==3.0.0 -azure-mgmt-iothub==0.11.0 +azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==2.2.0 azure-mgmt-kusto==0.3.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 9c591d96885..cb2e422983b 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -88,7 +88,7 @@ 'azure-mgmt-hdinsight~=1.4.0', 'azure-mgmt-imagebuilder~=0.2.1', 'azure-mgmt-iotcentral~=3.0.0', - 'azure-mgmt-iothub~=0.11.0', + 'azure-mgmt-iothub~=0.12.0', 'azure-mgmt-iothubprovisioningservices~=0.2.0', 'azure-mgmt-keyvault~=2.2.0', 'azure-mgmt-kusto~=0.3.0',